Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error running tests on Ubuntu #48

Closed
valeriyvan opened this issue Sep 30, 2023 · 1 comment
Closed

Compile error running tests on Ubuntu #48

valeriyvan opened this issue Sep 30, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@valeriyvan
Copy link
Owner

valeriyvan commented Sep 30, 2023

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
@valeriyvan valeriyvan added bug Something isn't working help wanted Extra attention is needed and removed hacktoberfest labels Oct 28, 2023
@valeriyvan
Copy link
Owner Author

Fixed with #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant