Build Information
Failed to build Eth with Swift 5.10 for Linux (54354e) on 28 Jun 2024 10:00:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 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: 5.10
Building package at path: $workDir
https://github.com/hayesgm/Eth.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:25efef401ffd78342b231554234a436b1eb31bdd29046c1104fb984cc1b7d308
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/bitflying/SwiftKeccak.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/4701] Fetching bigint
[143/4735] Fetching bigint, swiftkeccak
[1005/7619] Fetching bigint, swiftkeccak, swift-docc-symbolkit
[4708/9197] Fetching bigint, swiftkeccak, swift-docc-symbolkit, swift-docc-plugin
Fetched https://github.com/bitflying/SwiftKeccak.git from cache (0.41s)
[9164/70824] Fetching bigint, swift-docc-symbolkit, swift-docc-plugin, swift-syntax
Fetched https://github.com/apple/swift-docc-symbolkit from cache (4.35s)
Fetched https://github.com/attaswift/BigInt.git from cache (4.35s)
Fetched https://github.com/apple/swift-docc-plugin from cache (4.35s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.90s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 510.0.2 (0.50s)
Computing version for https://github.com/bitflying/SwiftKeccak.git
Computed https://github.com/bitflying/SwiftKeccak.git at 0.1.2 (0.36s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.35s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.42s)
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
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
/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
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[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
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/31] Write sources
/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]
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
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^
1 error generated.
[14/31] Compiling Sha3Tiny keccak-tiny.c
[14/31] Compiling KeccakTiny keccak-tiny.c
[14/31] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux
Build Machine: Linux 1