Build Information
Failed to build BytePattern, reference 0.0.6 (663d34
), with Swift 6.1 for Linux on 27 Apr 2025 04:23:09 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sajjon/BytePattern.git
Reference: 0.0.6
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/Sajjon/BytePattern
* tag 0.0.6 -> FETCH_HEAD
HEAD is now at 663d343 Revert MainActor change
Cloned https://github.com/Sajjon/BytePattern.git
Revision (git rev-parse @):
663d343d5f2c516e09fdac37db18dd1214a0bcda
SUCCESS checkout https://github.com/Sajjon/BytePattern.git at 0.0.6
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Sajjon/BytePattern.git
https://github.com/Sajjon/BytePattern.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms"
}
],
"manifest_display_name" : "BytePattern",
"name" : "BytePattern",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BytePattern",
"targets" : [
"BytePattern"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "XCTAssertBytesEqual",
"targets" : [
"XCTAssertBytesEqual"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BytesMutation",
"targets" : [
"BytesMutation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XCTAssertBytesEqual",
"module_type" : "SwiftTarget",
"name" : "XCTAssertBytesEqual",
"path" : "Sources/XCTAssertBytesEqual",
"product_memberships" : [
"XCTAssertBytesEqual"
],
"sources" : [
"DefaultXCTAssertBytesEqualParameters.swift",
"XCTAssertBytesEqual.swift",
"XCTAssertBytesFromHexEqual.swift"
],
"target_dependencies" : [
"BytePattern"
],
"type" : "library"
},
{
"c99name" : "BytesMutation",
"module_type" : "SwiftTarget",
"name" : "BytesMutation",
"path" : "Sources/BytesMutation",
"product_dependencies" : [
"Algorithms"
],
"product_memberships" : [
"BytesMutation"
],
"sources" : [
"ContigiousBytes+Mutate.swift"
],
"target_dependencies" : [
"BytePattern"
],
"type" : "library"
},
{
"c99name" : "BytePatternTests",
"module_type" : "SwiftTarget",
"name" : "BytePatternTests",
"path" : "Tests/BytePatternTests",
"sources" : [
"BytePatternTests.swift",
"Support/Timer.swift"
],
"target_dependencies" : [
"XCTAssertBytesEqual",
"BytesMutation"
],
"type" : "test"
},
{
"c99name" : "BytePattern",
"module_type" : "SwiftTarget",
"name" : "BytePattern",
"path" : "Sources/BytePattern",
"product_dependencies" : [
"Algorithms"
],
"product_memberships" : [
"BytePattern",
"XCTAssertBytesEqual",
"BytesMutation"
],
"sources" : [
"BytePattern.swift",
"BytePatternFinder.swift",
"Bytes/Data+Hex.swift",
"Bytes/RandomBytes.swift",
"Bytes/SafeCompare.swift",
"Bytes/SecureBytes.swift",
"Operators.swift",
"Storage/Bools.swift",
"Storage/IntsGroups/FromBothEnds/FromBothEnds.swift",
"Storage/IntsGroups/FromBothEnds/FromEnd/FromEnd.swift",
"Storage/IntsGroups/FromBothEnds/FromEnd/Ints/Ints.swift",
"Storage/IntsGroups/IntsGroup.swift",
"Storage/Storage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-algorithms
[1/5903] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.48s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.23s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.24s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Building for debugging...
[0/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/17] Compiling RealModule ElementaryFunctions.swift
[9/18] Compiling RealModule Real.swift
[10/18] Compiling RealModule Float80+Real.swift
[11/18] Compiling RealModule RealFunctions.swift
[12/18] Compiling RealModule Float16+Real.swift
[13/18] Compiling RealModule Float+Real.swift
[14/18] Compiling RealModule AlgebraicField.swift
[15/18] Compiling RealModule ApproximateEquality.swift
[16/18] Compiling RealModule AugmentedArithmetic.swift
[17/18] Compiling RealModule Double+Real.swift
[18/18] Emitting module RealModule
[20/44] Compiling Algorithms RandomSample.swift
[21/44] Compiling Algorithms Reductions.swift
[22/44] Compiling Algorithms Rotate.swift
[23/47] Compiling Algorithms Split.swift
[24/47] Compiling Algorithms Stride.swift
[25/47] Compiling Algorithms Suffix.swift
[26/47] Compiling Algorithms Partition.swift
[27/47] Compiling Algorithms Permutations.swift
[28/47] Compiling Algorithms Product.swift
[29/47] Compiling Algorithms Trim.swift
[30/47] Compiling Algorithms Unique.swift
[31/47] Compiling Algorithms Windows.swift
[32/47] Compiling Algorithms Compacted.swift
[33/47] Compiling Algorithms Cycle.swift
[34/47] Compiling Algorithms EitherSequence.swift
[35/47] Compiling Algorithms FirstNonNil.swift
[36/47] Compiling Algorithms FlattenCollection.swift
[37/47] Compiling Algorithms Grouped.swift
[38/47] Compiling Algorithms Indexed.swift
[39/47] Compiling Algorithms Intersperse.swift
[40/47] Compiling Algorithms Joined.swift
[41/47] Compiling Algorithms Keyed.swift
[42/47] Compiling Algorithms MinMax.swift
[43/47] Compiling Algorithms AdjacentPairs.swift
[44/47] Compiling Algorithms Chain.swift
[45/47] Compiling Algorithms Chunked.swift
[46/47] Compiling Algorithms Combinations.swift
[47/47] Emitting module Algorithms
[49/61] Compiling BytePattern IntsGroup.swift
[50/62] Compiling BytePattern Operators.swift
[51/62] Compiling BytePattern Bools.swift
[52/62] Compiling BytePattern Data+Hex.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/Data+Hex.swift:82:21: warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | public extension Data {
75 | struct HexEncodingOptions: OptionSet {
| `- note: consider making struct 'HexEncodingOptions' conform to the 'Sendable' protocol
76 | public typealias RawValue = Int
77 | public let rawValue: RawValue
:
80 | }
81 |
82 | public static let upperCase = HexEncodingOptions(rawValue: 1 << 0)
| |- warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upperCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | }
84 |
[53/62] Compiling BytePattern RandomBytes.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/Data+Hex.swift:82:21: warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | public extension Data {
75 | struct HexEncodingOptions: OptionSet {
| `- note: consider making struct 'HexEncodingOptions' conform to the 'Sendable' protocol
76 | public typealias RawValue = Int
77 | public let rawValue: RawValue
:
80 | }
81 |
82 | public static let upperCase = HexEncodingOptions(rawValue: 1 << 0)
| |- warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upperCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | }
84 |
[54/62] Compiling BytePattern SafeCompare.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/SecureBytes.swift:267:17: error: cannot find 'memset_s' in scope
265 |
266 | _ = self.withUnsafeMutablePointerToElements { elementsPtr in
267 | memset_s(elementsPtr, bytesToClear, 0, bytesToClear)
| `- error: cannot find 'memset_s' in scope
268 | }
269 | }
[55/62] Compiling BytePattern SecureBytes.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/SecureBytes.swift:267:17: error: cannot find 'memset_s' in scope
265 |
266 | _ = self.withUnsafeMutablePointerToElements { elementsPtr in
267 | memset_s(elementsPtr, bytesToClear, 0, bytesToClear)
| `- error: cannot find 'memset_s' in scope
268 | }
269 | }
[56/62] Compiling BytePattern FromBothEnds.swift
[57/62] Compiling BytePattern FromEnd.swift
[58/62] Compiling BytePattern Ints.swift
[59/62] Emitting module BytePattern
/host/spi-builder-workspace/Sources/BytePattern/Bytes/Data+Hex.swift:82:21: warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | public extension Data {
75 | struct HexEncodingOptions: OptionSet {
| `- note: consider making struct 'HexEncodingOptions' conform to the 'Sendable' protocol
76 | public typealias RawValue = Int
77 | public let rawValue: RawValue
:
80 | }
81 |
82 | public static let upperCase = HexEncodingOptions(rawValue: 1 << 0)
| |- warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upperCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | }
84 |
[60/62] Compiling BytePattern BytePattern.swift
[61/62] Compiling BytePattern BytePatternFinder.swift
[62/62] Compiling BytePattern Storage.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling RealModule Float80+Real.swift
[3/11] Compiling RealModule Real.swift
[4/12] Compiling RealModule Float16+Real.swift
[5/12] Compiling RealModule Float+Real.swift
[6/12] Compiling RealModule RealFunctions.swift
[7/12] Compiling RealModule AugmentedArithmetic.swift
[8/12] Compiling RealModule Double+Real.swift
[9/12] Compiling RealModule ElementaryFunctions.swift
[10/12] Emitting module RealModule
[11/12] Compiling RealModule AlgebraicField.swift
[12/12] Compiling RealModule ApproximateEquality.swift
[14/38] Compiling Algorithms Compacted.swift
[15/38] Compiling Algorithms Cycle.swift
[16/38] Compiling Algorithms EitherSequence.swift
[17/38] Compiling Algorithms FirstNonNil.swift
[18/41] Compiling Algorithms RandomSample.swift
[19/41] Compiling Algorithms Reductions.swift
[20/41] Compiling Algorithms Rotate.swift
[21/41] Compiling Algorithms Split.swift
[22/41] Compiling Algorithms Stride.swift
[23/41] Compiling Algorithms Suffix.swift
[24/41] Compiling Algorithms Partition.swift
[25/41] Compiling Algorithms Permutations.swift
[26/41] Compiling Algorithms Product.swift
[27/41] Compiling Algorithms Trim.swift
[28/41] Compiling Algorithms Unique.swift
[29/41] Compiling Algorithms Windows.swift
[30/41] Compiling Algorithms FlattenCollection.swift
[31/41] Compiling Algorithms Grouped.swift
[32/41] Compiling Algorithms Indexed.swift
[33/41] Compiling Algorithms Intersperse.swift
[34/41] Compiling Algorithms Joined.swift
[35/41] Compiling Algorithms Keyed.swift
[36/41] Compiling Algorithms MinMax.swift
[37/41] Compiling Algorithms AdjacentPairs.swift
[38/41] Compiling Algorithms Chain.swift
[39/41] Compiling Algorithms Chunked.swift
[40/41] Compiling Algorithms Combinations.swift
[41/41] Emitting module Algorithms
[43/55] Compiling BytePattern IntsGroup.swift
[44/56] Compiling BytePattern Ints.swift
[45/56] Compiling BytePattern Operators.swift
[46/56] Compiling BytePattern Bools.swift
[47/56] Compiling BytePattern FromBothEnds.swift
[48/56] Compiling BytePattern FromEnd.swift
[49/56] Compiling BytePattern SafeCompare.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/SecureBytes.swift:267:17: error: cannot find 'memset_s' in scope
265 |
266 | _ = self.withUnsafeMutablePointerToElements { elementsPtr in
267 | memset_s(elementsPtr, bytesToClear, 0, bytesToClear)
| `- error: cannot find 'memset_s' in scope
268 | }
269 | }
[50/56] Compiling BytePattern SecureBytes.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/SecureBytes.swift:267:17: error: cannot find 'memset_s' in scope
265 |
266 | _ = self.withUnsafeMutablePointerToElements { elementsPtr in
267 | memset_s(elementsPtr, bytesToClear, 0, bytesToClear)
| `- error: cannot find 'memset_s' in scope
268 | }
269 | }
[51/56] Compiling BytePattern Storage.swift
[52/56] Compiling BytePattern BytePattern.swift
[53/56] Compiling BytePattern BytePatternFinder.swift
[54/56] Compiling BytePattern Data+Hex.swift
[55/56] Compiling BytePattern RandomBytes.swift
[56/56] Emitting module BytePattern
BUILD FAILURE 6.1 linux