Build Information
Failed to build FriendlyId, reference 1.3.2 (4f7bba
), with Swift 6.0 for Linux on 15 Sep 2024 05:56:16 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kdubb/SwiftFriendlyId.git
Reference: 1.3.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/kdubb/SwiftFriendlyId
* tag 1.3.2 -> FETCH_HEAD
HEAD is now at 4f7bba4 Bump argument parser dependency
Cloned https://github.com/kdubb/SwiftFriendlyId.git
Revision (git rev-parse @):
4f7bba4b24558bafbb92fa5fc721e9c6d4c24a0b
SUCCESS checkout https://github.com/kdubb/SwiftFriendlyId.git at 1.3.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/kdubb/SwiftFriendlyId.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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-argument-parser
[1/4706] Fetching bigint
[4707/16875] Fetching bigint, swift-argument-parser
Fetched https://github.com/attaswift/BigInt.git from cache (0.68s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.68s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.2.0 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.89s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/14] Write sources
[6/14] Write swift-version-24593BA9C3E375BF.txt
[8/37] Compiling BigInt Strideable.swift
[9/37] Compiling BigInt String Conversion.swift
[10/39] Emitting module ArgumentParserToolInfo
[11/39] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/40] Compiling BigInt Random.swift
[14/40] Compiling BigInt Shifts.swift
[15/40] Compiling BigInt Square Root.swift
[16/40] Compiling BigInt Floating Point Conversion.swift
[17/40] Compiling BigInt GCD.swift
[18/40] Compiling BigInt Hashable.swift
[19/40] Emitting module BigInt
[19/40] Wrapping AST for ArgumentParserToolInfo for debugging
[21/40] Compiling BigInt Integer Conversion.swift
[22/40] Compiling BigInt Multiplication.swift
[23/40] Compiling BigInt Prime Test.swift
[24/77] Compiling ArgumentParser Option.swift
[25/77] Compiling ArgumentParser OptionGroup.swift
[26/77] Compiling ArgumentParser AsyncParsableCommand.swift
[27/77] Compiling ArgumentParser CommandConfiguration.swift
[28/77] Compiling ArgumentParser EnumerableFlag.swift
[29/82] Compiling ArgumentParser UsageGenerator.swift
[30/82] Compiling ArgumentParser ArgumentVisibility.swift
[31/82] Emitting module ArgumentParser
[33/82] Compiling ArgumentParser CompletionKind.swift
[34/82] Compiling ArgumentParser Errors.swift
[35/82] Compiling ArgumentParser Flag.swift
[36/82] Compiling ArgumentParser NameSpecification.swift
[37/82] Compiling ArgumentParser Name.swift
[38/82] Compiling ArgumentParser Parsed.swift
[39/82] Compiling ArgumentParser ParsedValues.swift
[40/82] Compiling ArgumentParser ParserError.swift
[41/82] Compiling ArgumentParser SplitArguments.swift
[47/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[48/82] Compiling ArgumentParser CollectionExtensions.swift
[49/82] Compiling ArgumentParser Platform.swift
[50/82] Compiling ArgumentParser SequenceExtensions.swift
[51/82] Compiling ArgumentParser StringExtensions.swift
[52/82] Compiling ArgumentParser Tree.swift
[53/82] Compiling ArgumentParser CompletionsGenerator.swift
[54/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[55/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[57/83] Compiling ArgumentParser ExpressibleByArgument.swift
[58/83] Compiling ArgumentParser ParsableArguments.swift
[59/83] Compiling ArgumentParser ParsableArgumentsValidation.swift
[60/83] Compiling ArgumentParser ParsableCommand.swift
[61/83] Compiling ArgumentParser ArgumentDecoder.swift
[62/83] Compiling ArgumentParser ArgumentDefinition.swift
[63/83] Compiling ArgumentParser ArgumentSet.swift
[64/83] Compiling ArgumentParser CommandParser.swift
[65/83] Compiling ArgumentParser InputKey.swift
[66/83] Compiling ArgumentParser InputOrigin.swift
[66/83] Wrapping AST for BigInt for debugging
[72/83] Compiling ArgumentParser Argument.swift
[73/83] Compiling ArgumentParser ArgumentHelp.swift
[74/83] Compiling ArgumentParser DumpHelpGenerator.swift
[75/83] Compiling ArgumentParser HelpCommand.swift
[76/83] Compiling ArgumentParser HelpGenerator.swift
[77/83] Compiling ArgumentParser MessageInfo.swift
[79/84] Wrapping AST for ArgumentParser for debugging
[81/89] Compiling FriendlyId FriendlyId.swift
/host/spi-builder-workspace/Sources/FriendlyId/FriendlyId.swift:21:7: error: cannot find 'uuid_generate_random' in scope
19 | case .random:
20 | withUnsafeMutableBytes(of: &uuid) {
21 | uuid_generate_random($0.baseAddress?.assumingMemoryBound(to: UInt8.self))
| `- error: cannot find 'uuid_generate_random' in scope
22 | }
23 | case .time:
/host/spi-builder-workspace/Sources/FriendlyId/FriendlyId.swift:25:7: error: cannot find 'uuid_generate_time' in scope
23 | case .time:
24 | withUnsafeMutableBytes(of: &uuid) {
25 | uuid_generate_time($0.baseAddress?.assumingMemoryBound(to: UInt8.self))
| `- error: cannot find 'uuid_generate_time' in scope
26 | }
27 | }
[82/89] Compiling FriendlyId Id.swift
/host/spi-builder-workspace/Sources/FriendlyId/Id.swift:12:21: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Id' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Id: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Id' conform to the 'Sendable' protocol
11 |
12 | public static let null = Id(uuid: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0))
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Id' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var uuid: UUID
/host/spi-builder-workspace/Sources/FriendlyId/Id.swift:28:9: error: cannot find 'uuid_generate_random' in scope
26 | case .random:
27 | withUnsafeMutableBytes(of: &uuid) {
28 | uuid_generate_random($0.baseAddress?.assumingMemoryBound(to: UInt8.self))
| `- error: cannot find 'uuid_generate_random' in scope
29 | }
30 | case .time:
/host/spi-builder-workspace/Sources/FriendlyId/Id.swift:32:9: error: cannot find 'uuid_generate_time' in scope
30 | case .time:
31 | withUnsafeMutableBytes(of: &uuid) {
32 | uuid_generate_time($0.baseAddress?.assumingMemoryBound(to: UInt8.self))
| `- error: cannot find 'uuid_generate_time' in scope
33 | }
34 | }
[83/89] Compiling FriendlyId BigUints.swift
/host/spi-builder-workspace/Sources/FriendlyId/BigUints.swift:12:13: warning: let 'half' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |
12 | private let half = BigUInt(1) << 64
| `- warning: let 'half' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | extension BigUInt {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/host/spi-builder-workspace/Sources/FriendlyId/BigUints.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 |
8 | import Foundation
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 |
12 | private let half = BigUInt(1) << 64
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | extension BigUInt {
[84/89] Emitting module FriendlyId
/host/spi-builder-workspace/Sources/FriendlyId/Base62.swift:14:14: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public enum Base62 {
13 |
14 | static let base = BigUInt(62)
| `- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/host/spi-builder-workspace/Sources/FriendlyId/Base62.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 |
8 | import Foundation
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 |
12 | public enum Base62 {
13 |
14 | static let base = BigUInt(62)
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
16 |
/host/spi-builder-workspace/Sources/FriendlyId/BigUints.swift:12:13: warning: let 'half' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |
12 | private let half = BigUInt(1) << 64
| `- warning: let 'half' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | extension BigUInt {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/host/spi-builder-workspace/Sources/FriendlyId/BigUints.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 |
8 | import Foundation
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 |
12 | private let half = BigUInt(1) << 64
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | extension BigUInt {
/host/spi-builder-workspace/Sources/FriendlyId/Id.swift:12:21: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Id' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Id: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Id' conform to the 'Sendable' protocol
11 |
12 | public static let null = Id(uuid: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0))
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Id' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var uuid: UUID
[85/89] Compiling FriendlyId Base62.swift
/host/spi-builder-workspace/Sources/FriendlyId/Base62.swift:14:14: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public enum Base62 {
13 |
14 | static let base = BigUInt(62)
| `- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/host/spi-builder-workspace/Sources/FriendlyId/Base62.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 |
8 | import Foundation
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 |
12 | public enum Base62 {
13 |
14 | static let base = BigUInt(62)
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
16 |
BUILD FAILURE 6.0 linux