Build Information
Successful build of AMF, reference 0.0.1 (a8221b), with Swift 6.2 for Linux on 17 Jun 2025 16:17:32 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mavisbroadcast/amf.git
Reference: 0.0.1
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/mavisbroadcast/amf
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at a8221b2 Generate LinuxMain
Cloned https://github.com/mavisbroadcast/amf.git
Revision (git rev-parse @):
a8221b27ce14b3220ad513197b93ea03bda111ba
SUCCESS checkout https://github.com/mavisbroadcast/amf.git at 0.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/mavisbroadcast/amf.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/26] Compiling AMF AMF0SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/Encoder/AMF0SingleValueEncodingContainer.swift:120:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
118 | }
119 |
120 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
121 | try checkCanEncode(value: value)
122 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[4/26] Compiling AMF AMF0UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/Encoder/AMF0SingleValueEncodingContainer.swift:120:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
118 | }
119 |
120 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
121 | try checkCanEncode(value: value)
122 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[5/26] Compiling AMF AMF3Markers.swift
/host/spi-builder-workspace/Sources/AMF0/Encoder/AMF0SingleValueEncodingContainer.swift:120:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
118 | }
119 |
120 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
121 | try checkCanEncode(value: value)
122 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[6/29] Compiling AMF AMF0Markers.swift
[7/29] Compiling AMF AMF0ReferenceTable.swift
[8/29] Compiling AMF AMF0Decoder.swift
[9/29] Compiling AMF AMF0KeyedDecodingContainer.swift
[10/29] Emitting module AMF
/host/spi-builder-workspace/Sources/AMF0/Encoder/AMF0SingleValueEncodingContainer.swift:120:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
118 | }
119 |
120 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
121 | try checkCanEncode(value: value)
122 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3SingleValueEncodingContainer.swift:123:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
121 | }
122 |
123 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
124 | data.append(contentsOf: value)
125 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3SingleValueEncodingContainer.swift:127:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
125 | }
126 |
127 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
128 | try checkCanEncode(value: value)
129 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/AnyCodingKey.swift:25:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
23 |
24 | extension AnyCodingKey: Hashable {
25 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
26 | return intValue?.hashValue ?? stringValue.hashValue
27 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/29] Compiling AMF AMF0SingleValueDecodingContainer.swift
[12/29] Compiling AMF AMF0UnkeyedDecodingContainer.swift
[13/29] Compiling AMF AMF0Encoder.swift
[14/29] Compiling AMF AMF0KeyedEncodingContainer.swift
[15/29] Compiling AMF AMF3UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AnyCodingKey.swift:25:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
23 |
24 | extension AnyCodingKey: Hashable {
25 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
26 | return intValue?.hashValue ?? stringValue.hashValue
27 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/29] Compiling AMF UInt32+UInt29.swift
/host/spi-builder-workspace/Sources/AnyCodingKey.swift:25:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
23 |
24 | extension AnyCodingKey: Hashable {
25 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
26 | return intValue?.hashValue ?? stringValue.hashValue
27 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/29] Compiling AMF AnyCodingKey.swift
/host/spi-builder-workspace/Sources/AnyCodingKey.swift:25:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
23 |
24 | extension AnyCodingKey: Hashable {
25 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
26 | return intValue?.hashValue ?? stringValue.hashValue
27 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/29] Compiling AMF AMF3ReferenceTable.swift
[19/29] Compiling AMF AMF3TraitsInfo.swift
[20/29] Compiling AMF AMF3Decoder.swift
[21/29] Compiling AMF AMF3KeyedDecodingContainer.swift
[22/29] Compiling AMF AMF3SingleValueDecodingContainer.swift
[23/29] Compiling AMF AMF3UnkeyedDecodingContainer.swift
[24/29] Compiling AMF AMF3Encoder.swift
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3KeyedEncodingContainer.swift:22:20: warning: value 'index' was defined but never used; consider replacing with boolean test [#no-usage]
20 |
21 | func dataFromTraits(_ traits: AMF3TraitsInfo) throws -> Data {
22 | if let index = referenceTable.encodingObjectTraitsTable.firstIndex(of: traits) {
| `- warning: value 'index' was defined but never used; consider replacing with boolean test [#no-usage]
23 | // TODO: encode traits index
24 | fatalError("Not implemented")
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3SingleValueEncodingContainer.swift:123:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
121 | }
122 |
123 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
124 | data.append(contentsOf: value)
125 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3SingleValueEncodingContainer.swift:127:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
125 | }
126 |
127 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
128 | try checkCanEncode(value: value)
129 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[25/29] Compiling AMF AMF3KeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3KeyedEncodingContainer.swift:22:20: warning: value 'index' was defined but never used; consider replacing with boolean test [#no-usage]
20 |
21 | func dataFromTraits(_ traits: AMF3TraitsInfo) throws -> Data {
22 | if let index = referenceTable.encodingObjectTraitsTable.firstIndex(of: traits) {
| `- warning: value 'index' was defined but never used; consider replacing with boolean test [#no-usage]
23 | // TODO: encode traits index
24 | fatalError("Not implemented")
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3SingleValueEncodingContainer.swift:123:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
121 | }
122 |
123 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
124 | data.append(contentsOf: value)
125 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3SingleValueEncodingContainer.swift:127:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
125 | }
126 |
127 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
128 | try checkCanEncode(value: value)
129 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[26/29] Compiling AMF AMF3SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3KeyedEncodingContainer.swift:22:20: warning: value 'index' was defined but never used; consider replacing with boolean test [#no-usage]
20 |
21 | func dataFromTraits(_ traits: AMF3TraitsInfo) throws -> Data {
22 | if let index = referenceTable.encodingObjectTraitsTable.firstIndex(of: traits) {
| `- warning: value 'index' was defined but never used; consider replacing with boolean test [#no-usage]
23 | // TODO: encode traits index
24 | fatalError("Not implemented")
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3SingleValueEncodingContainer.swift:123:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
121 | }
122 |
123 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
124 | data.append(contentsOf: value)
125 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/AMF3/Encoder/AMF3SingleValueEncodingContainer.swift:127:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
125 | }
126 |
127 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
128 | try checkCanEncode(value: value)
129 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[27/29] Compiling AMF Box.swift
[28/29] Compiling AMF Endianess.swift
[29/29] Compiling AMF FixedWidthInteger+Bytes.swift
Build complete! (15.57s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AMF",
"name" : "AMF",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AMF",
"targets" : [
"AMF"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AMFTests",
"module_type" : "SwiftTarget",
"name" : "AMFTests",
"path" : "Tests",
"sources" : [
"AMF0Tests/AMF0DecodingTests.swift",
"AMF0Tests/AMF0EncodingTests.swift",
"AMF0Tests/AMF0PerformanceTests.swift",
"AMF0Tests/AMF0RoundTripTests.swift",
"AMF0Tests/AMFCommand.swift",
"AMF3Tests/AMF3DecodingTests.swift",
"AMF3Tests/AMF3EncodingTests.swift",
"AMF3Tests/AMF3PerformanceTests.swift",
"AMF3Tests/AMF3RoundTripTests.swift",
"AMF3Tests/UInt32+UInt29Tests.swift",
"Shared Sources/Airport.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AMF"
],
"type" : "test"
},
{
"c99name" : "AMF",
"module_type" : "SwiftTarget",
"name" : "AMF",
"path" : "Sources",
"product_memberships" : [
"AMF"
],
"sources" : [
"AMF0/AMF0Markers.swift",
"AMF0/AMF0ReferenceTable.swift",
"AMF0/Decoder/AMF0Decoder.swift",
"AMF0/Decoder/AMF0KeyedDecodingContainer.swift",
"AMF0/Decoder/AMF0SingleValueDecodingContainer.swift",
"AMF0/Decoder/AMF0UnkeyedDecodingContainer.swift",
"AMF0/Encoder/AMF0Encoder.swift",
"AMF0/Encoder/AMF0KeyedEncodingContainer.swift",
"AMF0/Encoder/AMF0SingleValueEncodingContainer.swift",
"AMF0/Encoder/AMF0UnkeyedEncodingContainer.swift",
"AMF3/AMF3Markers.swift",
"AMF3/AMF3ReferenceTable.swift",
"AMF3/AMF3TraitsInfo.swift",
"AMF3/Decoder/AMF3Decoder.swift",
"AMF3/Decoder/AMF3KeyedDecodingContainer.swift",
"AMF3/Decoder/AMF3SingleValueDecodingContainer.swift",
"AMF3/Decoder/AMF3UnkeyedDecodingContainer.swift",
"AMF3/Encoder/AMF3Encoder.swift",
"AMF3/Encoder/AMF3KeyedEncodingContainer.swift",
"AMF3/Encoder/AMF3SingleValueEncodingContainer.swift",
"AMF3/Encoder/AMF3UnkeyedEncodingContainer.swift",
"AMF3/UInt32+UInt29.swift",
"AnyCodingKey.swift",
"Box.swift",
"Endianess.swift",
"FixedWidthInteger+Bytes.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
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
Done.