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 Eth with Swift 6.0 (beta) for Linux (54354e) on 28 Jun 2024 10:01:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hayesgm/Eth.swift.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/hayesgm/Eth.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 54354ee fix generating address[]
Submodule path 'Tests/Solidity/lib/forge-std': checked out '978ac6fadb62f5f0b723c996f64be52eddba6801'
Submodule 'Tests/Solidity/lib/forge-std' (https://github.com/foundry-rs/forge-std) registered for path 'Tests/Solidity/lib/forge-std'
Cloning into '/host/spi-builder-workspace/Tests/Solidity/lib/forge-std'...
Cloned https://github.com/hayesgm/Eth.swift.git
Revision (git rev-parse @):
54354ee21a606533e05671dae931c046824a36b4
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/hayesgm/Eth.swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/hayesgm/Eth.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" 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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:ab27251c691c4483b16f6811e4d551420c56572b98ecfd3375d905e8cd6a5193
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/bitflying/SwiftKeccak.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/attaswift/BigInt.git
[1/4701] Fetching bigint
[754/4735] Fetching bigint, swiftkeccak
[785/6313] Fetching bigint, swiftkeccak, swift-docc-plugin
[4039/9197] Fetching bigint, swiftkeccak, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.42s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.47s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.47s)
[32/61695] Fetching swiftkeccak, swift-syntax
Fetched https://github.com/bitflying/SwiftKeccak.git from cache (4.06s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.10s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.41s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 510.0.2 (1.63s)
Computing version for https://github.com/bitflying/SwiftKeccak.git
Computed https://github.com/bitflying/SwiftKeccak.git at 0.1.2 (0.57s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.59s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.60s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 510.0.2
Creating working copy for https://github.com/bitflying/SwiftKeccak.git
Working copy of https://github.com/bitflying/SwiftKeccak.git resolved at 0.1.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/31] Write sources
[14/31] Compiling KeccakTiny keccak-tiny.c
/host/spi-builder-workspace/.build/checkouts/SwiftKeccak/Sources/Sha3Tiny/keccak-tiny.c:136:3: error: call to undeclared function 'memset_s'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  136 |   memset_s(a, 200, 0, 200);
      |   ^
/host/spi-builder-workspace/.build/checkouts/SwiftKeccak/Sources/Sha3Tiny/keccak-tiny.c:136:3: note: did you mean 'memset'?
/usr/include/string.h:61:14: note: 'memset' declared here
   61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
      |              ^
1 error generated.
[15/31] Compiling Sha3Tiny keccak-tiny.c
[15/31] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux

Build Machine: Linux 2