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 TitanLoggingSwiftyBeaver, reference master (45e2c1), with Swift 6.0 for Linux on 27 Nov 2024 08:57:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bermudadigitalstudio/titanloggingswiftybeaver.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/bermudadigitalstudio/titanloggingswiftybeaver
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 45e2c1b Support Titan 0.8.0
Cloned https://github.com/bermudadigitalstudio/titanloggingswiftybeaver.git
Revision (git rev-parse @):
45e2c1b057ffc875f99378e4450b1266c789db00
SUCCESS checkout https://github.com/bermudadigitalstudio/titanloggingswiftybeaver.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bermudadigitalstudio/titanloggingswiftybeaver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
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/bermudadigitalstudio/Titan.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
[1/1161] Fetching titan
[1162/5012] Fetching titan, swiftybeaver
Fetched https://github.com/bermudadigitalstudio/Titan.git from cache (0.21s)
[1387/3851] Fetching swiftybeaver
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (0.41s)
Computing version for https://github.com/bermudadigitalstudio/Titan.git
Computed https://github.com/bermudadigitalstudio/Titan.git at 0.9.0 (0.62s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (2.52s)
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.6
Creating working copy for https://github.com/bermudadigitalstudio/Titan.git
Working copy of https://github.com/bermudadigitalstudio/Titan.git resolved at 0.9.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/23] Emitting module TitanCore
[6/23] Compiling TitanCore TitanResponse.swift
[7/23] Compiling SwiftyBeaver GoogleCloudDestination.swift
[8/24] Compiling SwiftyBeaver BaseDestination.swift
[9/24] Compiling SwiftyBeaver ConsoleDestination.swift
[10/24] Compiling TitanCore TitanLogs.swift
[11/24] Compiling TitanCore TitanMethod.swift
[12/24] Compiling TitanCore TitanRequest.swift
[13/24] Compiling SwiftyBeaver SBPlatformDestination.swift
[14/24] Compiling SwiftyBeaver Extensions.swift
[15/24] Compiling SwiftyBeaver FileDestination.swift
[16/24] Compiling SwiftyBeaver FilterValidator.swift
[17/24] Compiling SwiftyBeaver Filter.swift
[18/24] Compiling TitanCore TitanHeader.swift
[19/24] Compiling TitanCore TitanError.swift
[20/24] Compiling TitanCore TitanCore.swift
[21/25] Compiling SwiftyBeaver AES256CBC.swift
[22/25] Compiling SwiftyBeaver Base64.swift
[23/25] Emitting module SwiftyBeaver
[25/25] Compiling SwiftyBeaver SwiftyBeaver.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/28] Emitting module TitanLoggingSwiftyBeaver
/host/spi-builder-workspace/Sources/TitanLoggingSwiftyBeaver/TitanLoggingSwiftyBeaver.swift:4:55: error: cannot find type 'Function' in scope
 2 | import TitanCore
 3 |
 4 | public func logRequests(logger: SwiftyBeaver.Type) -> Function {
   |                                                       `- error: cannot find type 'Function' in scope
 5 |   return { req, res in
 6 |     logger.debug("Servicing request: \(req)")
/host/spi-builder-workspace/Sources/TitanLoggingSwiftyBeaver/TitanLoggingSwiftyBeaver.swift:11:56: error: cannot find type 'Function' in scope
 9 | }
10 |
11 | public func logResponses(logger: SwiftyBeaver.Type) -> Function {
   |                                                        `- error: cannot find type 'Function' in scope
12 |   return { req, res in
13 |     logger.debug("Returning response: \(res)")
/host/spi-builder-workspace/Sources/TitanLoggingSwiftyBeaver/TitanLoggingSwiftyBeaver.swift:18:59: error: cannot find type 'Function' in scope
16 | }
17 |
18 | public func logServerErrors(logger: SwiftyBeaver.Type) -> Function {
   |                                                           `- error: cannot find type 'Function' in scope
19 |   return { req, res in
20 |     if 500..<600 ~= res.code {
[28/28] Compiling TitanLoggingSwiftyBeaver TitanLoggingSwiftyBeaver.swift
/host/spi-builder-workspace/Sources/TitanLoggingSwiftyBeaver/TitanLoggingSwiftyBeaver.swift:4:55: error: cannot find type 'Function' in scope
 2 | import TitanCore
 3 |
 4 | public func logRequests(logger: SwiftyBeaver.Type) -> Function {
   |                                                       `- error: cannot find type 'Function' in scope
 5 |   return { req, res in
 6 |     logger.debug("Servicing request: \(req)")
/host/spi-builder-workspace/Sources/TitanLoggingSwiftyBeaver/TitanLoggingSwiftyBeaver.swift:11:56: error: cannot find type 'Function' in scope
 9 | }
10 |
11 | public func logResponses(logger: SwiftyBeaver.Type) -> Function {
   |                                                        `- error: cannot find type 'Function' in scope
12 |   return { req, res in
13 |     logger.debug("Returning response: \(res)")
/host/spi-builder-workspace/Sources/TitanLoggingSwiftyBeaver/TitanLoggingSwiftyBeaver.swift:18:59: error: cannot find type 'Function' in scope
16 | }
17 |
18 | public func logServerErrors(logger: SwiftyBeaver.Type) -> Function {
   |                                                           `- error: cannot find type 'Function' in scope
19 |   return { req, res in
20 |     if 500..<600 ~= res.code {
BUILD FAILURE 6.0 linux