Build Information
Failed to build TitanLoggingSwiftyBeaver, reference 1.1.0 (45e2c1
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 08:54:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 1.1.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/bermudadigitalstudio/titanloggingswiftybeaver
* tag 1.1.0 -> FETCH_HEAD
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 1.1.0
========================================
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-4609320-0":/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/bermudadigitalstudio/Titan.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
[1/4057] Fetching swiftybeaver
[1137/5218] Fetching swiftybeaver, titan
Fetched https://github.com/bermudadigitalstudio/Titan.git from cache (1.27s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (1.28s)
Computing version for https://github.com/bermudadigitalstudio/Titan.git
Computed https://github.com/bermudadigitalstudio/Titan.git at 0.9.0 (1.99s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (3.02s)
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 TitanCore TitanMethod.swift
[7/23] Compiling TitanCore TitanError.swift
[8/23] Compiling TitanCore TitanCore.swift
[9/23] Emitting module TitanCore
[10/23] Compiling TitanCore TitanHeader.swift
[11/23] Compiling TitanCore TitanResponse.swift
[12/23] Compiling TitanCore TitanRequest.swift
[13/24] Compiling SwiftyBeaver FilterValidator.swift
[15/25] Compiling SwiftyBeaver SBPlatformDestination.swift
[16/25] Compiling SwiftyBeaver GoogleCloudDestination.swift
[17/25] Compiling SwiftyBeaver BaseDestination.swift
[18/25] Compiling SwiftyBeaver ConsoleDestination.swift
[19/25] Compiling SwiftyBeaver AES256CBC.swift
[20/25] Compiling SwiftyBeaver Base64.swift
[21/25] Compiling SwiftyBeaver Extensions.swift
[22/25] Compiling SwiftyBeaver FileDestination.swift
[23/25] Compiling SwiftyBeaver Filter.swift
[24/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.2 linux