Build Information
Failed to build swift-arc, reference main (094d6d), with Swift 6.1 for Wasm on 11 Feb 2026 01:55:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CorvidLabs/swift-arc.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/CorvidLabs/swift-arc
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 094d6d8 Improves ARC19 Documentation (#4)
Cloned https://github.com/CorvidLabs/swift-arc.git
Revision (git rev-parse @):
094d6d830e2b80493b318c43e052aedd50a6b618
SUCCESS checkout https://github.com/CorvidLabs/swift-arc.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/CorvidLabs/swift-arc.git
https://github.com/CorvidLabs/swift-arc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-algorand",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CorvidLabs/swift-algorand.git"
},
{
"identity" : "swift-pinata",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CorvidLabs/swift-pinata.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-arc",
"name" : "swift-arc",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "ARC",
"targets" : [
"ARC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ARCTests",
"module_type" : "SwiftTarget",
"name" : "ARCTests",
"path" : "Tests/ARCTests",
"sources" : [
"ARC19Tests.swift",
"ARC3Tests.swift",
"ARC69Tests.swift",
"IPFSTests.swift"
],
"target_dependencies" : [
"ARC"
],
"type" : "test"
},
{
"c99name" : "ARC",
"module_type" : "SwiftTarget",
"name" : "ARC",
"path" : "Sources/ARC",
"product_dependencies" : [
"Algorand",
"Pinata",
"Crypto"
],
"product_memberships" : [
"ARC"
],
"sources" : [
"ARC19/ARC19Builder.swift",
"ARC19/ARC19CID.swift",
"ARC19/ARC19Template.swift",
"ARC3/ARC3Builder.swift",
"ARC3/ARC3Metadata.swift",
"ARC3/ARC3Validator.swift",
"ARC69/ARC69Builder.swift",
"ARC69/ARC69MediaFragment.swift",
"ARC69/ARC69Metadata.swift",
"ARC69/ARC69Validator.swift",
"ARCError.swift",
"Core/ARCMetadata.swift",
"Core/ARCStandard.swift",
"Core/ARCValidation.swift",
"Core/PropertyValue.swift",
"IPFS/CID.swift",
"IPFS/IPFSUrl.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/CorvidLabs/swift-pinata.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/CorvidLabs/swift-algorand.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/81] Fetching swift-pinata
[82/2252] Fetching swift-pinata, swift-docc-plugin
[321/2430] Fetching swift-pinata, swift-docc-plugin, swift-algorand
Fetched https://github.com/CorvidLabs/swift-algorand.git from cache (0.40s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.41s)
[1/17521] Fetching swift-crypto
Fetched https://github.com/CorvidLabs/swift-pinata.git from cache (2.18s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.22s)
Computing version for https://github.com/CorvidLabs/swift-pinata.git
Computed https://github.com/CorvidLabs/swift-pinata.git at 0.2.0 (3.26s)
Computing version for https://github.com/CorvidLabs/swift-algorand.git
Computed https://github.com/CorvidLabs/swift-algorand.git at 0.3.2 (0.83s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (3.85s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3655] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.79s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.20s)
Fetching https://github.com/apple/swift-asn1.git
[1/1692] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.40s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (4.19s)
Creating working copy for https://github.com/CorvidLabs/swift-algorand.git
Working copy of https://github.com/CorvidLabs/swift-algorand.git resolved at 0.3.2
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/CorvidLabs/swift-pinata.git
Working copy of https://github.com/CorvidLabs/swift-pinata.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/375] Write sources
[7/375] Compiling CCryptoBoringSSLShims shims.c
[8/375] Compiling fiat_p256_adx_sqr.S
[9/375] Compiling fiat_p256_adx_mul.S
[10/375] Compiling fiat_curve25519_adx_square.S
[11/375] Compiling aes.cc
[12/375] Compiling a_dup.cc
[13/375] Write swift-version-24593BA9C3E375BF.txt
[14/375] Compiling fiat_curve25519_adx_mul.S
[15/375] Compiling md5-x86_64-linux.S
[16/375] Compiling md5-x86_64-apple.S
[16/375] Compiling a_d2i_fp.cc
[18/375] Compiling md5-586-linux.S
[19/375] Compiling md5-586-apple.S
[20/375] Compiling chacha20_poly1305_x86_64-apple.S
[21/375] Compiling chacha20_poly1305_x86_64-linux.S
[22/375] Compiling a_gentm.cc
[23/375] Compiling chacha20_poly1305_armv8-win.S
[24/375] Compiling chacha20_poly1305_armv8-linux.S
[25/376] Compiling chacha20_poly1305_armv8-apple.S
[26/382] Compiling chacha-x86_64-linux.S
[27/382] Compiling chacha-x86-linux.S
[28/382] Compiling chacha-x86_64-apple.S
[29/382] Compiling chacha-x86-apple.S
[30/382] Compiling chacha-armv8-win.S
[31/382] Compiling chacha-armv8-linux.S
[32/382] Compiling a_bool.cc
[33/382] Compiling chacha-armv8-apple.S
[34/382] Compiling aes128gcmsiv-x86_64-linux.S
[35/382] Compiling chacha-armv4-linux.S
[36/382] Compiling aes128gcmsiv-x86_64-apple.S
[37/382] Compiling x86_64-mont5-linux.S
[38/382] Compiling x86_64-mont5-apple.S
[39/382] Compiling x86_64-mont-apple.S
[40/382] Compiling x86-mont-linux.S
[41/382] Compiling x86-mont-apple.S
[42/382] Compiling vpaes-x86_64-linux.S
[43/382] Compiling x86_64-mont-linux.S
[44/382] Compiling a_bitstr.cc
[45/382] Compiling vpaes-x86_64-apple.S
[46/382] Compiling vpaes-x86-linux.S
[47/382] Compiling vpaes-x86-apple.S
[48/382] Compiling vpaes-armv8-linux.S
[49/382] Compiling vpaes-armv8-win.S
[50/382] Compiling vpaes-armv8-apple.S
[51/382] Compiling sha512-x86_64-apple.S
[52/382] Compiling vpaes-armv7-linux.S
[53/382] Compiling sha512-armv8-win.S
[54/382] Compiling sha512-x86_64-linux.S
[55/382] Compiling sha512-armv8-linux.S
[56/382] Compiling sha512-armv8-apple.S
[57/382] Compiling sha512-armv4-linux.S
[58/382] Compiling sha512-586-apple.S
[59/382] Compiling sha512-586-linux.S
[60/382] Compiling sha256-x86_64-linux.S
[61/382] Compiling sha256-armv8-win.S
[62/382] Compiling sha256-x86_64-apple.S
[63/382] Compiling sha256-armv8-linux.S
[64/382] Compiling sha256-armv8-apple.S
[65/382] Compiling sha256-armv4-linux.S
[66/382] Compiling sha1-x86_64-linux.S
[66/382] Compiling sha256-586-linux.S
[68/382] Compiling sha1-x86_64-apple.S
[69/382] Compiling sha1-armv8-win.S
[70/382] Compiling sha256-586-apple.S
[71/382] Compiling sha1-586-linux.S
[72/382] Compiling sha1-armv8-apple.S
[73/382] Compiling sha1-armv8-linux.S
[74/382] Compiling sha1-586-apple.S
[75/382] Compiling rsaz-avx2-linux.S
[76/382] Compiling sha1-armv4-large-linux.S
[77/382] Compiling rsaz-avx2-apple.S
[78/382] Compiling err_data.cc
[79/382] Compiling rdrand-x86_64-linux.S
[80/382] Compiling rdrand-x86_64-apple.S
[81/382] Compiling p256_beeu-x86_64-asm-linux.S
[82/382] Compiling p256_beeu-armv8-asm-win.S
[83/382] Compiling p256_beeu-x86_64-asm-apple.S
[84/382] Compiling p256_beeu-armv8-asm-linux.S
[85/382] Compiling p256-x86_64-asm-apple.S
[86/382] Compiling p256_beeu-armv8-asm-apple.S
[87/382] Compiling p256-x86_64-asm-linux.S
[88/382] Compiling p256-armv8-asm-linux.S
[89/382] Compiling p256-armv8-asm-win.S
[90/382] Compiling p256-armv8-asm-apple.S
[91/382] Compiling ghashv8-armv8-win.S
[92/382] Compiling ghash-x86_64-linux.S
[93/382] Compiling ghashv8-armv8-apple.S
[94/382] Compiling ghash-x86-linux.S
[95/382] Compiling ghashv8-armv8-linux.S
[96/382] Compiling ghashv8-armv7-linux.S
[97/382] Compiling ghash-x86_64-apple.S
[98/382] Compiling ghash-ssse3-x86_64-apple.S
[99/382] Compiling ghash-x86-apple.S
[100/382] Compiling ghash-ssse3-x86-linux.S
[101/382] Compiling ghash-neon-armv8-win.S
[102/382] Compiling ghash-ssse3-x86_64-linux.S
[103/382] Compiling ghash-ssse3-x86-apple.S
[104/382] Compiling ghash-neon-armv8-apple.S
[105/382] Compiling ghash-armv4-linux.S
[106/382] Compiling ghash-neon-armv8-linux.S
[107/382] Compiling co-586-linux.S
[108/382] Compiling co-586-apple.S
[109/382] Compiling bsaes-armv7-linux.S
[110/382] Compiling bn-armv8-apple.S
[110/382] Compiling bn-armv8-linux.S
[112/382] Compiling bn-armv8-win.S
[113/382] Compiling bn-586-linux.S
[114/382] Compiling bn-586-apple.S
[115/382] Compiling armv8-mont-win.S
[116/382] Compiling armv8-mont-apple.S
[117/382] Compiling armv8-mont-linux.S
[118/382] Compiling aesv8-gcm-armv8-linux.S
[119/382] Compiling armv4-mont-linux.S
[120/382] Compiling aesv8-gcm-armv8-win.S
[121/382] Compiling aesv8-armv8-win.S
[122/382] Compiling aesv8-gcm-armv8-apple.S
[123/382] Compiling aesv8-armv8-linux.S
[124/382] Compiling aesv8-armv7-linux.S
[125/382] Compiling aesv8-armv8-apple.S
[126/382] Compiling aesni-x86_64-apple.S
[127/382] Compiling aesni-x86_64-linux.S
[127/382] Compiling aesni-x86-linux.S
[129/382] Compiling aesni-gcm-x86_64-apple.S
[130/382] Compiling aesni-x86-apple.S
[131/382] Compiling aes-gcm-avx512-x86_64-linux.S
[132/382] Compiling aesni-gcm-x86_64-linux.S
[133/382] Compiling aes-gcm-avx2-x86_64-linux.S
[134/382] Compiling aes-gcm-avx512-x86_64-apple.S
[135/382] Compiling aes-gcm-avx2-x86_64-apple.S
[136/382] Compiling x_req.cc
[137/382] Compiling x_pubkey.cc
[138/382] Compiling x_sig.cc
[139/382] Compiling xwing.cc
[140/382] Compiling x_x509a.cc
[141/382] Compiling x_spki.cc
[142/382] Compiling x_x509.cc
[143/382] Compiling x_name.cc
[144/382] Compiling x_exten.cc
[145/382] Compiling x_attrib.cc
[146/382] Compiling x_crl.cc
[147/382] Compiling x_all.cc
[148/382] Compiling x_algor.cc
[149/382] Compiling x509spki.cc
[150/382] Compiling x509rset.cc
[151/382] Compiling x509cset.cc
[152/382] Compiling x509_vpm.cc
[153/382] Compiling x509name.cc
[154/382] Compiling x509_v3.cc
[155/382] Compiling x509_vfy.cc
[156/382] Compiling x509_txt.cc
[157/382] Compiling x509_trs.cc
[158/382] Compiling x509_set.cc
[159/382] Compiling x509_obj.cc
[160/382] Compiling x509_req.cc
[161/382] Compiling x509_d2.cc
[162/382] Compiling x509_cmp.cc
[163/382] Compiling x509_lu.cc
[164/382] Compiling x509_def.cc
[165/382] Compiling x509_ext.cc
[166/382] Compiling x509_att.cc
[167/382] Compiling v3_skey.cc
[168/382] Compiling x509.cc
[170/382] Compiling Pinata PinataGroup.swift
[171/382] Compiling Pinata PinataError.swift
[172/382] Compiling Pinata PinataCredentials.swift
[173/382] Compiling Pinata PinataConfiguration.swift
[174/382] Compiling Pinata Pinata.swift
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:27:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | /// The URL session used for requests.
27 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 | /// JSON decoder configured for Pinata API responses.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | public init(
41 | configuration: PinataConfiguration,
42 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | ) {
44 | self.configuration = configuration
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | public init(
41 | configuration: PinataConfiguration,
42 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
43 | ) {
44 | self.configuration = configuration
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | jwt: String,
85 | gatewayDomain: String? = nil,
86 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | ) {
88 | self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
84 | jwt: String,
85 | gatewayDomain: String? = nil,
86 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
87 | ) {
88 | self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | apiSecret: String,
104 | gatewayDomain: String? = nil,
105 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 | ) {
107 | self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
103 | apiSecret: String,
104 | gatewayDomain: String? = nil,
105 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
106 | ) {
107 | self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:616:56: error: cannot find type 'URLRequest' in scope
614 | private static let baseRetryDelay: UInt64 = 500_000_000
615 |
616 | private func applyAuthentication(to request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
617 | request.setValue(
618 | configuration.credentials.authorizationHeader,
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:626:51: error: cannot find type 'URLRequest' in scope
624 | }
625 |
626 | private func perform<T: Decodable>(_ request: URLRequest) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
627 | let (data, _) = try await performRaw(request)
628 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:40: error: cannot find type 'URLRequest' in scope
634 | }
635 |
636 | private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
637 | var lastError: Error?
638 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
634 | }
635 |
636 | private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
637 | var lastError: Error?
638 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:141:23: error: cannot find 'URLRequest' in scope
139 | let url = PinataConfiguration.uploadBaseURL.appendingPathComponent("v3/files")
140 |
141 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
142 | request.httpMethod = "POST"
143 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:254:23: error: cannot find 'URLRequest' in scope
252 | }
253 |
254 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
255 | request.httpMethod = "GET"
256 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:282:23: error: cannot find 'URLRequest' in scope
280 | .appendingPathComponent(id)
281 |
282 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
283 | request.httpMethod = "GET"
284 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:308:23: error: cannot find 'URLRequest' in scope
306 | .appendingPathComponent(id)
307 |
308 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
309 | request.httpMethod = "DELETE"
310 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:354:23: error: cannot find 'URLRequest' in scope
352 | .appendingPathComponent(id)
353 |
354 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
355 | request.httpMethod = "PUT"
356 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:406:23: error: cannot find 'URLRequest' in scope
404 | .appendingPathComponent(cid)
405 |
406 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
407 | request.httpMethod = "PUT"
408 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:453:23: error: cannot find 'URLRequest' in scope
451 | }
452 |
453 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
454 | request.httpMethod = "GET"
455 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:482:23: error: cannot find 'URLRequest' in scope
480 | .appendingPathComponent(cid)
481 |
482 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
483 | request.httpMethod = "DELETE"
484 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:507:23: error: cannot find 'URLRequest' in scope
505 | let url = PinataConfiguration.apiBaseURL.appendingPathComponent("v3/files/groups")
506 |
507 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
508 | request.httpMethod = "POST"
509 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:557:23: error: cannot find 'URLRequest' in scope
555 | }
556 |
557 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
558 | request.httpMethod = "GET"
559 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:579:23: error: cannot find 'URLRequest' in scope
577 | .appendingPathComponent(id)
578 |
579 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
580 | request.httpMethod = "GET"
581 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:599:23: error: cannot find 'URLRequest' in scope
597 | .appendingPathComponent(id)
598 |
599 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
600 | request.httpMethod = "DELETE"
601 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:641:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
639 | for attempt in 0..<Self.maxRetries {
640 | do {
641 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
642 |
643 | guard let httpResponse = response as? HTTPURLResponse else {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[175/382] Compiling Pinata PinataFile.swift
[176/382] Emitting module Pinata
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:27:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | /// The URL session used for requests.
27 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 | /// JSON decoder configured for Pinata API responses.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | public init(
41 | configuration: PinataConfiguration,
42 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | ) {
44 | self.configuration = configuration
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | public init(
41 | configuration: PinataConfiguration,
42 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
43 | ) {
44 | self.configuration = configuration
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | jwt: String,
85 | gatewayDomain: String? = nil,
86 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | ) {
88 | self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
84 | jwt: String,
85 | gatewayDomain: String? = nil,
86 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
87 | ) {
88 | self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | apiSecret: String,
104 | gatewayDomain: String? = nil,
105 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 | ) {
107 | self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
103 | apiSecret: String,
104 | gatewayDomain: String? = nil,
105 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
106 | ) {
107 | self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:616:56: error: cannot find type 'URLRequest' in scope
614 | private static let baseRetryDelay: UInt64 = 500_000_000
615 |
616 | private func applyAuthentication(to request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
617 | request.setValue(
618 | configuration.credentials.authorizationHeader,
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:626:51: error: cannot find type 'URLRequest' in scope
624 | }
625 |
626 | private func perform<T: Decodable>(_ request: URLRequest) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
627 | let (data, _) = try await performRaw(request)
628 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:40: error: cannot find type 'URLRequest' in scope
634 | }
635 |
636 | private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
637 | var lastError: Error?
638 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
634 | }
635 |
636 | private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
637 | var lastError: Error?
638 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
[176/382] Compiling v3_pmaps.cc
[176/382] Compiling v3_purp.cc
[176/382] Compiling v3_ocsp.cc
[176/382] Compiling v3_ncons.cc
[176/382] Compiling v3_prn.cc
[176/382] Compiling v3_pcons.cc
[176/382] Compiling v3_utl.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/209] Compiling v3_prn.cc
[3/209] Compiling v3_lib.cc
[4/209] Compiling v3_ncons.cc
[5/209] Compiling v3_pcons.cc
[6/209] Compiling v3_utl.cc
[7/209] Compiling v3_pmaps.cc
[8/209] Compiling v3_purp.cc
[9/209] Compiling v3_ocsp.cc
[10/209] Write swift-version-24593BA9C3E375BF.txt
[11/209] Compiling v3_ia5.cc
[12/209] Compiling v3_int.cc
[13/209] Compiling v3_enum.cc
[14/209] Compiling v3_crld.cc
[15/209] Compiling v3_genn.cc
[16/209] Compiling v3_info.cc
[17/216] Compiling v3_extku.cc
[18/216] Compiling v3_cpols.cc
[20/216] Compiling Pinata PinataCredentials.swift
[21/216] Compiling Pinata PinataConfiguration.swift
[22/216] Compiling Pinata PinataError.swift
[23/216] Compiling Pinata Pinata.swift
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:27:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | /// The URL session used for requests.
27 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 | /// JSON decoder configured for Pinata API responses.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | public init(
41 | configuration: PinataConfiguration,
42 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | ) {
44 | self.configuration = configuration
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | public init(
41 | configuration: PinataConfiguration,
42 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
43 | ) {
44 | self.configuration = configuration
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | jwt: String,
85 | gatewayDomain: String? = nil,
86 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | ) {
88 | self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
84 | jwt: String,
85 | gatewayDomain: String? = nil,
86 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
87 | ) {
88 | self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | apiSecret: String,
104 | gatewayDomain: String? = nil,
105 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 | ) {
107 | self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
103 | apiSecret: String,
104 | gatewayDomain: String? = nil,
105 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
106 | ) {
107 | self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:616:56: error: cannot find type 'URLRequest' in scope
614 | private static let baseRetryDelay: UInt64 = 500_000_000
615 |
616 | private func applyAuthentication(to request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
617 | request.setValue(
618 | configuration.credentials.authorizationHeader,
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:626:51: error: cannot find type 'URLRequest' in scope
624 | }
625 |
626 | private func perform<T: Decodable>(_ request: URLRequest) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
627 | let (data, _) = try await performRaw(request)
628 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:40: error: cannot find type 'URLRequest' in scope
634 | }
635 |
636 | private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
637 | var lastError: Error?
638 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
634 | }
635 |
636 | private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
637 | var lastError: Error?
638 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:141:23: error: cannot find 'URLRequest' in scope
139 | let url = PinataConfiguration.uploadBaseURL.appendingPathComponent("v3/files")
140 |
141 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
142 | request.httpMethod = "POST"
143 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:254:23: error: cannot find 'URLRequest' in scope
252 | }
253 |
254 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
255 | request.httpMethod = "GET"
256 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:282:23: error: cannot find 'URLRequest' in scope
280 | .appendingPathComponent(id)
281 |
282 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
283 | request.httpMethod = "GET"
284 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:308:23: error: cannot find 'URLRequest' in scope
306 | .appendingPathComponent(id)
307 |
308 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
309 | request.httpMethod = "DELETE"
310 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:354:23: error: cannot find 'URLRequest' in scope
352 | .appendingPathComponent(id)
353 |
354 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
355 | request.httpMethod = "PUT"
356 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:406:23: error: cannot find 'URLRequest' in scope
404 | .appendingPathComponent(cid)
405 |
406 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
407 | request.httpMethod = "PUT"
408 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:453:23: error: cannot find 'URLRequest' in scope
451 | }
452 |
453 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
454 | request.httpMethod = "GET"
455 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:482:23: error: cannot find 'URLRequest' in scope
480 | .appendingPathComponent(cid)
481 |
482 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
483 | request.httpMethod = "DELETE"
484 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:507:23: error: cannot find 'URLRequest' in scope
505 | let url = PinataConfiguration.apiBaseURL.appendingPathComponent("v3/files/groups")
506 |
507 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
508 | request.httpMethod = "POST"
509 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:557:23: error: cannot find 'URLRequest' in scope
555 | }
556 |
557 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
558 | request.httpMethod = "GET"
559 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:579:23: error: cannot find 'URLRequest' in scope
577 | .appendingPathComponent(id)
578 |
579 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
580 | request.httpMethod = "GET"
581 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:599:23: error: cannot find 'URLRequest' in scope
597 | .appendingPathComponent(id)
598 |
599 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
600 | request.httpMethod = "DELETE"
601 | applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:641:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
639 | for attempt in 0..<Self.maxRetries {
640 | do {
641 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
642 |
643 | guard let httpResponse = response as? HTTPURLResponse else {
[24/216] Compiling Pinata PinataGroup.swift
[24/216] Compiling v3_conf.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/216] Compiling Pinata PinataFile.swift
[27/216] Emitting module Pinata
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:27:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | /// The URL session used for requests.
27 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 | /// JSON decoder configured for Pinata API responses.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | public init(
41 | configuration: PinataConfiguration,
42 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | ) {
44 | self.configuration = configuration
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | public init(
41 | configuration: PinataConfiguration,
42 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
43 | ) {
44 | self.configuration = configuration
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | jwt: String,
85 | gatewayDomain: String? = nil,
86 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | ) {
88 | self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
84 | jwt: String,
85 | gatewayDomain: String? = nil,
86 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
87 | ) {
88 | self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | apiSecret: String,
104 | gatewayDomain: String? = nil,
105 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 | ) {
107 | self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
103 | apiSecret: String,
104 | gatewayDomain: String? = nil,
105 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
106 | ) {
107 | self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:616:56: error: cannot find type 'URLRequest' in scope
614 | private static let baseRetryDelay: UInt64 = 500_000_000
615 |
616 | private func applyAuthentication(to request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
617 | request.setValue(
618 | configuration.credentials.authorizationHeader,
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:626:51: error: cannot find type 'URLRequest' in scope
624 | }
625 |
626 | private func perform<T: Decodable>(_ request: URLRequest) async throws -> T {
| `- error: cannot find type 'URLRequest' in scope
627 | let (data, _) = try await performRaw(request)
628 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:40: error: cannot find type 'URLRequest' in scope
634 | }
635 |
636 | private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
637 | var lastError: Error?
638 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
634 | }
635 |
636 | private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
637 | var lastError: Error?
638 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
[27/216] Compiling v3_alt.cc
[28/216] Compiling v3_bcons.cc
[29/216] Compiling t_x509.cc
[29/216] Compiling t_req.cc
[29/216] Compiling v3_bitst.cc
[29/216] Compiling t_crl.cc
[29/216] Compiling v3_akeya.cc
[29/216] Compiling v3_akey.cc
[29/216] Compiling t_x509a.cc
BUILD FAILURE 6.1 wasm