The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CommandRegistry, reference 0.1.2 (ee7ff1), with Swift 6.0 for Linux on 27 Nov 2024 13:36:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/g-Off/CommandRegistry.git
Reference: 0.1.2
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/g-Off/CommandRegistry
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at ee7ff13 pinning to SPM 0.3.0
Cloned https://github.com/g-Off/CommandRegistry.git
Revision (git rev-parse @):
ee7ff131c7e6c2d195954ab69c8c0feaaee988e9
SUCCESS checkout https://github.com/g-Off/CommandRegistry.git at 0.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/g-Off/CommandRegistry.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-package-manager.git
[1/142755] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (11.55s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.3.0 (2.11s)
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at 0.3.0
Building for debugging...
[0/7] Write sources
[5/7] Compiling clibc libc.c
[5/7] Write swift-version-24593BA9C3E375BF.txt
[8/9] Emitting module SPMLibc
[9/9] Compiling SPMLibc libc.swift
[11/21] Compiling POSIX realpath.swift
[12/22] Compiling POSIX rename.swift
[13/22] Compiling POSIX stat.swift
[14/22] Compiling POSIX usleep.swift
[15/22] Compiling POSIX Error.swift
[16/22] Compiling POSIX chdir.swift
[17/22] Compiling POSIX env.swift
[18/22] Compiling POSIX exit.swift
[19/22] Compiling POSIX getcwd.swift
[20/22] Compiling POSIX isatty.swift
[21/22] Emitting module POSIX
[22/22] Compiling POSIX readdir.swift
[24/58] Emitting module Basic
[25/58] Compiling Basic Await.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).dematerialize()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[26/58] Compiling Basic ByteString.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).dematerialize()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[27/58] Compiling Basic CStringArray.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).dematerialize()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[28/58] Compiling Basic CacheableSequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).dematerialize()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[29/58] Compiling Basic CollectionAlgorithms.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).dematerialize()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[30/62] Compiling Basic CollectionExtensions.swift
[31/62] Compiling Basic Condition.swift
[32/62] Compiling Basic DeltaAlgorithm.swift
[33/62] Compiling Basic DiagnosticsEngine.swift
[34/62] Compiling Basic DictionaryExtensions.swift
[35/62] Compiling Basic JSONMapper.swift
[36/62] Compiling Basic KeyedPair.swift
[37/62] Compiling Basic LazyCache.swift
[38/62] Compiling Basic Lock.swift
[39/62] Compiling Basic ObjectIdentifierProtocol.swift
[40/62] Compiling Basic TerminalController.swift
[41/62] Compiling Basic Thread.swift
[42/62] Compiling Basic Tuple.swift
[43/62] Compiling Basic misc.swift
[44/62] Compiling Basic SortedArray.swift
[45/62] Compiling Basic StringConversions.swift
[46/62] Compiling Basic SynchronizedQueue.swift
[47/62] Compiling Basic TemporaryFile.swift
[48/62] Compiling Basic OrderedDictionary.swift
[49/62] Compiling Basic OrderedSet.swift
[50/62] Compiling Basic OutputByteStream.swift
[51/62] Compiling Basic Path.swift
[52/62] Compiling Basic PathShims.swift
[53/62] Compiling Basic DictionaryLiteralExtensions.swift
[54/62] Compiling Basic EditDistance.swift
[55/62] Compiling Basic FileSystem.swift
[56/62] Compiling Basic GraphAlgorithms.swift
[57/62] Compiling Basic JSON.swift
[58/62] Compiling Basic Process.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 |         defer { free(devNull) }
292 |         // Open /dev/null as stdin.
293 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 |         let argv = CStringArray(arguments)
317 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 |         guard rv == 0 else {
[59/62] Compiling Basic ProcessSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 |         defer { free(devNull) }
292 |         // Open /dev/null as stdin.
293 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 |         let argv = CStringArray(arguments)
317 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 |         guard rv == 0 else {
[60/62] Compiling Basic RegEx.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 |         defer { free(devNull) }
292 |         // Open /dev/null as stdin.
293 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 |         let argv = CStringArray(arguments)
317 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 |         guard rv == 0 else {
[61/62] Compiling Basic Result.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 |         defer { free(devNull) }
292 |         // Open /dev/null as stdin.
293 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 |         let argv = CStringArray(arguments)
317 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 |         guard rv == 0 else {
[62/62] Compiling Basic SHA256.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:293:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
291 |         defer { free(devNull) }
292 |         // Open /dev/null as stdin.
293 |         posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
    |                                                           |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                                           |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
294 |
295 |         var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Process.swift:318:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
316 |         let argv = CStringArray(arguments)
317 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
318 |         let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
    |                                                      |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
    |                                                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
319 |
320 |         guard rv == 0 else {
BUILD FAILURE 6.0 linux