Build Information
Failed to build Suture, reference master (601357), with Swift 6.1 for Wasm on 27 May 2025 11:25:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cristik/Suture.git
Reference: master
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/cristik/Suture
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6013578 .travis.yml
Cloned https://github.com/cristik/Suture.git
Revision (git rev-parse @):
6013578f2a89dff72e569727464f183427b35f89
SUCCESS checkout https://github.com/cristik/Suture.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/cristik/Suture.git
https://github.com/cristik/Suture.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Suture",
"name" : "Suture",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Suture",
"targets" : [
"Suture"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SutureTests",
"module_type" : "SwiftTarget",
"name" : "SutureTests",
"path" : "test",
"sources" : [
"Cocoa+Suture-Tests.swift",
"Common.swift",
"Future+Creation-Tests.swift",
"Future+Operators-Tests.swift",
"Future+Subscribe-Tests.swift"
],
"target_dependencies" : [
"Suture"
],
"type" : "test"
},
{
"c99name" : "Suture",
"module_type" : "SwiftTarget",
"name" : "Suture",
"path" : "src",
"product_memberships" : [
"Suture"
],
"sources" : [
"Cancelable.swift",
"Cocoa+Suture.swift",
"Dispatcher.swift",
"Future.swift",
"ObjcFuture.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module Suture
/host/spi-builder-workspace/src/Cancelable.swift:32:21: error: Objective-C interoperability is disabled
30 | /// then the cancellation will be forwarded there. Regardless of the worker behaviour
31 | /// the closure passed to `get` will not be executed if the subscription is cancelled.
32 | @objc(SUCancelable) @objcMembers public class Cancelable: NSObject {
| `- error: Objective-C interoperability is disabled
33 | private var onCancel: (() -> Void)?
34 |
/host/spi-builder-workspace/src/Cancelable.swift:32:2: error: Objective-C interoperability is disabled
30 | /// then the cancellation will be forwarded there. Regardless of the worker behaviour
31 | /// the closure passed to `get` will not be executed if the subscription is cancelled.
32 | @objc(SUCancelable) @objcMembers public class Cancelable: NSObject {
| `- error: Objective-C interoperability is disabled
33 | private var onCancel: (() -> Void)?
34 |
/host/spi-builder-workspace/src/Cocoa+Suture.swift:28:11: error: cannot find type 'DispatchQueue' in scope
26 | import Foundation
27 |
28 | extension DispatchQueue: Dispatcher {
| `- error: cannot find type 'DispatchQueue' in scope
29 | /// A dispatch queue will conform to `Dispatcher` by asynchronously dispatching
30 | /// the block
/host/spi-builder-workspace/src/Cocoa+Suture.swift:38:11: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
39 | /// Dispatches async the given computation and creates a Future that gets resolved
40 | /// with the value returned by the closure, or gets rejected with the thrown error
/host/spi-builder-workspace/src/ObjcFuture.swift:29:17: error: Objective-C interoperability is disabled
27 |
28 | /// Objective-C compatible class for `Result`
29 | @objc(SUResult) @objcMembers public final class ObjcResult: NSObject {
| `- error: Objective-C interoperability is disabled
30 | fileprivate let result: Result<Any, NSError>
31 |
/host/spi-builder-workspace/src/ObjcFuture.swift:29:2: error: Objective-C interoperability is disabled
27 |
28 | /// Objective-C compatible class for `Result`
29 | @objc(SUResult) @objcMembers public final class ObjcResult: NSObject {
| `- error: Objective-C interoperability is disabled
30 | fileprivate let result: Result<Any, NSError>
31 |
/host/spi-builder-workspace/src/ObjcFuture.swift:67:17: error: Objective-C interoperability is disabled
65 | /// on the Swift side. Currently there is no support for creating or transforming futures in
66 | /// Objective-C, only for consuming them
67 | @objc(SUFuture) @objcMembers public final class ObjcFuture: NSObject {
| `- error: Objective-C interoperability is disabled
68 | public typealias Handler = (ObjcResult) -> Void
69 | public typealias Resolver = (@escaping Handler) -> Cancelable
/host/spi-builder-workspace/src/ObjcFuture.swift:67:2: error: Objective-C interoperability is disabled
65 | /// on the Swift side. Currently there is no support for creating or transforming futures in
66 | /// Objective-C, only for consuming them
67 | @objc(SUFuture) @objcMembers public final class ObjcFuture: NSObject {
| `- error: Objective-C interoperability is disabled
68 | public typealias Handler = (ObjcResult) -> Void
69 | public typealias Resolver = (@escaping Handler) -> Cancelable
[4/9] Compiling Suture Dispatcher.swift
[5/9] Compiling Suture Utils.swift
/host/spi-builder-workspace/src/Utils.swift:29:5: error: cannot find 'objc_sync_enter' in scope
27 |
28 | internal func synchronized<T>(_ lock: AnyObject, _ body: () throws -> T) rethrows -> T {
29 | objc_sync_enter(lock); defer { objc_sync_exit(lock) }; return try body()
| `- error: cannot find 'objc_sync_enter' in scope
30 | }
31 |
/host/spi-builder-workspace/src/Utils.swift:29:36: error: cannot find 'objc_sync_exit' in scope
27 |
28 | internal func synchronized<T>(_ lock: AnyObject, _ body: () throws -> T) rethrows -> T {
29 | objc_sync_enter(lock); defer { objc_sync_exit(lock) }; return try body()
| `- error: cannot find 'objc_sync_exit' in scope
30 | }
31 |
[6/9] Compiling Suture Future.swift
[7/9] Compiling Suture ObjcFuture.swift
/host/spi-builder-workspace/src/ObjcFuture.swift:29:17: error: Objective-C interoperability is disabled
27 |
28 | /// Objective-C compatible class for `Result`
29 | @objc(SUResult) @objcMembers public final class ObjcResult: NSObject {
| `- error: Objective-C interoperability is disabled
30 | fileprivate let result: Result<Any, NSError>
31 |
/host/spi-builder-workspace/src/ObjcFuture.swift:29:2: error: Objective-C interoperability is disabled
27 |
28 | /// Objective-C compatible class for `Result`
29 | @objc(SUResult) @objcMembers public final class ObjcResult: NSObject {
| `- error: Objective-C interoperability is disabled
30 | fileprivate let result: Result<Any, NSError>
31 |
/host/spi-builder-workspace/src/ObjcFuture.swift:67:17: error: Objective-C interoperability is disabled
65 | /// on the Swift side. Currently there is no support for creating or transforming futures in
66 | /// Objective-C, only for consuming them
67 | @objc(SUFuture) @objcMembers public final class ObjcFuture: NSObject {
| `- error: Objective-C interoperability is disabled
68 | public typealias Handler = (ObjcResult) -> Void
69 | public typealias Resolver = (@escaping Handler) -> Cancelable
/host/spi-builder-workspace/src/ObjcFuture.swift:67:2: error: Objective-C interoperability is disabled
65 | /// on the Swift side. Currently there is no support for creating or transforming futures in
66 | /// Objective-C, only for consuming them
67 | @objc(SUFuture) @objcMembers public final class ObjcFuture: NSObject {
| `- error: Objective-C interoperability is disabled
68 | public typealias Handler = (ObjcResult) -> Void
69 | public typealias Resolver = (@escaping Handler) -> Cancelable
[8/9] Compiling Suture Cocoa+Suture.swift
/host/spi-builder-workspace/src/Cocoa+Suture.swift:28:11: error: cannot find type 'DispatchQueue' in scope
26 | import Foundation
27 |
28 | extension DispatchQueue: Dispatcher {
| `- error: cannot find type 'DispatchQueue' in scope
29 | /// A dispatch queue will conform to `Dispatcher` by asynchronously dispatching
30 | /// the block
/host/spi-builder-workspace/src/Cocoa+Suture.swift:38:11: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
39 | /// Dispatches async the given computation and creates a Future that gets resolved
40 | /// with the value returned by the closure, or gets rejected with the thrown error
[9/9] Compiling Suture Cancelable.swift
/host/spi-builder-workspace/src/Cancelable.swift:32:21: error: Objective-C interoperability is disabled
30 | /// then the cancellation will be forwarded there. Regardless of the worker behaviour
31 | /// the closure passed to `get` will not be executed if the subscription is cancelled.
32 | @objc(SUCancelable) @objcMembers public class Cancelable: NSObject {
| `- error: Objective-C interoperability is disabled
33 | private var onCancel: (() -> Void)?
34 |
/host/spi-builder-workspace/src/Cancelable.swift:32:2: error: Objective-C interoperability is disabled
30 | /// then the cancellation will be forwarded there. Regardless of the worker behaviour
31 | /// the closure passed to `get` will not be executed if the subscription is cancelled.
32 | @objc(SUCancelable) @objcMembers public class Cancelable: NSObject {
| `- error: Objective-C interoperability is disabled
33 | private var onCancel: (() -> Void)?
34 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/8] Compiling Suture Utils.swift
/host/spi-builder-workspace/src/Utils.swift:29:5: error: cannot find 'objc_sync_enter' in scope
27 |
28 | internal func synchronized<T>(_ lock: AnyObject, _ body: () throws -> T) rethrows -> T {
29 | objc_sync_enter(lock); defer { objc_sync_exit(lock) }; return try body()
| `- error: cannot find 'objc_sync_enter' in scope
30 | }
31 |
/host/spi-builder-workspace/src/Utils.swift:29:36: error: cannot find 'objc_sync_exit' in scope
27 |
28 | internal func synchronized<T>(_ lock: AnyObject, _ body: () throws -> T) rethrows -> T {
29 | objc_sync_enter(lock); defer { objc_sync_exit(lock) }; return try body()
| `- error: cannot find 'objc_sync_exit' in scope
30 | }
31 |
[3/8] Compiling Suture Cocoa+Suture.swift
/host/spi-builder-workspace/src/Cocoa+Suture.swift:28:11: error: cannot find type 'DispatchQueue' in scope
26 | import Foundation
27 |
28 | extension DispatchQueue: Dispatcher {
| `- error: cannot find type 'DispatchQueue' in scope
29 | /// A dispatch queue will conform to `Dispatcher` by asynchronously dispatching
30 | /// the block
/host/spi-builder-workspace/src/Cocoa+Suture.swift:38:11: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
39 | /// Dispatches async the given computation and creates a Future that gets resolved
40 | /// with the value returned by the closure, or gets rejected with the thrown error
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module Suture
/host/spi-builder-workspace/src/Cancelable.swift:32:21: error: Objective-C interoperability is disabled
30 | /// then the cancellation will be forwarded there. Regardless of the worker behaviour
31 | /// the closure passed to `get` will not be executed if the subscription is cancelled.
32 | @objc(SUCancelable) @objcMembers public class Cancelable: NSObject {
| `- error: Objective-C interoperability is disabled
33 | private var onCancel: (() -> Void)?
34 |
/host/spi-builder-workspace/src/Cancelable.swift:32:2: error: Objective-C interoperability is disabled
30 | /// then the cancellation will be forwarded there. Regardless of the worker behaviour
31 | /// the closure passed to `get` will not be executed if the subscription is cancelled.
32 | @objc(SUCancelable) @objcMembers public class Cancelable: NSObject {
| `- error: Objective-C interoperability is disabled
33 | private var onCancel: (() -> Void)?
34 |
/host/spi-builder-workspace/src/Cocoa+Suture.swift:28:11: error: cannot find type 'DispatchQueue' in scope
26 | import Foundation
27 |
28 | extension DispatchQueue: Dispatcher {
| `- error: cannot find type 'DispatchQueue' in scope
29 | /// A dispatch queue will conform to `Dispatcher` by asynchronously dispatching
30 | /// the block
/host/spi-builder-workspace/src/Cocoa+Suture.swift:38:11: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
39 | /// Dispatches async the given computation and creates a Future that gets resolved
40 | /// with the value returned by the closure, or gets rejected with the thrown error
/host/spi-builder-workspace/src/ObjcFuture.swift:29:17: error: Objective-C interoperability is disabled
27 |
28 | /// Objective-C compatible class for `Result`
29 | @objc(SUResult) @objcMembers public final class ObjcResult: NSObject {
| `- error: Objective-C interoperability is disabled
30 | fileprivate let result: Result<Any, NSError>
31 |
/host/spi-builder-workspace/src/ObjcFuture.swift:29:2: error: Objective-C interoperability is disabled
27 |
28 | /// Objective-C compatible class for `Result`
29 | @objc(SUResult) @objcMembers public final class ObjcResult: NSObject {
| `- error: Objective-C interoperability is disabled
30 | fileprivate let result: Result<Any, NSError>
31 |
/host/spi-builder-workspace/src/ObjcFuture.swift:67:17: error: Objective-C interoperability is disabled
65 | /// on the Swift side. Currently there is no support for creating or transforming futures in
66 | /// Objective-C, only for consuming them
67 | @objc(SUFuture) @objcMembers public final class ObjcFuture: NSObject {
| `- error: Objective-C interoperability is disabled
68 | public typealias Handler = (ObjcResult) -> Void
69 | public typealias Resolver = (@escaping Handler) -> Cancelable
/host/spi-builder-workspace/src/ObjcFuture.swift:67:2: error: Objective-C interoperability is disabled
65 | /// on the Swift side. Currently there is no support for creating or transforming futures in
66 | /// Objective-C, only for consuming them
67 | @objc(SUFuture) @objcMembers public final class ObjcFuture: NSObject {
| `- error: Objective-C interoperability is disabled
68 | public typealias Handler = (ObjcResult) -> Void
69 | public typealias Resolver = (@escaping Handler) -> Cancelable
[5/8] Compiling Suture ObjcFuture.swift
/host/spi-builder-workspace/src/ObjcFuture.swift:29:17: error: Objective-C interoperability is disabled
27 |
28 | /// Objective-C compatible class for `Result`
29 | @objc(SUResult) @objcMembers public final class ObjcResult: NSObject {
| `- error: Objective-C interoperability is disabled
30 | fileprivate let result: Result<Any, NSError>
31 |
/host/spi-builder-workspace/src/ObjcFuture.swift:29:2: error: Objective-C interoperability is disabled
27 |
28 | /// Objective-C compatible class for `Result`
29 | @objc(SUResult) @objcMembers public final class ObjcResult: NSObject {
| `- error: Objective-C interoperability is disabled
30 | fileprivate let result: Result<Any, NSError>
31 |
/host/spi-builder-workspace/src/ObjcFuture.swift:67:17: error: Objective-C interoperability is disabled
65 | /// on the Swift side. Currently there is no support for creating or transforming futures in
66 | /// Objective-C, only for consuming them
67 | @objc(SUFuture) @objcMembers public final class ObjcFuture: NSObject {
| `- error: Objective-C interoperability is disabled
68 | public typealias Handler = (ObjcResult) -> Void
69 | public typealias Resolver = (@escaping Handler) -> Cancelable
/host/spi-builder-workspace/src/ObjcFuture.swift:67:2: error: Objective-C interoperability is disabled
65 | /// on the Swift side. Currently there is no support for creating or transforming futures in
66 | /// Objective-C, only for consuming them
67 | @objc(SUFuture) @objcMembers public final class ObjcFuture: NSObject {
| `- error: Objective-C interoperability is disabled
68 | public typealias Handler = (ObjcResult) -> Void
69 | public typealias Resolver = (@escaping Handler) -> Cancelable
[6/8] Compiling Suture Dispatcher.swift
[7/8] Compiling Suture Future.swift
[8/8] Compiling Suture Cancelable.swift
/host/spi-builder-workspace/src/Cancelable.swift:32:21: error: Objective-C interoperability is disabled
30 | /// then the cancellation will be forwarded there. Regardless of the worker behaviour
31 | /// the closure passed to `get` will not be executed if the subscription is cancelled.
32 | @objc(SUCancelable) @objcMembers public class Cancelable: NSObject {
| `- error: Objective-C interoperability is disabled
33 | private var onCancel: (() -> Void)?
34 |
/host/spi-builder-workspace/src/Cancelable.swift:32:2: error: Objective-C interoperability is disabled
30 | /// then the cancellation will be forwarded there. Regardless of the worker behaviour
31 | /// the closure passed to `get` will not be executed if the subscription is cancelled.
32 | @objc(SUCancelable) @objcMembers public class Cancelable: NSObject {
| `- error: Objective-C interoperability is disabled
33 | private var onCancel: (() -> Void)?
34 |
BUILD FAILURE 6.1 wasm