The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CredentialsToken, reference 0.2.0 (01359f), with Swift 6.0 for Linux on 1 Nov 2024 05:53:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krugazor/credentialstoken.git
Reference: 0.2.0
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/krugazor/credentialstoken
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 01359f1 Merge branch 'release/0.2.0'
Cloned https://github.com/krugazor/credentialstoken.git
Revision (git rev-parse @):
01359f1c94358105afddfc3595f3d6c920520b9d
SUCCESS checkout https://github.com/krugazor/credentialstoken.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/krugazor/credentialstoken.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/IBM-Swift/Kitura-Credentials
Fetching https://github.com/krugazor/DictionaryCoding
Fetching https://github.com/IBM-Swift/Kitura-Session.git
[1/48] Fetching dictionarycoding
[49/1609] Fetching dictionarycoding, kitura-session
[143/3406] Fetching dictionarycoding, kitura-session, kitura-credentials
Fetched https://github.com/krugazor/DictionaryCoding from cache (0.27s)
Fetched https://github.com/IBM-Swift/Kitura-Session.git from cache (0.27s)
Fetched https://github.com/IBM-Swift/Kitura-Credentials from cache (0.27s)
Computing version for https://github.com/krugazor/DictionaryCoding
Computed https://github.com/krugazor/DictionaryCoding at 0.2.1 (0.49s)
Computing version for https://github.com/IBM-Swift/Kitura-Credentials
Computed https://github.com/IBM-Swift/Kitura-Credentials at 2.5.200 (0.51s)
Computing version for https://github.com/IBM-Swift/Kitura-Session.git
Computed https://github.com/IBM-Swift/Kitura-Session.git at 3.3.201 (0.50s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1652] Fetching bluecryptor
[1653/18561] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.22s)
[508/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (1.50s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (0.52s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.60s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.20s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.54s)
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/2543] Fetching kituracontracts
[281/2981] Fetching kituracontracts, kitura-templateengine
[451/3752] Fetching kituracontracts, kitura-templateengine, loggerapi
[1088/13296] Fetching kituracontracts, kitura-templateengine, loggerapi, kitura-net
[1238/13755] Fetching kituracontracts, kitura-templateengine, loggerapi, kitura-net, typedecoder
[1819/17415] Fetching kituracontracts, kitura-templateengine, loggerapi, kitura-net, typedecoder, swift-log
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.43s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.43s)
[10983/16518] Fetching kituracontracts, loggerapi, kitura-net, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
[7418/12858] Fetching kituracontracts, loggerapi, kitura-net
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.43s)
[4971/10315] Fetching loggerapi, kitura-net
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.67s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.68s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.49s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.52s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSignals.git
[1/2088] Fetching bluesslservice
[565/5030] Fetching bluesslservice, bluesocket
[2465/5684] Fetching bluesslservice, bluesocket, bluesignals
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.25s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.30s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.30s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.56s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.49s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.50s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.48s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.52s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.44s)
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
Creating working copy for https://github.com/IBM-Swift/Kitura-Credentials
Working copy of https://github.com/IBM-Swift/Kitura-Credentials resolved at 2.5.200
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/IBM-Swift/Kitura-Session.git
Working copy of https://github.com/IBM-Swift/Kitura-Session.git resolved at 3.3.201
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/krugazor/DictionaryCoding
Working copy of https://github.com/krugazor/DictionaryCoding resolved at 0.2.1
warning: 'kitura-credentials': 'kitura-credentials' dependency on 'https://github.com/Kitura/Kitura-Session.git' conflicts with dependency on 'https://github.com/IBM-Swift/Kitura-Session.git' which has the same identity 'kitura-session'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/18] Write sources
[15/18] Compiling CHTTPParser utils.c
[16/18] Compiling CHTTPParser http_parser.c
[17/18] Write swift-version-24593BA9C3E375BF.txt
[19/48] Emitting module KituraTemplateEngine
[20/48] Compiling KituraTemplateEngine TemplateEngine.swift
[22/49] Compiling Logging MetadataProvider.swift
[23/49] Compiling Logging LogHandler.swift
[24/49] Emitting module Logging
[25/49] Compiling Logging Locks.swift
[26/49] Compiling Logging Logging.swift
[28/52] Emitting module Socket
[29/52] Compiling Socket Socket.swift
[30/52] Compiling Signals Signals.swift
[31/52] Emitting module Signals
[32/52] Compiling Socket SocketUtils.swift
[33/53] Compiling TypeDecoder OrderedDictionary.swift
[34/53] Compiling TypeDecoder TypeDecoder.swift
[35/53] Emitting module TypeDecoder
[36/54] Compiling Cryptor Updatable.swift
[37/54] Compiling Cryptor StreamCryptor.swift
[38/55] Compiling Cryptor SSLPointerTricks.swift
[39/55] Compiling Cryptor KeyDerivation.swift
[40/55] Compiling Cryptor Random.swift
[41/55] Compiling Cryptor Status.swift
[43/55] Compiling Socket SocketProtocols.swift
[44/56] Emitting module Cryptor
[45/56] Compiling Cryptor Digest.swift
[46/56] Compiling Cryptor HMAC.swift
[47/56] Compiling Cryptor Crypto.swift
[48/56] Compiling Cryptor Cryptor.swift
[51/56] Compiling DictionaryCoding StorageWrappers.swift
[52/56] Emitting module DictionaryCoding
[53/56] Compiling DictionaryCoding DictionaryCoding.swift
[55/60] Compiling LoggerAPI Logger.swift
[56/60] Emitting module LoggerAPI
[57/61] Compiling Cryptor Utilities.swift
[60/71] Compiling KituraContracts ClosureAliases.swift
[61/72] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |        `- error: cannot find 'SSL_get_peer_certificate' in scope
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |                                  `- error: cannot infer contextual base in reference to member 'make'
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
[62/72] Compiling SSLService SSLPointerTricks.swift
[63/72] Emitting module SSLService
[64/72] Compiling KituraContracts Coder.swift
[65/72] Compiling KituraContracts Extensions.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/Extensions.swift:214:25: error: 'let' binding pattern cannot appear in an expression
212 |
213 |         switch decoderStrategy {
214 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
215 |             let strs: [String] = self.components(separatedBy: ",")
216 |             let dates = strs.map { formatter.date(from: $0) }.filter { $0 != nil }.map { $0! }
BUILD FAILURE 6.0 linux