The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build TitanLoggingSwiftyBeaver, reference master (45e2c1), with Swift 6.2 (beta) for Linux on 18 Jun 2025 08:54:35 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/bermudadigitalstudio/titanloggingswiftybeaver.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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/bermudadigitalstudio/Titan.git
[1/1161] Fetching titan
[1162/5218] Fetching titan, swiftybeaver
Fetched https://github.com/bermudadigitalstudio/Titan.git from cache (0.52s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (0.53s)
Computing version for https://github.com/bermudadigitalstudio/Titan.git
Computed https://github.com/bermudadigitalstudio/Titan.git at 0.9.0 (1.03s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (3.20s)
Creating working copy for https://github.com/bermudadigitalstudio/Titan.git
Working copy of https://github.com/bermudadigitalstudio/Titan.git resolved at 0.9.0
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.6
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/23] Compiling TitanCore TitanLogs.swift
[6/23] Compiling SwiftyBeaver BaseDestination.swift
[7/23] Compiling SwiftyBeaver ConsoleDestination.swift
[8/24] Compiling TitanCore TitanHeader.swift
[9/24] Compiling TitanCore TitanResponse.swift
[10/24] Emitting module SwiftyBeaver
[11/24] Compiling TitanCore TitanCore.swift
[12/24] Emitting module TitanCore
[13/24] Compiling TitanCore TitanError.swift
[14/24] Compiling TitanCore TitanMethod.swift
[15/24] Compiling TitanCore TitanRequest.swift
[17/25] Compiling SwiftyBeaver FilterValidator.swift
[18/25] Compiling SwiftyBeaver GoogleCloudDestination.swift
[19/25] Compiling SwiftyBeaver SBPlatformDestination.swift
[20/25] Compiling SwiftyBeaver Extensions.swift
[21/25] Compiling SwiftyBeaver FileDestination.swift
[22/25] Compiling SwiftyBeaver AES256CBC.swift
[23/25] Compiling SwiftyBeaver Base64.swift
[24/25] Compiling SwiftyBeaver Filter.swift
[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.2 linux