valeriyvan/swift-geometrize

Compile error running tests on Ubuntu

valeriyvan opened this issue · 1 comments

swift test
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
/******/Tests/geometrizeTests/BitmapDiffing.swift:7:17: error: initializers in structs are not marked with 'convenience'
    convenience init(bitmap: Bitmap) {
    ~~~~~~~~~~~~^
    
/******/Tests/geometrizeTests/BitmapDiffing.swift:7:17: error: initializers in structs are not marked with 'convenience'
    convenience init(bitmap: Bitmap) {
    ~~~~~~~~~~~~^
    
/******/Tests/geometrizeTests/BitmapDiffing.swift:32:27: error: value of type 'XCTAttachment' has no member 'name'
            oldAttachment.name = "reference"
            ~~~~~~~~~~~~~ ^~~~
/******/Tests/geometrizeTests/BitmapDiffing.swift:7:17: error: initializers in structs are not marked with 'convenience'
    convenience init(bitmap: Bitmap) {
    ~~~~~~~~~~~~^
    
/******/Tests/geometrizeTests/BitmapDiffing.swift:32:27: error: value of type 'XCTAttachment' has no member 'name'
            oldAttachment.name = "reference"
            ~~~~~~~~~~~~~ ^~~~
/******/Tests/geometrizeTests/ImageRunnerTests.swift:12:9: warning: code after 'throw' will never be executed
        let url = Bundle.module.url(forResource: "kris", withExtension: "png")!
        ^
/******/Tests/geometrizeTests/ImageRunnerTests.swift:12:9: warning: code after 'throw' will never be executed
        let url = Bundle.module.url(forResource: "kris", withExtension: "png")!
        ^
error: fatalError

error: fatalError

Fixed with #126