Build Information
Failed to build Log, reference dev (621f59
), with Swift 6.0 for Linux on 25 Dec 2024 16:56:54 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/log.git
Reference: dev
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/space-code/log
* branch dev -> FETCH_HEAD
* [new branch] dev -> origin/dev
HEAD is now at 621f592 Bump the Swift version to 6.0 (#8)
Cloned https://github.com/space-code/log.git
Revision (git rev-parse @):
621f592bab667cad75e3545e51c5e4df4128aa49
SUCCESS checkout https://github.com/space-code/log.git at dev
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/space-code/log.git
https://github.com/space-code/log.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Log",
"name" : "Log",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Log",
"targets" : [
"Log"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LogTests",
"module_type" : "SwiftTarget",
"name" : "LogTests",
"path" : "Tests/LogTests",
"sources" : [
"IntegrationTests/LogIntegrationTests.swift",
"Mocks/ConsoleWriterMock.swift",
"Mocks/LogFormatterMock.swift",
"Mocks/OSWriterMock.swift",
"Mocks/PrinterStrategyMock.swift",
"UnitTests/ConsolePrinterTests.swift",
"UnitTests/LogTests.swift",
"UnitTests/OSPrinterTests.swift",
"UnitTests/PrefixFormatterTests.swift",
"UnitTests/TimestampLogFormatterTests.swift"
],
"target_dependencies" : [
"Log"
],
"type" : "test"
},
{
"c99name" : "Log",
"module_type" : "SwiftTarget",
"name" : "Log",
"path" : "Sources/Log",
"product_memberships" : [
"Log"
],
"sources" : [
"Classes/Core/Formatters/Interfaces/ILogFormatter.swift",
"Classes/Core/Formatters/PrefixLogFormatter.swift",
"Classes/Core/Formatters/TimestampLogFormatter.swift",
"Classes/Core/Logger/ILogger.swift",
"Classes/Core/Logger/Logger.swift",
"Classes/Core/Logger/Strategies/IPrinterStrategy.swift",
"Classes/Core/Logger/Strategies/IStyleLogStrategy.swift",
"Classes/Core/Printers/ConsolePrinter.swift",
"Classes/Core/Printers/Interfaces/IPrinter.swift",
"Classes/Core/Printers/OSPrinter.swift",
"Classes/Helpers/Atomic/Atomic.swift",
"Classes/Helpers/Writers/ConsoleWriter/ConsoleWriter.swift",
"Classes/Helpers/Writers/ConsoleWriter/IConsoleWriter.swift",
"Classes/Helpers/Writers/OSWriter/IOSWriter.swift",
"Classes/Helpers/Writers/OSWriter/OSWriter.swift",
"Classes/Helpers/Writers/OSWriter/Strategies/IOSWriterStrategy.swift",
"Classes/Models/LogLevel.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/18] Emitting module Log
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[4/20] Compiling Log ILogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[5/20] Compiling Log PrefixLogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[6/20] Compiling Log TimestampLogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[7/20] Compiling Log IOSWriterStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[8/20] Compiling Log LogLevel.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[9/20] Compiling Log OSPrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[10/20] Compiling Log Atomic.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[11/20] Compiling Log ConsolePrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[12/20] Compiling Log IPrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[13/20] Compiling Log IOSWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[14/20] Compiling Log OSWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[15/20] Compiling Log IPrinterStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[16/20] Compiling Log IStyleLogStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[17/20] Compiling Log ConsoleWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[18/20] Compiling Log IConsoleWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[19/20] Compiling Log ILogger.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[20/20] Compiling Log Logger.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/17] Compiling Log IPrinterStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[3/17] Compiling Log IStyleLogStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[4/19] Compiling Log ConsolePrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[5/19] Compiling Log IPrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[6/19] Compiling Log OSPrinter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[7/19] Compiling Log Atomic.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[8/19] Compiling Log ConsoleWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[9/19] Compiling Log IConsoleWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[10/19] Compiling Log IOSWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[11/19] Compiling Log OSWriter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[12/19] Compiling Log ILogger.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[13/19] Compiling Log Logger.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[14/19] Compiling Log ILogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[15/19] Compiling Log PrefixLogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[16/19] Compiling Log TimestampLogFormatter.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/19] Emitting module Log
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[18/19] Compiling Log IOSWriterStrategy.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
[19/19] Compiling Log LogLevel.swift
/host/spi-builder-workspace/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
5 |
6 | import Foundation
7 | import OSLog
| `- error: no such module 'OSLog'
8 |
9 | // MARK: - OSPrinter
BUILD FAILURE 6.0 linux