Build Information
Successful build of SwiftAvroCore, reference master (c0eb9d
), with Swift 6.0 for Linux on 30 Nov 2024 01:47:26 UTC.
Swift 6 data race errors: 1
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 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynixliu/SwiftAvroCore.git
Reference: master
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/lynixliu/SwiftAvroCore
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c0eb9da Merge pull request #37 from lynixliu/develop
Cloned https://github.com/lynixliu/SwiftAvroCore.git
Revision (git rev-parse @):
c0eb9da7cfa861b07da3b29508b50dbdf2a26fe7
SUCCESS checkout https://github.com/lynixliu/SwiftAvroCore.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/lynixliu/SwiftAvroCore.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 -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.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
Fetching https://github.com/wickwirew/Runtime.git
[1/1966] Fetching runtime
Fetched https://github.com/wickwirew/Runtime.git from cache (0.26s)
Computing version for https://github.com/wickwirew/Runtime.git
Computed https://github.com/wickwirew/Runtime.git at 2.2.7 (1.98s)
Creating working copy for https://github.com/wickwirew/Runtime.git
Working copy of https://github.com/wickwirew/Runtime.git resolved at 2.2.7
Building for debugging...
[0/4] Write sources
[2/4] Compiling CRuntime dummy.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/45] Emitting module Runtime
[6/50] Compiling Runtime ProtocolMetadataLayout.swift
[7/50] Compiling Runtime ProtocolTypeContainer.swift
[8/50] Compiling Runtime StructMetadataLayout.swift
[9/50] Compiling Runtime StructTypeDescriptor.swift
[10/50] Compiling Runtime TargetTypeGenericContextDescriptorHeader.swift
[11/50] Compiling Runtime TupleMetadataLayout.swift
[12/50] Compiling Runtime TypeInfoConvertible.swift
[13/50] Compiling Runtime Pointers.swift
[14/50] Compiling Runtime RelativePointer.swift
[15/50] Compiling Runtime RelativeVectorPointer.swift
[16/50] Compiling Runtime Union.swift
[17/50] Compiling Runtime Vector.swift
[18/50] Compiling Runtime GettersSetters.swift
[19/50] Compiling Runtime Pointer+Extensions.swift
[20/50] Compiling Runtime RetainCounts.swift
[21/50] Compiling Runtime String+Extensions.swift
[22/50] Compiling Runtime TypeDescriptor.swift
[23/50] Compiling Runtime ValueWitnessTable.swift
[24/50] Compiling Runtime ClassMetadata.swift
[25/50] Compiling Runtime EnumMetadata.swift
[26/50] Compiling Runtime FuntionMetadata.swift
[27/50] Compiling Runtime Metadata.swift
[28/50] Compiling Runtime MetadataType.swift
[29/50] Compiling Runtime NominalMetadataType.swift
[30/50] Compiling Runtime ProtocolMetadata.swift
[31/50] Compiling Runtime StructMetadata.swift
[32/50] Compiling Runtime TupleMetadata.swift
[33/50] Compiling Runtime Case.swift
[34/50] Compiling Runtime EnumTypeDescriptor.swift
[35/50] Compiling Runtime ExistentialContainter.swift
[36/50] Compiling Runtime FieldDescriptor.swift
[37/50] Compiling Runtime FunctionMetadataLayout.swift
[38/50] Compiling Runtime MetadataLayoutType.swift
[39/50] Compiling Runtime ProtocolDescriptor.swift
[40/50] Compiling Runtime Errors.swift
[41/50] Compiling Runtime FunctionInfo.swift
[42/50] Compiling Runtime Kind.swift
[43/50] Compiling Runtime PropertyInfo.swift
[44/50] Compiling Runtime TypeInfo.swift
[45/50] Compiling Runtime DefaultValue.swift
[46/50] Compiling Runtime Factory.swift
[47/50] Compiling Runtime ClassHeader.swift
[48/50] Compiling Runtime ClassMetadataLayout.swift
[49/50] Compiling Runtime ClassTypeDescriptor.swift
[50/50] Compiling Runtime EnumMetadataLayout.swift
[52/70] Compiling SwiftAvroCore Request.swift
[53/70] Compiling SwiftAvroCore Response.swift
[54/72] Compiling SwiftAvroCore AvroSchema+Equatable.swift
[55/72] Compiling SwiftAvroCore AvroSchema+Reflecting.swift
[56/72] Compiling SwiftAvroCore AvroFingerprint.swift
[57/72] Compiling SwiftAvroCore AvroSchema+Codable.swift
[58/72] Emitting module SwiftAvroCore
/host/spi-builder-workspace/Sources/SwiftAvroCore/Codable/AvroEncodable.swift:468:24: warning: static property 'identifierFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
466 | var schema: AvroSchema
467 | var identifier: Int
468 | private static var identifierFactory = 0
| |- warning: static property 'identifierFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'identifierFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'identifierFactory' 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
469 |
470 | private static func getUniqueIdentifier() -> Int {
/host/spi-builder-workspace/Sources/SwiftAvroCore/Codable/AvroJsonEncoder.swift:664:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
662 | }
663 |
664 | func encode(_ value: [UInt8]) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '([UInt8]) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
665 | if !schema.isBytes() {
666 | throw BinaryEncodingError.typeMismatchWithSchema
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[59/72] Compiling SwiftAvroCore AvroJsonEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAvroCore/Codable/AvroJsonEncoder.swift:664:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
662 | }
663 |
664 | func encode(_ value: [UInt8]) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '([UInt8]) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
665 | if !schema.isBytes() {
666 | throw BinaryEncodingError.typeMismatchWithSchema
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[60/72] Compiling SwiftAvroCore AvroPrimitiveDecoder.swift
/host/spi-builder-workspace/Sources/SwiftAvroCore/Codable/AvroJsonEncoder.swift:664:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
662 | }
663 |
664 | func encode(_ value: [UInt8]) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '([UInt8]) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
665 | if !schema.isBytes() {
666 | throw BinaryEncodingError.typeMismatchWithSchema
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[61/72] Compiling SwiftAvroCore AvroPrimitiveEncoder.swift
/host/spi-builder-workspace/Sources/SwiftAvroCore/Codable/AvroJsonEncoder.swift:664:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
662 | }
663 |
664 | func encode(_ value: [UInt8]) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '([UInt8]) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
665 | if !schema.isBytes() {
666 | throw BinaryEncodingError.typeMismatchWithSchema
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[62/72] Compiling SwiftAvroCore ObjectContainer.swift
[63/72] Compiling SwiftAvroCore Context.swift
[64/72] Compiling SwiftAvroCore Protocol.swift
[65/72] Compiling SwiftAvroCore AvroSchema.swift
[66/72] Compiling SwiftAvroCore SwiftAvroCore.swift
[67/72] Compiling SwiftAvroCore AvroPrimitiveProtocol.swift
[68/72] Compiling SwiftAvroCore AvroPrimitiveSizer.swift
[69/72] Compiling SwiftAvroCore NullCodec.swift
[70/72] Compiling SwiftAvroCore AvroError.swift
/host/spi-builder-workspace/Sources/SwiftAvroCore/Codable/AvroEncodable.swift:468:24: warning: static property 'identifierFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
466 | var schema: AvroSchema
467 | var identifier: Int
468 | private static var identifierFactory = 0
| |- warning: static property 'identifierFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'identifierFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'identifierFactory' 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
469 |
470 | private static func getUniqueIdentifier() -> Int {
[71/72] Compiling SwiftAvroCore AvroDecodable.swift
/host/spi-builder-workspace/Sources/SwiftAvroCore/Codable/AvroEncodable.swift:468:24: warning: static property 'identifierFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
466 | var schema: AvroSchema
467 | var identifier: Int
468 | private static var identifierFactory = 0
| |- warning: static property 'identifierFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'identifierFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'identifierFactory' 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
469 |
470 | private static func getUniqueIdentifier() -> Int {
[72/72] Compiling SwiftAvroCore AvroEncodable.swift
/host/spi-builder-workspace/Sources/SwiftAvroCore/Codable/AvroEncodable.swift:468:24: warning: static property 'identifierFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
466 | var schema: AvroSchema
467 | var identifier: Int
468 | private static var identifierFactory = 0
| |- warning: static property 'identifierFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'identifierFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'identifierFactory' 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
469 |
470 | private static func getUniqueIdentifier() -> Int {
Build complete! (19.17s)
Build complete.
{
"dependencies" : [
{
"identity" : "runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.4",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wickwirew/Runtime.git"
}
],
"manifest_display_name" : "SwiftAvroCore",
"name" : "SwiftAvroCore",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftAvroCore",
"targets" : [
"SwiftAvroCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftAvroCoreTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAvroCoreTests",
"path" : "Tests/SwiftAvroCoreTests",
"sources" : [
"AvroDecodableTest.swift",
"AvroEncodableTest.swift",
"AvroFileObjectTest.swift",
"AvroProtocolTest.swift",
"AvroRequestResponseTest.swift",
"AvroSchemaCodingTest.swift",
"AvroSchemaEquatableTest.swift",
"AvroSchemaReflectingTest.swift",
"Kitties.swift",
"SchemalessCodingDecodingTest.swift",
"SwiftAvroCoreTests.swift"
],
"target_dependencies" : [
"SwiftAvroCore"
],
"type" : "test"
},
{
"c99name" : "SwiftAvroCore",
"module_type" : "SwiftTarget",
"name" : "SwiftAvroCore",
"path" : "Sources/SwiftAvroCore",
"product_dependencies" : [
"Runtime"
],
"product_memberships" : [
"SwiftAvroCore"
],
"sources" : [
"AvroError.swift",
"Codable/AvroDecodable.swift",
"Codable/AvroEncodable.swift",
"Codable/AvroJsonEncoder.swift",
"Codable/AvroPrimitiveDecoder.swift",
"Codable/AvroPrimitiveEncoder.swift",
"Codable/AvroPrimitiveProtocol.swift",
"Codable/AvroPrimitiveSizer.swift",
"FileObject/NullCodec.swift",
"FileObject/ObjectContainer.swift",
"IPC/Context.swift",
"IPC/Protocol.swift",
"IPC/Request.swift",
"IPC/Response.swift",
"Schema/AvroFingerprint.swift",
"Schema/AvroSchema+Codable.swift",
"Schema/AvroSchema+Equatable.swift",
"Schema/AvroSchema+Reflecting.swift",
"Schema/AvroSchema.swift",
"SwiftAvroCore.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
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
Done.