Build Information
Failed to build SwiftCardanoTokenRegistry, reference main (0086e3), with Swift 6.4 for Linux on 9 Nov 2026 11:38:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kingpin-Apps/swift-cardano-token-registry.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/Kingpin-Apps/swift-cardano-token-registry
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0086e3d bump: version 0.2.3 → 0.2.4
Cloned https://github.com/Kingpin-Apps/swift-cardano-token-registry.git
Revision (git rev-parse @):
0086e3de74156c6914ac12aeb69658ecf04062eb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kingpin-Apps/swift-cardano-token-registry.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/Kingpin-Apps/swift-cardano-token-registry.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:b44244c3c3fc9f2af9eceb487c9bff83319ab045277845df83db1e4f60420d2c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/Kingpin-Apps/swift-cardano-core.git
Fetching https://github.com/Kingpin-Apps/swift-cbor-codable.git
Fetching https://github.com/Kingpin-Apps/swift-nacl.git
Fetching https://github.com/mgacy/swift-version-file-plugin
[1/400] Fetching swift-cbor-codable
Fetched https://github.com/Kingpin-Apps/swift-cbor-codable.git (0.41s)
[1/18924] Fetching swift-crypto
[191/25866] Fetching swift-crypto, swift-cardano-core
[450/26981] Fetching swift-crypto, swift-cardano-core, swift-nacl
[618/27188] Fetching swift-crypto, swift-cardano-core, swift-nacl, swift-version-file-plugin
[9408/46564] Fetching swift-crypto, swift-cardano-core, swift-nacl, swift-version-file-plugin, swift-argument-parser
Fetched https://github.com/mgacy/swift-version-file-plugin (0.65s)
[19445/46357] Fetching swift-crypto, swift-cardano-core, swift-nacl, swift-argument-parser
Fetched https://github.com/Kingpin-Apps/swift-cardano-core.git (0.67s)
[17734/39415] Fetching swift-crypto, swift-nacl, swift-argument-parser
Fetched https://github.com/Kingpin-Apps/swift-nacl.git (0.67s)
[17007/38300] Fetching swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (1.38s)
Fetched https://github.com/apple/swift-crypto.git (1.39s)
Computing version for https://github.com/Kingpin-Apps/swift-nacl.git
Computed https://github.com/Kingpin-Apps/swift-nacl.git at 2.0.0 (2.29s)
Fetching https://github.com/norio-nomura/Base32.git
Fetching https://github.com/attaswift/BigInt.git
[1/1168] Fetching base32
[1169/6122] Fetching base32, bigint
Fetched https://github.com/norio-nomura/Base32.git (0.58s)
Fetched https://github.com/attaswift/BigInt.git (0.58s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (1.46s)
Computing version for https://github.com/mgacy/swift-version-file-plugin
Computed https://github.com/mgacy/swift-version-file-plugin at 0.3.0 (0.14s)
Computing version for https://github.com/Kingpin-Apps/swift-cbor-codable.git
Computed https://github.com/Kingpin-Apps/swift-cbor-codable.git at 0.6.0 (0.13s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
[1/310] Fetching float16
[311/30181] Fetching float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git (1.23s)
Fetched https://github.com/apple/swift-collections.git (1.25s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (2.11s)
Fetching https://github.com/apple/swift-numerics
[1/6849] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (0.58s)
Computing version for https://github.com/Kingpin-Apps/swift-cardano-core.git
Computed https://github.com/Kingpin-Apps/swift-cardano-core.git at 0.11.2 (0.72s)
Fetching https://github.com/Kingpin-Apps/swift-kes.git
Fetching https://github.com/Kingpin-Apps/swift-base58.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/swift-fraction-number.git
[1/122] Fetching swift-base58
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[123/286] Fetching swift-base58, swift-kes
Fetched https://github.com/Kingpin-Apps/swift-base58.git (0.36s)
[9/164] Fetching swift-kes
Fetching https://github.com/Kingpin-Apps/swift-mnemonic.git
[165/8504] Fetching swift-kes, swift-log
Fetched https://github.com/Kingpin-Apps/swift-kes.git (0.38s)
[84/8340] Fetching swift-log
[8341/8366] Fetching swift-log, swift-fraction-number
Fetched https://github.com/Frizlab/swift-fraction-number.git (0.44s)
Fetching https://github.com/mxcl/Version.git
Fetched https://github.com/apple/swift-log.git (0.50s)
[1/280] Fetching swift-mnemonic
Fetched https://github.com/Kingpin-Apps/swift-mnemonic.git (0.42s)
[1/311] Fetching version
Fetched https://github.com/mxcl/Version.git (0.35s)
[1/13446] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.59s)
Computing version for https://github.com/Kingpin-Apps/swift-mnemonic.git
Computed https://github.com/Kingpin-Apps/swift-mnemonic.git at 0.3.0 (2.09s)
Computing version for https://github.com/Kingpin-Apps/swift-kes.git
Computed https://github.com/Kingpin-Apps/swift-kes.git at 1.0.5 (0.13s)
Computing version for https://github.com/Kingpin-Apps/swift-base58.git
Computed https://github.com/Kingpin-Apps/swift-base58.git at 0.2.0 (0.13s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.2.1 (0.16s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (0.16s)
Computing version for https://github.com/Frizlab/swift-fraction-number.git
Computed https://github.com/Frizlab/swift-fraction-number.git at 0.2.0 (0.12s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.23s)
Fetching https://github.com/apple/swift-asn1.git
[1/2065] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.46s)
Computing version for https://github.com/attaswift/BigInt.git
warning: 'bigint': /Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 | .iOS(.v12),
17 | .tvOS(.v12),
18 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 | .macCatalyst(.v13),
20 | .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/attaswift/BigInt.git at 6.0.1 (0.60s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.13s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (0.15s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.23s)
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.2.1
Creating working copy for https://github.com/Kingpin-Apps/swift-base58.git
Working copy of https://github.com/Kingpin-Apps/swift-base58.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 6.0.1
Creating working copy for https://github.com/Kingpin-Apps/swift-nacl.git
Working copy of https://github.com/Kingpin-Apps/swift-nacl.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.0
Creating working copy for https://github.com/Kingpin-Apps/swift-cbor-codable.git
Working copy of https://github.com/Kingpin-Apps/swift-cbor-codable.git resolved at 0.6.0
Creating working copy for https://github.com/Frizlab/swift-fraction-number.git
Working copy of https://github.com/Frizlab/swift-fraction-number.git resolved at 0.2.0
Creating working copy for https://github.com/mgacy/swift-version-file-plugin
Working copy of https://github.com/mgacy/swift-version-file-plugin resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/Kingpin-Apps/swift-cardano-core.git
Working copy of https://github.com/Kingpin-Apps/swift-cardano-core.git resolved at 0.11.2
Creating working copy for https://github.com/Kingpin-Apps/swift-kes.git
Working copy of https://github.com/Kingpin-Apps/swift-kes.git resolved at 1.0.5
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.10.0
Creating working copy for https://github.com/Kingpin-Apps/swift-mnemonic.git
Working copy of https://github.com/Kingpin-Apps/swift-mnemonic.git resolved at 0.3.0
Creating working copy for https://github.com/norio-nomura/Base32.git
Working copy of https://github.com/norio-nomura/Base32.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
warning: 'bigint': /host/spi-builder-workspace/.build/checkouts/BigInt/Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 | .iOS(.v12),
17 | .tvOS(.v12),
18 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 | .macCatalyst(.v13),
20 | .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1048]
[Planning 1018 / 1048]
[Planning deferred tasks]
[Starting]
[40 / 831] SwiftMnemonic
[207 / 846] _NumericsShims
[217 / 873] CryptoSwift
[225 / 882] Clibsodium
[231 / 882] Clibsodium
[246 / 882] Clibsodium
[254 / 882] Clibsodium
[261 / 882] Clibsodium
[276 / 882] Clibsodium
[298 / 882] Clibsodium
[312 / 882] Clibsodium
[322 / 882] Clibsodium
[335 / 882] Version-product
[337 / 882] RealModule
[345 / 882] Version
[348 / 882] Version
[351 / 882] Logging-product
[355 / 883] RealModule
[357 / 883] Logging
[360 / 883] OrderedCollections
[363 / 883] InternalCollectionsUtilities
[365 / 883] FractionNumber-product
[368 / 883] Logging
[370 / 884] Logging
[372 / 884] Logging
[376 / 886] FractionNumber
[380 / 886] CryptoSwift
[380 / 886] Clibsodium
[383 / 887] Version
[386 / 887]
[389 / 896] InternalCollectionsUtilities
[391 / 896] CryptoBoringWrapper
[392 / 896] CryptoBoringWrapper
[398 / 896] CryptoBoringWrapper
[400 / 896] CryptoBoringWrapper
[401 / 896] Crypto
[405 / 896] CXKCP
[411 / 898] BigInt
[416 / 916] BigInt
[418 / 917] CryptoSwift
[421 / 917] CCryptoBoringSSL
[424 / 917] BigInt
[429 / 918] CCryptoBoringSSL
[430 / 918] CCryptoBoringSSL
[434 / 918] CCryptoBoringSSL
[439 / 918] CCryptoBoringSSL
[443 / 918] CCryptoBoringSSL
[445 / 918] CCryptoBoringSSL
[446 / 918] CCryptoBoringSSL
[451 / 918] CCryptoBoringSSL
[452 / 918] CCryptoBoringSSL
[455 / 918] CCryptoBoringSSL
[457 / 918] CCryptoBoringSSL
[460 / 918] CCryptoBoringSSL
[471 / 918] OrderedCollections
[477 / 918] CCryptoBoringSSL
[481 / 918] CCryptoBoringSSL
[484 / 918] CCryptoBoringSSL
[488 / 918] CCryptoBoringSSL
[491 / 918] CCryptoBoringSSL
[492 / 918] CCryptoBoringSSL
[495 / 918] CCryptoBoringSSL
[496 / 918] CCryptoBoringSSL
[497 / 918] CCryptoBoringSSL
[499 / 918] CCryptoBoringSSL
[503 / 918] CCryptoBoringSSL
[505 / 918] CCryptoBoringSSL
[508 / 918] CCryptoBoringSSL
[513 / 918] CCryptoBoringSSL
[514 / 918] CCryptoBoringSSL
[519 / 918] CCryptoBoringSSL
[520 / 918] CCryptoBoringSSL
[523 / 918] CCryptoBoringSSL
[528 / 918] CCryptoBoringSSL
[538 / 918] CCryptoBoringSSL
[552 / 918] CCryptoBoringSSL
[558 / 918] CCryptoBoringSSL
[561 / 918] CCryptoBoringSSL
[566 / 918] CCryptoBoringSSL
[570 / 918] CCryptoBoringSSL
[574 / 918] CCryptoBoringSSL
[575 / 918] CCryptoBoringSSL
[578 / 918] CCryptoBoringSSL
[579 / 918] CCryptoBoringSSL
[582 / 918] CCryptoBoringSSL
[583 / 918] CCryptoBoringSSL
[584 / 918] CCryptoBoringSSL
[587 / 918] CCryptoBoringSSL
[591 / 918] CCryptoBoringSSL
[592 / 918] CCryptoBoringSSL
[596 / 918] CCryptoBoringSSL
[599 / 918] CCryptoBoringSSL
[601 / 918] CCryptoBoringSSL
[604 / 918] CCryptoBoringSSL
[615 / 918] CCryptoBoringSSL
[619 / 918] CCryptoBoringSSL
[628 / 918] CCryptoBoringSSL
[630 / 918] CCryptoBoringSSL
[634 / 918] CCryptoBoringSSL
[641 / 918] CCryptoBoringSSL
[654 / 918] CCryptoBoringSSL
[658 / 918] CCryptoBoringSSL
[659 / 918] CCryptoBoringSSL
[664 / 918] CCryptoBoringSSL
[668 / 918] CCryptoBoringSSL
[669 / 918] CCryptoBoringSSL
[674 / 918] CCryptoBoringSSL
[677 / 918] CCryptoBoringSSL
[682 / 918] CCryptoBoringSSL
[685 / 918] CCryptoBoringSSL
[687 / 918] CCryptoBoringSSL
[690 / 918] CCryptoBoringSSL
[693 / 918] CCryptoBoringSSL
[697 / 918] CCryptoBoringSSL
[702 / 918] CCryptoBoringSSL
[704 / 918] CCryptoBoringSSL
[712 / 918] CCryptoBoringSSL
[721 / 918] CCryptoBoringSSL
[729 / 918] CCryptoBoringSSL
[731 / 918] CCryptoBoringSSL
[737 / 918] CCryptoBoringSSL
[739 / 918] CCryptoBoringSSL
[741 / 918] CCryptoBoringSSL
[746 / 918] CCryptoBoringSSL
[751 / 918] CCryptoBoringSSL
[762 / 918] CCryptoBoringSSL
[772 / 918] CCryptoBoringSSL
[776 / 918] CCryptoBoringSSL
[777 / 918] CCryptoBoringSSL
[778 / 918] CCryptoBoringSSL
[783 / 918] CCryptoBoringSSL
[784 / 918] CCryptoBoringSSL
[786 / 918] CCryptoBoringSSL
[790 / 918] CCryptoBoringSSL
[792 / 918] CCryptoBoringSSL
[794 / 918] OrderedCollections
[796 / 918] OrderedCollections
[796 / 918] Logging
[800 / 918] CryptoBoringWrapper
[802 / 918] BigInt
[804 / 918] BigInt-product
[805 / 918] BigInt-product
[806 / 918] OrderedCollections
[808 / 919] BigInt
[815 / 931] Base32
[818 / 933] ArgumentParserToolInfo
[821 / 933] Base32
[834 / 933] Base32
[837 / 934] BigInt
[840 / 934]
[846 / 944] SwiftNaCl
[846 / 944] Base32
[849 / 945] Float16
[855 / 946] SwiftNaCl
[856 / 947] OrderedCollections
[865 / 947] CBORCodable
[871 / 949] SwiftKES
[874 / 967] Crypto
[882 / 967] SwiftKES
[883 / 967] SwiftKES-product
[885 / 967] SwiftKES-product
[888 / 967] Crypto
[891 / 968] SwiftKES
[893 / 968] SwiftKES
[894 / 968] SwiftNaCl
[897 / 969] Crypto
[904 / 970]
[906 / 972] SwiftBase58
[913 / 974] ArgumentParser
[914 / 984] ArgumentParser
[915 / 992] ArgumentParser
[917 / 992] CBORCodable
[918 / 993] SwiftBase58
[920 / 993] SwiftBase58
[924 / 993] CBORCodable
[931 / 993] ArgumentParser
[936 / 993] CBORCodable-product
[939 / 994] Crypto
[940 / 994] CBORCodable
[942 / 994] ArgumentParser-product
[944 / 994] ArgumentParser-product
[946 / 994] ArgumentParser
[946 / 994]
[950 / 995] Float16
[957 / 1003] SwiftNaCl
[960 / 1003] SwiftMnemonic
[962 / 1003] CCryptoBoringSSLShims
[965 / 1003]
[966 / 1003] SwiftMnemonic
[966 / 1003] ArgumentParser
[969 / 1004] SwiftMnemonic
[976 / 1005] SwiftCardanoCore
[984 / 1014] SwiftCardanoCore
[985 / 1014] SwiftCardanoCore
[987 / 1014] SwiftCardanoCore
[991 / 1015] SwiftCardanoTokenRegistry
[993 / 1024] SwiftCardanoTokenRegistry
[994 / 1024] SwiftCardanoTokenRegistry
[996 / 1024] SwiftCardanoTokenRegistry
[1001 / 1024] SwiftCardanoTokenRegistry
[1002 / 1024] SwiftCardanoTokenRegistryClient
[1005 / 1024]
[1008 / 1032] SwiftCardanoTokenRegistryClient
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/RegistryClient.swift:14:25: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m public struct RegistryClient: Sendable {
[0;36m13 |[0;0m public let baseURL: URL
[0;36m14 |[0;0m public let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m public init(baseURL: URL = Endpoint.mainnet, session: URLSession = .shared) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/RegistryClient.swift:16:59: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m public let session: URLSession
[0;36m15 |[0;0m
[0;36m16 |[0;0m public init(baseURL: URL = Endpoint.mainnet, session: [4;39mURLSession[0;0m = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m self.baseURL = baseURL
[0;36m18 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/RegistryClient.swift:16:73: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m14 |[0;0m public let session: URLSession
[0;36m15 |[0;0m
[0;36m16 |[0;0m public init(baseURL: URL = Endpoint.mainnet, session: URLSession = [4;39m.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m17 |[0;0m self.baseURL = baseURL
[0;36m18 |[0;0m self.session = session
/host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/RegistryClient.swift:16:73: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m14 |[0;0m public let session: URLSession
[0;36m15 |[0;0m
[0;36m16 |[0;0m public init(baseURL: URL = Endpoint.mainnet, session: URLSession = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m17 |[0;0m self.baseURL = baseURL
[0;36m18 |[0;0m self.session = session
/host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/RegistryClient.swift:99:19: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m
[0;36m98 |[0;0m private func classify(
[0;36m99 |[0;0m response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m100 |[0;0m body: Data
[0;36m101 |[0;0m ) throws -> Classified {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/RegistryClient.swift:14:16: [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'RegistryClient' has non-Sendable type 'AnyObject'[0;0m
[0;36m12 |[0;0m public struct RegistryClient: Sendable {
[0;36m13 |[0;0m public let baseURL: URL
[0;36m14 |[0;0m public let session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'RegistryClient' has non-Sendable type 'AnyObject'[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m public init(baseURL: URL = Endpoint.mainnet, session: URLSession = .shared) {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/BatchQuery.swift /host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/ClientError.swift /host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/Endpoint.swift /host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/RegistryClient.swift /host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/SwiftCardanoTokenRegistryClient.swift /host/spi-builder-workspace/Sources/SwiftCardanoTokenRegistryClient/Version.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CFloat16.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nacl/ClibsodiumLinuxSource/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/Float16/Sources/CFloat16/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nacl/ClibsodiumLinuxSource/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCardanoTokenRegistryClient -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/Objects-normal/x86_64/SwiftCardanoTokenRegistryClient_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/Objects-normal/x86_64/Modules/SwiftCardanoTokenRegistryClient.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/Objects-normal/x86_64/Modules/SwiftCardanoTokenRegistryClient.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/Objects-normal/x86_64/SwiftCardanoTokenRegistryClient-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/Objects-normal/x86_64/SwiftCardanoTokenRegistryClient-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/Objects-normal/x86_64/SwiftCardanoTokenRegistryClient-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCardanoTokenRegistry.build/Debug-linux-x86_64/SwiftCardanoTokenRegistryClient-t.build/Objects-normal/x86_64/Modules/SwiftCardanoTokenRegistryClient.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux