Build Information
Failed to build swift-create-xcframework, reference main (88472e
), with Swift 6.0 for Linux on 2 Nov 2024 15:11:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/unsignedapps/swift-create-xcframework.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/unsignedapps/swift-create-xcframework
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 88472e8 Update README.md
Cloned https://github.com/unsignedapps/swift-create-xcframework.git
Revision (git rev-parse @):
88472e8e4f0227a47ca461fccd38c6d080ad92f2
SUCCESS checkout https://github.com/unsignedapps/swift-create-xcframework.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/unsignedapps/swift-create-xcframework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 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/141934] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (11.56s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6522] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.71s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28305] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (4.76s)
Fetching https://github.com/apple/swift-driver.git
[1/31947] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (2.03s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
[1/3901] Fetching swift-system
[3902/13803] Fetching swift-system, yams
[4200/24219] Fetching swift-system, yams, swift-crypto
[4914/36572] Fetching swift-system, yams, swift-crypto, swift-argument-parser
[4915/52047] Fetching swift-system, yams, swift-crypto, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.45s)
[2825/48146] Fetching yams, swift-crypto, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.09s)
[18389/35793] Fetching yams, swift-crypto, swift-collections
Fetched https://github.com/jpsim/Yams.git from cache (1.82s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.05s)
Fetched https://github.com/apple/swift-collections.git from cache (2.06s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (0.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.50s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.53s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.50s)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.7 (564424d)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.7 (82b274a)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/5.7 (286b48b)
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 release/5.7 (c6e40ad)
Building for debugging...
[0/571] Write sources
[9/571] Compiling llvmSupport Valgrind.cpp
[10/571] Compiling llvmSupport UnicodeCaseFold.cpp
[11/571] Compiling llvmSupport SmallVector.cpp
[12/571] Compiling llvmSupport circular_raw_ostream.cpp
[13/571] Compiling llvmSupport Unicode.cpp
[14/571] Compiling llbuildBuildSystem BuildKey.cpp
[15/571] Compiling llvmSupport raw_ostream.cpp
[16/571] Compiling llvmSupport Twine.cpp
[17/571] Compiling llvmSupport Threading.cpp
[18/571] Compiling llvmSupport Triple.cpp
[19/571] Compiling llvmSupport YAMLParser.cpp
[20/571] Compiling llvmSupport StringSaver.cpp
[21/571] Compiling llvmSupport TargetParser.cpp
[22/571] Compiling llvmSupport StringMap.cpp
[23/571] Compiling llvmSupport StringRef.cpp
[24/571] Write swift-version-24593BA9C3E375BF.txt
[25/571] Compiling llbuildBuildSystem BuildFile.cpp
[26/571] Compiling llvmSupport StringExtras.cpp
[27/571] Compiling llvmSupport SmallPtrSet.cpp
[28/571] Compiling llvmSupport NativeFormatting.cpp
[29/571] Compiling llvmSupport Options.cpp
[30/571] Compiling llvmSupport Mutex.cpp
[31/571] Compiling llvmSupport Process.cpp
[32/571] Compiling llvmSupport SourceMgr.cpp
[33/571] Compiling llvmSupport MathExtras.cpp
[34/571] Compiling llvmSupport Program.cpp
[35/571] Compiling llvmSupport Signals.cpp
[36/571] Compiling llvmSupport Memory.cpp
[37/571] Compiling llvmSupport Path.cpp
[38/571] Compiling llvmSupport ManagedStatic.cpp
[39/571] Compiling llvmSupport Locale.cpp
[40/571] Compiling llvmSupport MD5.cpp
[41/571] Compiling llvmSupport Hashing.cpp
[42/571] Compiling llvmSupport MemoryBuffer.cpp
[43/571] Compiling llvmSupport FoldingSet.cpp
[44/571] Compiling llvmSupport FormatVariadic.cpp
[45/571] Compiling llvmSupport Host.cpp
[46/571] Compiling llvmSupport Errno.cpp
[47/571] Compiling llvmSupport FileUtilities.cpp
[48/571] Compiling llvmSupport ErrorHandling.cpp
[49/571] Compiling llvmSupport Debug.cpp
[50/571] Compiling llvmSupport Error.cpp
[51/571] Compiling llvmSupport Atomic.cpp
[52/571] Compiling llvmSupport ConvertUTF.cpp
[53/571] Compiling llvmSupport ConvertUTFWrapper.cpp
[54/571] Compiling llvmSupport DJB.cpp
[55/571] Compiling llvmDemangle MicrosoftDemangle.cpp
[56/571] Write sources
[57/571] Compiling llvmSupport APSInt.cpp
[58/571] Compiling llvmSupport Allocator.cpp
[59/571] Compiling llvmSupport Chrono.cpp
[60/571] Compiling llvmDemangle ItaniumDemangle.cpp
[61/571] Compiling llvmSupport APInt.cpp
[62/571] Compiling llvmSupport APFloat.cpp
[63/571] Compiling llbuildNinja Parser.cpp
[64/571] Compiling llbuildCore MakefileDepsParser.cpp
[65/571] Compiling llbuildNinja Lexer.cpp
[66/571] Compiling llbuildNinja Manifest.cpp
[67/571] Compiling llbuildCore DependencyInfoParser.cpp
[68/571] Compiling llvmSupport CommandLine.cpp
[69/571] Compiling llbuildNinja ManifestLoader.cpp
[70/571] Compiling llbuildCore SQLiteBuildDB.cpp
[71/571] Compiling llbuildCore BuildEngineTrace.cpp
[72/571] Compiling llbuildCore BuildDB.cpp
[73/571] Compiling llbuildBuildSystem BuildValue.cpp
[74/571] Compiling llbuildBuildSystem ShellCommand.cpp
[75/571] Compiling llbuildBuildSystem ExternalCommand.cpp
[76/571] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[77/571] Compiling llbuildBasic Version.cpp
[78/571] Compiling llbuildBuildSystem BuildNode.cpp
[79/571] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[80/571] Compiling llbuildCore BuildEngine.cpp
[81/571] Compiling llbuildBuildSystem BuildDescription.cpp
[82/571] Compiling llbuildBasic ShellUtility.cpp
[83/571] Compiling llbuildBasic Tracing.cpp
[84/571] Compiling llbuildBasic PlatformUtility.cpp
[85/571] Compiling llbuildBasic Subprocess.cpp
[86/571] Compiling llbuildBasic Hashing.cpp
[87/571] Compiling llbuildBasic FileInfo.cpp
[88/571] Compiling llbuildBasic FileSystem.cpp
[89/571] Compiling llbuildBasic SerialQueue.cpp
[90/571] Compiling libllbuild C-API.cpp
[91/571] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[92/571] Compiling llbuildBasic ExecutionQueue.cpp
[93/571] Write sources
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:10:12: error: call to undeclared function 'posix_spawn_file_actions_addchdir_np'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
10 | return posix_spawn_file_actions_addchdir_np(file_actions, path);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:10:12: note: did you mean 'SPM_posix_spawn_file_actions_addchdir_np'?
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:7:5: note: 'SPM_posix_spawn_file_actions_addchdir_np' declared here
7 | int SPM_posix_spawn_file_actions_addchdir_np(posix_spawn_file_actions_t *restrict file_actions, const char *restrict path) {
| ^
8 | #if defined(__GLIBC__)
9 | # if __GLIBC_PREREQ(2, 29)
10 | return posix_spawn_file_actions_addchdir_np(file_actions, path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| SPM_posix_spawn_file_actions_addchdir_np
1 error generated.
[94/571] Compiling TSCclibc process.c
[94/571] Compiling libllbuild BuildKey-C-API.cpp
[94/571] Compiling libllbuild BuildSystem-C-API.cpp
[94/571] Compiling libllbuild Core-C-API.cpp
[94/571] Compiling libllbuild BuildDB-C-API.cpp
[94/571] Compiling libllbuild BuildValue-C-API.cpp
[94/571] Compiling libllbuild Ninja-C-API.cpp
[94/571] Compiling llbuildBuildSystem BuildSystem.cpp
BUILD FAILURE 6.0 linux