Build Information
Failed to build Bulk, reference 1.2.2 (9fb669
), with Swift 6.0 for Linux on 3 Dec 2024 11:31:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/Bulk.git
Reference: 1.2.2
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/FluidGroup/Bulk
* tag 1.2.2 -> FETCH_HEAD
HEAD is now at 9fb6692 Update package (#21)
Cloned https://github.com/FluidGroup/Bulk.git
Revision (git rev-parse @):
9fb669296ffcfc0733dffbbb79706a719716b4d1
SUCCESS checkout https://github.com/FluidGroup/Bulk.git at 1.2.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/FluidGroup/Bulk.git
{
"dependencies" : [
],
"manifest_display_name" : "Bulk",
"name" : "Bulk",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Bulk",
"targets" : [
"Bulk"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BulkLogger",
"targets" : [
"BulkLogger"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "BulkTests",
"module_type" : "SwiftTarget",
"name" : "BulkTests",
"path" : "Tests/BulkTests",
"sources" : [
"BasicTests.swift",
"BufferTests.swift",
"TimerTests.swift"
],
"target_dependencies" : [
"Bulk"
],
"type" : "test"
},
{
"c99name" : "BulkLogger",
"module_type" : "SwiftTarget",
"name" : "BulkLogger",
"path" : "Sources/BulkLogger",
"product_memberships" : [
"BulkLogger"
],
"sources" : [
"LogData.swift",
"Logger.swift",
"Logger/LogBasicFormatter.swift",
"Logger/LogConsoleTarget.swift",
"Logger/LogFileTarget.swift",
"Logger/LogLevelFilterPlugin.swift",
"Logger/NSLogTarget.swift",
"Logger/OSLogTarget.swift"
],
"target_dependencies" : [
"Bulk"
],
"type" : "library"
},
{
"c99name" : "Bulk",
"module_type" : "SwiftTarget",
"name" : "Bulk",
"path" : "Sources/Bulk",
"product_memberships" : [
"Bulk",
"BulkLogger"
],
"sources" : [
"Buffers/Buffer.swift",
"Buffers/FileBuffer.swift",
"Buffers/MemoryBuffer.swift",
"Buffers/PassthroughBuffer.swift",
"Buffers/SerializerType.swift",
"Core/BulkBufferTimer.swift",
"Core/BulkSink.swift",
"Core/CombineBulkSink.swift",
"Core/Target.swift",
"Core/TargetUmbrella.swift",
"Serializer/CodableSerializer.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Bulk Target.swift
[5/15] Compiling Bulk Buffer.swift
/host/spi-builder-workspace/Sources/Bulk/Buffers/FileBuffer.swift:30:3: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'FileManager', consider removing it
28 | }
29 |
30 | nonisolated(unsafe) private let fileManager = FileManager.default
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'FileManager', consider removing it
31 | public let fileURL: URL
32 |
/host/spi-builder-workspace/Sources/Bulk/Buffers/FileBuffer.swift:101:11: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
99 | do {
100 |
101 | try String(contentsOf: fileURL).enumerateLines { l, _ in
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
102 | serializedLines[cursor] = l
103 | cursor += 1
/host/spi-builder-workspace/Sources/Bulk/Buffers/FileBuffer.swift:132:11: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
130 | var lineCount = 0
131 |
132 | try String(contentsOf: fileURL).enumerateLines { _, _ in
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
133 | lineCount += 1
134 | }
[6/15] Compiling Bulk FileBuffer.swift
/host/spi-builder-workspace/Sources/Bulk/Buffers/FileBuffer.swift:30:3: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'FileManager', consider removing it
28 | }
29 |
30 | nonisolated(unsafe) private let fileManager = FileManager.default
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'FileManager', consider removing it
31 | public let fileURL: URL
32 |
/host/spi-builder-workspace/Sources/Bulk/Buffers/FileBuffer.swift:101:11: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
99 | do {
100 |
101 | try String(contentsOf: fileURL).enumerateLines { l, _ in
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
102 | serializedLines[cursor] = l
103 | cursor += 1
/host/spi-builder-workspace/Sources/Bulk/Buffers/FileBuffer.swift:132:11: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
130 | var lineCount = 0
131 |
132 | try String(contentsOf: fileURL).enumerateLines { _, _ in
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
133 | lineCount += 1
134 | }
[7/15] Emitting module Bulk
/host/spi-builder-workspace/Sources/Bulk/Buffers/FileBuffer.swift:30:3: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'FileManager', consider removing it
28 | }
29 |
30 | nonisolated(unsafe) private let fileManager = FileManager.default
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'FileManager', consider removing it
31 | public let fileURL: URL
32 |
[8/15] Compiling Bulk TargetUmbrella.swift
[9/15] Compiling Bulk MemoryBuffer.swift
[10/15] Compiling Bulk PassthroughBuffer.swift
[11/15] Compiling Bulk CombineBulkSink.swift
[12/15] Compiling Bulk BulkSink.swift
[13/15] Compiling Bulk SerializerType.swift
[14/15] Compiling Bulk BulkBufferTimer.swift
[15/15] Compiling Bulk CodableSerializer.swift
[17/24] Compiling BulkLogger NSLogTarget.swift
/host/spi-builder-workspace/Sources/BulkLogger/Logger/OSLogTarget.swift:10:8: error: no such module 'os'
8 | import Foundation
9 |
10 | import os
| `- error: no such module 'os'
11 |
12 | open class OSLogTarget: TargetType {
[18/25] Compiling BulkLogger LogConsoleTarget.swift
/host/spi-builder-workspace/Sources/BulkLogger/Logger/OSLogTarget.swift:10:8: error: no such module 'os'
8 | import Foundation
9 |
10 | import os
| `- error: no such module 'os'
11 |
12 | open class OSLogTarget: TargetType {
[19/25] Compiling BulkLogger LogFileTarget.swift
/host/spi-builder-workspace/Sources/BulkLogger/Logger/OSLogTarget.swift:10:8: error: no such module 'os'
8 | import Foundation
9 |
10 | import os
| `- error: no such module 'os'
11 |
12 | open class OSLogTarget: TargetType {
[20/25] Compiling BulkLogger LogLevelFilterPlugin.swift
/host/spi-builder-workspace/Sources/BulkLogger/Logger/OSLogTarget.swift:10:8: error: no such module 'os'
8 | import Foundation
9 |
10 | import os
| `- error: no such module 'os'
11 |
12 | open class OSLogTarget: TargetType {
[21/25] Compiling BulkLogger LogBasicFormatter.swift
/host/spi-builder-workspace/Sources/BulkLogger/Logger/OSLogTarget.swift:10:8: error: no such module 'os'
8 | import Foundation
9 |
10 | import os
| `- error: no such module 'os'
11 |
12 | open class OSLogTarget: TargetType {
[22/25] Compiling BulkLogger OSLogTarget.swift
/host/spi-builder-workspace/Sources/BulkLogger/Logger/OSLogTarget.swift:10:8: error: no such module 'os'
8 | import Foundation
9 |
10 | import os
| `- error: no such module 'os'
11 |
12 | open class OSLogTarget: TargetType {
[23/25] Compiling BulkLogger LogData.swift
/host/spi-builder-workspace/Sources/BulkLogger/Logger/OSLogTarget.swift:10:8: error: no such module 'os'
8 | import Foundation
9 |
10 | import os
| `- error: no such module 'os'
11 |
12 | open class OSLogTarget: TargetType {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/25] Emitting module BulkLogger
/host/spi-builder-workspace/Sources/BulkLogger/Logger/OSLogTarget.swift:10:8: error: no such module 'os'
8 | import Foundation
9 |
10 | import os
| `- error: no such module 'os'
11 |
12 | open class OSLogTarget: TargetType {
[25/25] Compiling BulkLogger Logger.swift
/host/spi-builder-workspace/Sources/BulkLogger/Logger/OSLogTarget.swift:10:8: error: no such module 'os'
8 | import Foundation
9 |
10 | import os
| `- error: no such module 'os'
11 |
12 | open class OSLogTarget: TargetType {
BUILD FAILURE 6.0 linux