Build Information
Failed to build swift-test-codecov, reference main (401f6b
), with Swift 6.1 for Wasm on 28 May 2025 12:16:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattpolzin/swift-test-codecov.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/mattpolzin/swift-test-codecov
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 401f6bb Merge pull request #22 from nickpdemarco/npd/bump-argument-parser
Cloned https://github.com/mattpolzin/swift-test-codecov.git
Revision (git rev-parse @):
401f6bb153dea22a22ae1bdd38afe6b361ef606f
SUCCESS checkout https://github.com/mattpolzin/swift-test-codecov.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mattpolzin/swift-test-codecov.git
https://github.com/mattpolzin/swift-test-codecov.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "texttable",
"requirement" : {
"branch" : [
"swift-5"
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattpolzin/TextTable.git"
},
{
"identity" : "regex",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "2.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sharplet/Regex.git"
}
],
"manifest_display_name" : "swift-test-codecov",
"name" : "swift-test-codecov",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swift-test-codecov",
"targets" : [
"swift-test-codecov"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftTestCodecovLib",
"targets" : [
"SwiftTestCodecovLib"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_test_codecovTests",
"module_type" : "SwiftTarget",
"name" : "swift-test-codecovTests",
"path" : "Tests/swift-test-codecovTests",
"sources" : [
"PlaceholderTests2.swift"
],
"target_dependencies" : [
"swift-test-codecov"
],
"type" : "test"
},
{
"c99name" : "swift_test_codecov",
"module_type" : "SwiftTarget",
"name" : "swift-test-codecov",
"path" : "Sources/swift-test-codecov",
"product_dependencies" : [
"ArgumentParser",
"TextTable"
],
"product_memberships" : [
"swift-test-codecov"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftTestCodecovLib"
],
"type" : "executable"
},
{
"c99name" : "SwiftTestCodecovLibTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTestCodecovLibTests",
"path" : "Tests/SwiftTestCodecovLibTests",
"product_dependencies" : [
"Regex"
],
"sources" : [
"AggregateTests.swift"
],
"target_dependencies" : [
"SwiftTestCodecovLib"
],
"type" : "test"
},
{
"c99name" : "SwiftTestCodecovLib",
"module_type" : "SwiftTarget",
"name" : "SwiftTestCodecovLib",
"path" : "Sources/SwiftTestCodecovLib",
"product_dependencies" : [
"Regex"
],
"product_memberships" : [
"swift-test-codecov",
"SwiftTestCodecovLib"
],
"sources" : [
"Aggregate.swift",
"CodeCov.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/mattpolzin/TextTable.git
[1/189] Fetching texttable
Fetched https://github.com/mattpolzin/TextTable.git from cache (0.26s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-argument-parser
[1/1254] Fetching regex
[917/16605] Fetching regex, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.82s)
Fetched https://github.com/sharplet/Regex.git from cache (2.82s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (4.95s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.53s)
Creating working copy for https://github.com/mattpolzin/TextTable.git
Working copy of https://github.com/mattpolzin/TextTable.git resolved at swift-5 (5366206)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/37] Emitting module ArgumentParserToolInfo
[10/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/38] Wrapping AST for ArgumentParserToolInfo for debugging
[13/76] Emitting module ArgumentParser
[14/81] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 | var value: T? {
12 | get {
13 | return Thread.current.threadDictionary[key] as? T
| `- error: cannot find 'Thread' in scope
14 | }
15 | set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 | }
15 | set {
16 | Thread.current.threadDictionary[key] = newValue
| `- error: cannot find 'Thread' in scope
17 | }
18 | }
[15/81] Emitting module Regex
[16/81] Compiling Regex String+ReplaceMatching.swift
[17/81] Compiling Regex Regex.swift
[18/81] Compiling Regex MatchResult.swift
[19/81] Compiling Regex Foundation+Ranges.swift
[20/81] Compiling Regex Options.swift
[21/81] Compiling ArgumentParser ArgumentVisibility.swift
[22/81] Compiling ArgumentParser CompletionKind.swift
[23/81] Compiling ArgumentParser Errors.swift
[24/81] Compiling ArgumentParser Flag.swift
[25/81] Emitting module TextTable
[26/82] Compiling ArgumentParser NameSpecification.swift
[27/82] Compiling ArgumentParser Option.swift
[28/82] Compiling TextTable SimpleFormat.swift
[29/82] Compiling TextTable RstFormat.swift
[30/82] Compiling TextTable String+Util.swift
[31/82] Compiling ArgumentParser OptionGroup.swift
[32/82] Compiling ArgumentParser AsyncParsableCommand.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write swift-version-24593BA9C3E375BF.txt
[3/31] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 | var value: T? {
12 | get {
13 | return Thread.current.threadDictionary[key] as? T
| `- error: cannot find 'Thread' in scope
14 | }
15 | set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 | }
15 | set {
16 | Thread.current.threadDictionary[key] = newValue
| `- error: cannot find 'Thread' in scope
17 | }
18 | }
[4/31] Compiling Regex MatchResult.swift
[5/31] Compiling Regex String+ReplaceMatching.swift
[6/31] Emitting module Regex
[7/31] Compiling Regex Options.swift
[8/31] Compiling Regex Foundation+Ranges.swift
[9/31] Compiling Regex Regex.swift
[10/31] Compiling TextTable SimpleFormat.swift
[11/32] Compiling TextTable String+Util.swift
[12/32] Compiling TextTable RstFormat.swift
[13/32] Emitting module ArgumentParserToolInfo
[14/32] Compiling ArgumentParserToolInfo ToolInfo.swift
BUILD FAILURE 6.1 wasm