Build Information
Failed to build JWTDecode, reference 2.6.3 (5fe788), with Swift 6.1 for Wasm on 30 May 2025 22:51:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/vbmobile/JWTDecode.swift.git
Reference: 2.6.3
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/vbmobile/JWTDecode.swift
* tag 2.6.3 -> FETCH_HEAD
HEAD is now at 5fe7884 add type dynamic
Cloned https://github.com/vbmobile/JWTDecode.swift.git
Revision (git rev-parse @):
5fe78848b9cb654581a66adbceabd35786f4acec
SUCCESS checkout https://github.com/vbmobile/JWTDecode.swift.git at 2.6.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vbmobile/JWTDecode.swift.git
https://github.com/vbmobile/JWTDecode.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.0.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "JWTDecode",
"name" : "JWTDecode",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "watchos",
"version" : "2.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "JWTDecode",
"targets" : [
"JWTDecode"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "JWTDecode_swiftTests",
"module_type" : "SwiftTarget",
"name" : "JWTDecode.swiftTests",
"path" : "Tests/JWTDecode.swiftTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"JWTDecodeSpec.swift",
"JWTHelper.swift",
"TokenValidatorsSpec.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"JWTDecode"
],
"type" : "test"
},
{
"c99name" : "JWTDecode",
"module_type" : "SwiftTarget",
"name" : "JWTDecode",
"path" : "JWTDecode",
"product_memberships" : [
"JWTDecode"
],
"sources" : [
"A0JWT.swift",
"Errors.swift",
"JWT.swift",
"JWTDecode.swift",
"TokenValidators.swift",
"ValidationError.swift",
"ValidatorJWT.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14755] Fetching quick
[8264/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.61s)
[15276/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.23s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (1.88s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.98s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.51s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (4.44s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.27s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.37s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling JWTDecode Errors.swift
[4/13] Compiling JWTDecode JWT.swift
[5/13] Compiling JWTDecode ValidatorJWT.swift
[6/13] Compiling JWTDecode TokenValidators.swift
[7/13] Compiling JWTDecode ValidationError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Compiling JWTDecode JWTDecode.swift
[9/13] Emitting module JWTDecode
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:26:2: error: Objective-C interoperability is disabled
24 |
25 | /// Decodes a JWT
26 | @objc(A0JWT)
| `- error: Objective-C interoperability is disabled
27 | public class _JWT: NSObject {
28 |
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:36:6: error: Objective-C interoperability is disabled
34 |
35 | /// token header part
36 | @objc public var header: [String: Any] {
| `- error: Objective-C interoperability is disabled
37 | return self.jwt.header
38 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:41:6: error: Objective-C interoperability is disabled
39 |
40 | /// token body part or claims
41 | @objc public var body: [String: Any] {
| `- error: Objective-C interoperability is disabled
42 | return self.jwt.body
43 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:46:6: error: Objective-C interoperability is disabled
44 |
45 | /// token signature part
46 | @objc public var signature: String? {
| `- error: Objective-C interoperability is disabled
47 | return self.jwt.signature
48 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:51:6: error: Objective-C interoperability is disabled
49 |
50 | /// value of the `exp` claim
51 | @objc public var expiresAt: Date? {
| `- error: Objective-C interoperability is disabled
52 | return self.jwt.expiresAt as Date?
53 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:56:6: error: Objective-C interoperability is disabled
54 |
55 | /// value of the `expired` field
56 | @objc public var expired: Bool {
| `- error: Objective-C interoperability is disabled
57 | return self.jwt.expired
58 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:67:6: error: Objective-C interoperability is disabled
65 | :returns: a new instance of `A0JWT` that holds the decode token
66 | */
67 | @objc public class func decode(jwt jwtValue: String) throws -> _JWT {
| `- error: Objective-C interoperability is disabled
68 | let jwt = try DecodedJWT(jwt: jwtValue)
69 | return _JWT(jwt: jwt)
[10/13] Compiling JWTDecode A0JWT.swift
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:26:2: error: Objective-C interoperability is disabled
24 |
25 | /// Decodes a JWT
26 | @objc(A0JWT)
| `- error: Objective-C interoperability is disabled
27 | public class _JWT: NSObject {
28 |
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:36:6: error: Objective-C interoperability is disabled
34 |
35 | /// token header part
36 | @objc public var header: [String: Any] {
| `- error: Objective-C interoperability is disabled
37 | return self.jwt.header
38 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:41:6: error: Objective-C interoperability is disabled
39 |
40 | /// token body part or claims
41 | @objc public var body: [String: Any] {
| `- error: Objective-C interoperability is disabled
42 | return self.jwt.body
43 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:46:6: error: Objective-C interoperability is disabled
44 |
45 | /// token signature part
46 | @objc public var signature: String? {
| `- error: Objective-C interoperability is disabled
47 | return self.jwt.signature
48 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:51:6: error: Objective-C interoperability is disabled
49 |
50 | /// value of the `exp` claim
51 | @objc public var expiresAt: Date? {
| `- error: Objective-C interoperability is disabled
52 | return self.jwt.expiresAt as Date?
53 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:56:6: error: Objective-C interoperability is disabled
54 |
55 | /// value of the `expired` field
56 | @objc public var expired: Bool {
| `- error: Objective-C interoperability is disabled
57 | return self.jwt.expired
58 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:67:6: error: Objective-C interoperability is disabled
65 | :returns: a new instance of `A0JWT` that holds the decode token
66 | */
67 | @objc public class func decode(jwt jwtValue: String) throws -> _JWT {
| `- error: Objective-C interoperability is disabled
68 | let jwt = try DecodedJWT(jwt: jwtValue)
69 | return _JWT(jwt: jwt)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling JWTDecode ValidatorJWT.swift
[3/12] Compiling JWTDecode ValidationError.swift
[4/12] Compiling JWTDecode JWT.swift
[5/12] Compiling JWTDecode TokenValidators.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Compiling JWTDecode Errors.swift
[7/12] Emitting module JWTDecode
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:26:2: error: Objective-C interoperability is disabled
24 |
25 | /// Decodes a JWT
26 | @objc(A0JWT)
| `- error: Objective-C interoperability is disabled
27 | public class _JWT: NSObject {
28 |
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:36:6: error: Objective-C interoperability is disabled
34 |
35 | /// token header part
36 | @objc public var header: [String: Any] {
| `- error: Objective-C interoperability is disabled
37 | return self.jwt.header
38 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:41:6: error: Objective-C interoperability is disabled
39 |
40 | /// token body part or claims
41 | @objc public var body: [String: Any] {
| `- error: Objective-C interoperability is disabled
42 | return self.jwt.body
43 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:46:6: error: Objective-C interoperability is disabled
44 |
45 | /// token signature part
46 | @objc public var signature: String? {
| `- error: Objective-C interoperability is disabled
47 | return self.jwt.signature
48 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:51:6: error: Objective-C interoperability is disabled
49 |
50 | /// value of the `exp` claim
51 | @objc public var expiresAt: Date? {
| `- error: Objective-C interoperability is disabled
52 | return self.jwt.expiresAt as Date?
53 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:56:6: error: Objective-C interoperability is disabled
54 |
55 | /// value of the `expired` field
56 | @objc public var expired: Bool {
| `- error: Objective-C interoperability is disabled
57 | return self.jwt.expired
58 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:67:6: error: Objective-C interoperability is disabled
65 | :returns: a new instance of `A0JWT` that holds the decode token
66 | */
67 | @objc public class func decode(jwt jwtValue: String) throws -> _JWT {
| `- error: Objective-C interoperability is disabled
68 | let jwt = try DecodedJWT(jwt: jwtValue)
69 | return _JWT(jwt: jwt)
[8/12] Compiling JWTDecode A0JWT.swift
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:26:2: error: Objective-C interoperability is disabled
24 |
25 | /// Decodes a JWT
26 | @objc(A0JWT)
| `- error: Objective-C interoperability is disabled
27 | public class _JWT: NSObject {
28 |
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:36:6: error: Objective-C interoperability is disabled
34 |
35 | /// token header part
36 | @objc public var header: [String: Any] {
| `- error: Objective-C interoperability is disabled
37 | return self.jwt.header
38 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:41:6: error: Objective-C interoperability is disabled
39 |
40 | /// token body part or claims
41 | @objc public var body: [String: Any] {
| `- error: Objective-C interoperability is disabled
42 | return self.jwt.body
43 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:46:6: error: Objective-C interoperability is disabled
44 |
45 | /// token signature part
46 | @objc public var signature: String? {
| `- error: Objective-C interoperability is disabled
47 | return self.jwt.signature
48 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:51:6: error: Objective-C interoperability is disabled
49 |
50 | /// value of the `exp` claim
51 | @objc public var expiresAt: Date? {
| `- error: Objective-C interoperability is disabled
52 | return self.jwt.expiresAt as Date?
53 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:56:6: error: Objective-C interoperability is disabled
54 |
55 | /// value of the `expired` field
56 | @objc public var expired: Bool {
| `- error: Objective-C interoperability is disabled
57 | return self.jwt.expired
58 | }
/host/spi-builder-workspace/JWTDecode/A0JWT.swift:67:6: error: Objective-C interoperability is disabled
65 | :returns: a new instance of `A0JWT` that holds the decode token
66 | */
67 | @objc public class func decode(jwt jwtValue: String) throws -> _JWT {
| `- error: Objective-C interoperability is disabled
68 | let jwt = try DecodedJWT(jwt: jwtValue)
69 | return _JWT(jwt: jwt)
[9/12] Compiling JWTDecode JWTDecode.swift
BUILD FAILURE 6.1 wasm