The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-extras with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stansmida/swift-extras.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/stansmida/swift-extras
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at beced21 Conform `SourceProvenance` to `Hashable`.
Cloned https://github.com/stansmida/swift-extras.git
Revision (git rev-parse @):
beced210c6290dcff1c0aefbce2ea572c4691e13
SUCCESS checkout https://github.com/stansmida/swift-extras.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/stansmida/swift-extras.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Compiling SwiftExtras Codable+Extras.swift
[2/6] Emitting module SwiftExtras
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:6:18: warning: result of operator '==' is unused
            self == rhs
            ~~~~ ^  ~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:8:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:15:13: warning: result of call to 'isEqual(to:)' is unused
            isEqual(to: rhs)
            ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:17:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:27:17: warning: result of call to 'isEqual(to:)' is unused
            lhs.isEqual(to: rhs)
                ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:29:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:36:17: warning: result of call to 'isEqual(to:)' is unused
            lhs.isEqual(to: rhs)
                ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:38:25: warning: result of operator '&&' is unused
            self == nil && rhs == nil
            ~~~~~~~~~~~ ^  ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:10:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:19:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:31:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:40:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
[3/6] Compiling SwiftExtras String+Extras.swift
[4/6] Compiling SwiftExtras SourceProvenance.swift
/host/spi-builder-workspace/Sources/SwiftExtras/SourceProvenance.swift:25:13: warning: string literal is unused
            "\(fileID):\(line):\(column)"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/SourceProvenance.swift:27:13: warning: string literal is unused
            "\(fileID):\(line)"
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/SourceProvenance.swift:29:5: error: missing return in getter expected to return 'String'
    }
    ^
[5/6] Compiling SwiftExtras Identifiable+Extras.swift
[6/6] Compiling SwiftExtras Equatable+Extras.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:6:18: warning: result of operator '==' is unused
            self == rhs
            ~~~~ ^  ~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:8:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:15:13: warning: result of call to 'isEqual(to:)' is unused
            isEqual(to: rhs)
            ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:17:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:27:17: warning: result of call to 'isEqual(to:)' is unused
            lhs.isEqual(to: rhs)
                ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:29:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:36:17: warning: result of call to 'isEqual(to:)' is unused
            lhs.isEqual(to: rhs)
                ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:38:25: warning: result of operator '&&' is unused
            self == nil && rhs == nil
            ~~~~~~~~~~~ ^  ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:10:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:19:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:31:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:40:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
[0/1] Planning build
Building for debugging...
[1/3] Compiling SwiftExtras SourceProvenance.swift
/host/spi-builder-workspace/Sources/SwiftExtras/SourceProvenance.swift:25:13: warning: string literal is unused
            "\(fileID):\(line):\(column)"
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/SourceProvenance.swift:27:13: warning: string literal is unused
            "\(fileID):\(line)"
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/SourceProvenance.swift:29:5: error: missing return in getter expected to return 'String'
    }
    ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Compiling SwiftExtras Equatable+Extras.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:6:18: warning: result of operator '==' is unused
            self == rhs
            ~~~~ ^  ~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:8:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:15:13: warning: result of call to 'isEqual(to:)' is unused
            isEqual(to: rhs)
            ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:17:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:27:17: warning: result of call to 'isEqual(to:)' is unused
            lhs.isEqual(to: rhs)
                ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:29:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:36:17: warning: result of call to 'isEqual(to:)' is unused
            lhs.isEqual(to: rhs)
                ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:38:25: warning: result of operator '&&' is unused
            self == nil && rhs == nil
            ~~~~~~~~~~~ ^  ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:10:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:19:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:31:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:40:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
[3/3] Emitting module SwiftExtras
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:6:18: warning: result of operator '==' is unused
            self == rhs
            ~~~~ ^  ~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:8:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:15:13: warning: result of call to 'isEqual(to:)' is unused
            isEqual(to: rhs)
            ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:17:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:27:17: warning: result of call to 'isEqual(to:)' is unused
            lhs.isEqual(to: rhs)
                ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:29:13: warning: boolean literal is unused
            false
            ^~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:36:17: warning: result of call to 'isEqual(to:)' is unused
            lhs.isEqual(to: rhs)
                ^      ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:38:25: warning: result of operator '&&' is unused
            self == nil && rhs == nil
            ~~~~~~~~~~~ ^  ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:10:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:19:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:31:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
/host/spi-builder-workspace/Sources/SwiftExtras/Equatable+Extras.swift:40:5: error: missing return in instance method expected to return 'Bool'
    }
    ^
BUILD FAILURE 5.8 linux