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-hash, reference 0.6.3 (4d70a9), with Swift 5.8 for Linux on 2 Sep 2024 08:24:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-hash.git
Reference: 0.6.3
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/tayloraswift/swift-hash
 * tag               0.6.3      -> FETCH_HEAD
HEAD is now at 4d70a94 Merge pull request #18 from stackotter/master
Cloned https://github.com/tayloraswift/swift-hash.git
Revision (git rev-parse @):
4d70a941b7039358f2ec8565f6c3b53c05f6c6ef
SUCCESS checkout https://github.com/tayloraswift/swift-hash.git at 0.6.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD
https://github.com/tayloraswift/swift-hash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:c076d3ae857ca95da27bda0293ef81759bb7add70e4768513ac0cd43f6640c27
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/tayloraswift/swift-grammar
[1/669] Fetching swift-grammar
[670/2238] Fetching swift-grammar, swift-atomics
Fetched https://github.com/tayloraswift/swift-grammar (0.29s)
Computing version for https://github.com/tayloraswift/swift-grammar
Fetched https://github.com/apple/swift-atomics.git (0.29s)
Computed https://github.com/tayloraswift/swift-grammar at 0.4.0 (0.23s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.84s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/tayloraswift/swift-grammar
Working copy of https://github.com/tayloraswift/swift-grammar resolved at 0.4.0
Building for debugging...
[0/19] Compiling _AtomicsShims.c
[2/45] Emitting module MessageAuthentication
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/45] Emitting module InlineBuffer
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:103:63: warning: unrecognized platform name 'visionOS'
@available(macOS 13.3, iOS 16.4, macCatalyst 16.4, tvOS 16.4, visionOS 1, watchOS 9.4, *)
                                                              ^
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:161:66: warning: unrecognized platform name 'visionOS'
        if #available(macOS 11, iOS 14, macCatalyst 14, tvOS 14, visionOS 1, watchOS 7, *)
                                                                 ^
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:202:46: warning: result of operator '-' is unused
                case 0x30 ... 0x39: hex      - 0x30
                                    ~~~      ^ ~~~~
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:203:46: warning: result of operator '-' is unused
                case 0x61 ... 0x66: hex + 10 - 0x61
                                    ~~~~~~~~ ^ ~~~~
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:204:46: warning: result of operator '-' is unused
                case 0x41 ... 0x46: hex + 10 - 0x41
                                    ~~~~~~~~ ^ ~~~~
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:205:37: error: 'nil' requires a contextual type
                default:            nil
                                    ^
[4/45] Emitting module Atomics
[5/47] Emitting module BaseDigits
[6/47] Compiling BaseDigits BaseDigits.swift
[9/49] Compiling Atomics OptionalRawRepresentable.swift
[10/49] Compiling Atomics RawRepresentable.swift
[11/49] Compiling Atomics AtomicBool.swift
[12/49] Compiling Atomics AtomicReference.swift
[13/49] Compiling Atomics AtomicStorage.swift
[14/49] Compiling Atomics AtomicValue.swift
[15/49] Compiling Atomics UnsafeAtomic.swift
[16/49] Compiling Atomics UnsafeAtomicLazyReference.swift
[17/49] Compiling MessageAuthentication MessageAuthenticationHash.swift
[18/49] Compiling MessageAuthentication MessageAuthenticationKey.swift
[20/51] Wrapping AST for BaseDigits for debugging
[22/51] Compiling Atomics ManagedAtomic.swift
[23/51] Compiling Atomics ManagedAtomicLazyReference.swift
[24/51] Compiling Atomics Primitives.shims.swift
[25/51] Compiling Atomics AtomicInteger.swift
[26/51] Compiling Atomics AtomicOptionalWrappable.swift
[27/51] Compiling Atomics IntegerOperations.swift
[28/51] Compiling Atomics Unmanaged extensions.swift
[28/51] Wrapping AST for MessageAuthentication for debugging
[30/51] Compiling InlineBuffer InlineBuffer.swift
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:103:63: warning: unrecognized platform name 'visionOS'
@available(macOS 13.3, iOS 16.4, macCatalyst 16.4, tvOS 16.4, visionOS 1, watchOS 9.4, *)
                                                              ^
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:161:66: warning: unrecognized platform name 'visionOS'
        if #available(macOS 11, iOS 14, macCatalyst 14, tvOS 14, visionOS 1, watchOS 7, *)
                                                                 ^
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:202:46: warning: result of operator '-' is unused
                case 0x30 ... 0x39: hex      - 0x30
                                    ~~~      ^ ~~~~
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:203:46: warning: result of operator '-' is unused
                case 0x61 ... 0x66: hex + 10 - 0x61
                                    ~~~~~~~~ ^ ~~~~
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:204:46: warning: result of operator '-' is unused
                case 0x41 ... 0x46: hex + 10 - 0x41
                                    ~~~~~~~~ ^ ~~~~
/host/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:205:37: error: 'nil' requires a contextual type
                default:            nil
                                    ^
BUILD FAILURE 5.8 linux