Build Information
Failed to build ProgressManager, reference main (f493a1
), with Swift 6.1 for Wasm on 29 May 2025 18:42:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi --target ProgressManager 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/ProgressManager.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/edonv/ProgressManager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f493a1b Update ProgressManager.swift
Cloned https://github.com/edonv/ProgressManager.git
Revision (git rev-parse @):
f493a1b317eb8f4923cbd93b41cdc1110d157030
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/ProgressManager.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/edonv/ProgressManager.git
https://github.com/edonv/ProgressManager.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "ProgressManager",
"name" : "ProgressManager",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ProgressManager",
"targets" : [
"ProgressManager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProgressManagerTests",
"module_type" : "SwiftTarget",
"name" : "ProgressManagerTests",
"path" : "Tests/ProgressManagerTests",
"sources" : [
"ProgressManagerTests.swift"
],
"target_dependencies" : [
"ProgressManager"
],
"type" : "test"
},
{
"c99name" : "ProgressManager",
"module_type" : "SwiftTarget",
"name" : "ProgressManager",
"path" : "Sources/ProgressManager",
"product_memberships" : [
"ProgressManager"
],
"sources" : [
"ChildProgressTask.swift",
"Extensions/ProgressManagerCompatible.swift",
"Extensions/ProgressView+Extensions.swift",
"ProgressManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi --target ProgressManager -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling ProgressManager ProgressView+Extensions.swift
[4/7] Compiling ProgressManager ProgressManager.swift
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:13:24: error: cannot find type 'Progress' in scope
11 | public final class ProgressManager<ChildTask: ChildProgressTask>: Sendable {
12 | /// The primary [`Progress`](https://developer.apple.com/documentation/foundation/progress) object.
13 | public let parent: Progress
| `- error: cannot find type 'Progress' in scope
14 |
15 | /// A `Dictionary` used to store child `Progress` objects.
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:16:40: error: cannot find type 'Progress' in scope
14 |
15 | /// A `Dictionary` used to store child `Progress` objects.
16 | public let childTasks: [ChildTask: Progress]
| `- error: cannot find type 'Progress' in scope
17 |
18 | private let childTasksInfo: Set<ChildTask>
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:47:45: error: cannot find type 'Progress' in scope
45 | /// - Parameter child: The key associated with the child `Progress` object to return.
46 | /// - Returns: The child `Progress` object associated with the provided key, if there is one. Otherwise, `nil`.
47 | public subscript(_ child: ChildTask) -> Progress? {
| `- error: cannot find type 'Progress' in scope
48 | childTasks[child]
49 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:119:46: error: cannot find type 'Progress' in scope
117 | ///
118 | /// Passing `nil` tells the underlying `Progress` that its related operation is not related to files processing.
119 | public func setFileOperationKind(_ kind: Progress.FileOperationKind?) {
| `- error: cannot find type 'Progress' in scope
120 | if let kind {
121 | self.parent.kind = .file
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:33:23: error: cannot find 'Progress' in scope
31 | .reduce(into: 0) { $0 += $1.parentUnits }
32 |
33 | self.parent = Progress(totalUnitCount: totalParentUnitCount)
| `- error: cannot find 'Progress' in scope
34 |
35 | self.childTasks = childTasks.reduce(into: [:]) { [parent] dict, task in
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:36:26: error: cannot find 'Progress' in scope
34 |
35 | self.childTasks = childTasks.reduce(into: [:]) { [parent] dict, task in
36 | dict[task] = Progress(
| `- error: cannot find 'Progress' in scope
37 | totalUnitCount: task.childUnits,
38 | parent: parent,
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:108:35: error: cannot infer contextual base in reference to member 'estimatedTimeRemainingKey'
106 | public var estimatedTimeRemaining: Double? {
107 | get {
108 | self.parent.userInfo[.estimatedTimeRemainingKey] as? Double
| `- error: cannot infer contextual base in reference to member 'estimatedTimeRemainingKey'
109 | } set {
110 | self.parent.setUserInfoObject(newValue, forKey: .estimatedTimeRemainingKey)
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:110:62: error: cannot infer contextual base in reference to member 'estimatedTimeRemainingKey'
108 | self.parent.userInfo[.estimatedTimeRemainingKey] as? Double
109 | } set {
110 | self.parent.setUserInfoObject(newValue, forKey: .estimatedTimeRemainingKey)
| `- error: cannot infer contextual base in reference to member 'estimatedTimeRemainingKey'
111 | }
112 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:121:33: error: cannot infer contextual base in reference to member 'file'
119 | public func setFileOperationKind(_ kind: Progress.FileOperationKind?) {
120 | if let kind {
121 | self.parent.kind = .file
| `- error: cannot infer contextual base in reference to member 'file'
122 | self.parent.setUserInfoObject(kind, forKey: .fileOperationKindKey)
123 | } else {
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:122:58: error: cannot infer contextual base in reference to member 'fileOperationKindKey'
120 | if let kind {
121 | self.parent.kind = .file
122 | self.parent.setUserInfoObject(kind, forKey: .fileOperationKindKey)
| `- error: cannot infer contextual base in reference to member 'fileOperationKindKey'
123 | } else {
124 | self.parent.kind = nil
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:125:43: error: 'nil' requires a contextual type
123 | } else {
124 | self.parent.kind = nil
125 | self.parent.setUserInfoObject(nil, forKey: .fileOperationKindKey)
| `- error: 'nil' requires a contextual type
126 | }
127 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:125:57: error: cannot infer contextual base in reference to member 'fileOperationKindKey'
123 | } else {
124 | self.parent.kind = nil
125 | self.parent.setUserInfoObject(nil, forKey: .fileOperationKindKey)
| `- error: cannot infer contextual base in reference to member 'fileOperationKindKey'
126 | }
127 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:133:29: error: cannot infer contextual base in reference to member 'file'
131 | /// When this is used with a non-`nil` value and the `ProgressManager` is used in a `ProgressView`, the label will be automatically updated with relevant information.
132 | public func setFileOperationKind() {
133 | self.parent.kind = .file
| `- error: cannot infer contextual base in reference to member 'file'
134 | }
135 |
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:155:60: error: cannot infer contextual base in reference to member 'throughputKey'
153 | /// Passing `nil` tells the underlying `Progress` that its related operation is not related to files processing.
154 | public func setFileOperationThroughput(_ throughput: Int?) {
155 | self.parent.setUserInfoObject(throughput, forKey: .throughputKey)
| `- error: cannot infer contextual base in reference to member 'throughputKey'
156 | }
157 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Compiling ProgressManager ChildProgressTask.swift
[6/7] Compiling ProgressManager ProgressManagerCompatible.swift
[7/7] Emitting module ProgressManager
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:13:24: error: cannot find type 'Progress' in scope
11 | public final class ProgressManager<ChildTask: ChildProgressTask>: Sendable {
12 | /// The primary [`Progress`](https://developer.apple.com/documentation/foundation/progress) object.
13 | public let parent: Progress
| `- error: cannot find type 'Progress' in scope
14 |
15 | /// A `Dictionary` used to store child `Progress` objects.
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:16:40: error: cannot find type 'Progress' in scope
14 |
15 | /// A `Dictionary` used to store child `Progress` objects.
16 | public let childTasks: [ChildTask: Progress]
| `- error: cannot find type 'Progress' in scope
17 |
18 | private let childTasksInfo: Set<ChildTask>
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:47:45: error: cannot find type 'Progress' in scope
45 | /// - Parameter child: The key associated with the child `Progress` object to return.
46 | /// - Returns: The child `Progress` object associated with the provided key, if there is one. Otherwise, `nil`.
47 | public subscript(_ child: ChildTask) -> Progress? {
| `- error: cannot find type 'Progress' in scope
48 | childTasks[child]
49 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:119:46: error: cannot find type 'Progress' in scope
117 | ///
118 | /// Passing `nil` tells the underlying `Progress` that its related operation is not related to files processing.
119 | public func setFileOperationKind(_ kind: Progress.FileOperationKind?) {
| `- error: cannot find type 'Progress' in scope
120 | if let kind {
121 | self.parent.kind = .file
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi --target ProgressManager 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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling ProgressManager ChildProgressTask.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module ProgressManager
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:13:24: error: cannot find type 'Progress' in scope
11 | public final class ProgressManager<ChildTask: ChildProgressTask>: Sendable {
12 | /// The primary [`Progress`](https://developer.apple.com/documentation/foundation/progress) object.
13 | public let parent: Progress
| `- error: cannot find type 'Progress' in scope
14 |
15 | /// A `Dictionary` used to store child `Progress` objects.
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:16:40: error: cannot find type 'Progress' in scope
14 |
15 | /// A `Dictionary` used to store child `Progress` objects.
16 | public let childTasks: [ChildTask: Progress]
| `- error: cannot find type 'Progress' in scope
17 |
18 | private let childTasksInfo: Set<ChildTask>
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:47:45: error: cannot find type 'Progress' in scope
45 | /// - Parameter child: The key associated with the child `Progress` object to return.
46 | /// - Returns: The child `Progress` object associated with the provided key, if there is one. Otherwise, `nil`.
47 | public subscript(_ child: ChildTask) -> Progress? {
| `- error: cannot find type 'Progress' in scope
48 | childTasks[child]
49 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:119:46: error: cannot find type 'Progress' in scope
117 | ///
118 | /// Passing `nil` tells the underlying `Progress` that its related operation is not related to files processing.
119 | public func setFileOperationKind(_ kind: Progress.FileOperationKind?) {
| `- error: cannot find type 'Progress' in scope
120 | if let kind {
121 | self.parent.kind = .file
[4/6] Compiling ProgressManager ProgressManagerCompatible.swift
[5/6] Compiling ProgressManager ProgressView+Extensions.swift
[6/6] Compiling ProgressManager ProgressManager.swift
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:13:24: error: cannot find type 'Progress' in scope
11 | public final class ProgressManager<ChildTask: ChildProgressTask>: Sendable {
12 | /// The primary [`Progress`](https://developer.apple.com/documentation/foundation/progress) object.
13 | public let parent: Progress
| `- error: cannot find type 'Progress' in scope
14 |
15 | /// A `Dictionary` used to store child `Progress` objects.
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:16:40: error: cannot find type 'Progress' in scope
14 |
15 | /// A `Dictionary` used to store child `Progress` objects.
16 | public let childTasks: [ChildTask: Progress]
| `- error: cannot find type 'Progress' in scope
17 |
18 | private let childTasksInfo: Set<ChildTask>
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:47:45: error: cannot find type 'Progress' in scope
45 | /// - Parameter child: The key associated with the child `Progress` object to return.
46 | /// - Returns: The child `Progress` object associated with the provided key, if there is one. Otherwise, `nil`.
47 | public subscript(_ child: ChildTask) -> Progress? {
| `- error: cannot find type 'Progress' in scope
48 | childTasks[child]
49 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:119:46: error: cannot find type 'Progress' in scope
117 | ///
118 | /// Passing `nil` tells the underlying `Progress` that its related operation is not related to files processing.
119 | public func setFileOperationKind(_ kind: Progress.FileOperationKind?) {
| `- error: cannot find type 'Progress' in scope
120 | if let kind {
121 | self.parent.kind = .file
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:33:23: error: cannot find 'Progress' in scope
31 | .reduce(into: 0) { $0 += $1.parentUnits }
32 |
33 | self.parent = Progress(totalUnitCount: totalParentUnitCount)
| `- error: cannot find 'Progress' in scope
34 |
35 | self.childTasks = childTasks.reduce(into: [:]) { [parent] dict, task in
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:36:26: error: cannot find 'Progress' in scope
34 |
35 | self.childTasks = childTasks.reduce(into: [:]) { [parent] dict, task in
36 | dict[task] = Progress(
| `- error: cannot find 'Progress' in scope
37 | totalUnitCount: task.childUnits,
38 | parent: parent,
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:108:35: error: cannot infer contextual base in reference to member 'estimatedTimeRemainingKey'
106 | public var estimatedTimeRemaining: Double? {
107 | get {
108 | self.parent.userInfo[.estimatedTimeRemainingKey] as? Double
| `- error: cannot infer contextual base in reference to member 'estimatedTimeRemainingKey'
109 | } set {
110 | self.parent.setUserInfoObject(newValue, forKey: .estimatedTimeRemainingKey)
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:110:62: error: cannot infer contextual base in reference to member 'estimatedTimeRemainingKey'
108 | self.parent.userInfo[.estimatedTimeRemainingKey] as? Double
109 | } set {
110 | self.parent.setUserInfoObject(newValue, forKey: .estimatedTimeRemainingKey)
| `- error: cannot infer contextual base in reference to member 'estimatedTimeRemainingKey'
111 | }
112 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:121:33: error: cannot infer contextual base in reference to member 'file'
119 | public func setFileOperationKind(_ kind: Progress.FileOperationKind?) {
120 | if let kind {
121 | self.parent.kind = .file
| `- error: cannot infer contextual base in reference to member 'file'
122 | self.parent.setUserInfoObject(kind, forKey: .fileOperationKindKey)
123 | } else {
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:122:58: error: cannot infer contextual base in reference to member 'fileOperationKindKey'
120 | if let kind {
121 | self.parent.kind = .file
122 | self.parent.setUserInfoObject(kind, forKey: .fileOperationKindKey)
| `- error: cannot infer contextual base in reference to member 'fileOperationKindKey'
123 | } else {
124 | self.parent.kind = nil
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:125:43: error: 'nil' requires a contextual type
123 | } else {
124 | self.parent.kind = nil
125 | self.parent.setUserInfoObject(nil, forKey: .fileOperationKindKey)
| `- error: 'nil' requires a contextual type
126 | }
127 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:125:57: error: cannot infer contextual base in reference to member 'fileOperationKindKey'
123 | } else {
124 | self.parent.kind = nil
125 | self.parent.setUserInfoObject(nil, forKey: .fileOperationKindKey)
| `- error: cannot infer contextual base in reference to member 'fileOperationKindKey'
126 | }
127 | }
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:133:29: error: cannot infer contextual base in reference to member 'file'
131 | /// When this is used with a non-`nil` value and the `ProgressManager` is used in a `ProgressView`, the label will be automatically updated with relevant information.
132 | public func setFileOperationKind() {
133 | self.parent.kind = .file
| `- error: cannot infer contextual base in reference to member 'file'
134 | }
135 |
/host/spi-builder-workspace/Sources/ProgressManager/ProgressManager.swift:155:60: error: cannot infer contextual base in reference to member 'throughputKey'
153 | /// Passing `nil` tells the underlying `Progress` that its related operation is not related to files processing.
154 | public func setFileOperationThroughput(_ throughput: Int?) {
155 | self.parent.setUserInfoObject(throughput, forKey: .throughputKey)
| `- error: cannot infer contextual base in reference to member 'throughputKey'
156 | }
157 |
BUILD FAILURE 6.1 wasm