This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of MessagePack with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flight-school/messagepack.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/flight-school/messagepack
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bbc5ab6 Bump version to 1.2.4
Cloned https://github.com/flight-school/messagepack.git
Revision (git rev-parse @):
bbc5ab6362db234f2051e73e67296ebf5c3d2042
SUCCESS checkout https://github.com/flight-school/messagepack.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/flight-school/messagepack.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling MessagePack KeyedEncodingContainer.swift
[4/13] Compiling MessagePack SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:196:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
194 |     }
195 |
196 |     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
197 |         try checkCanEncode(value: value)
198 |         defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 |     mutating func encode(_ value: Int64) throws
13 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:223:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
221 |     }
222 |
223 |     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
224 |         let length = value.count
225 |         if let uint8 = UInt8(exactly: length) {
Swift.SingleValueEncodingContainer:21:19: note: requirement 'encode' declared here
19 |     mutating func encode(_ value: UInt64) throws
20 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
21 |     mutating func encode(_ value: UInt128) throws
   |                   `- note: requirement 'encode' declared here
22 |     mutating func encode<T>(_ value: T) throws where T : Encodable
23 | }
[5/14] Emitting module MessagePack
/host/spi-builder-workspace/Sources/MessagePack/AnyCodingKey.swift:25:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead
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
26 |         return self.intValue?.hashValue ?? self.stringValue.hashValue
27 |     }
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:159:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
157 |     }
158 |
159 |     func decode(_ type: Date.Type) throws -> Date {
    |          |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
    |          |- note: candidate has non-matching type '(Date.Type) throws -> Date'
    |          |- note: move 'decode' to another extension to silence this warning
    |          `- note: make 'decode' private to silence this warning
160 |         let format = try readByte()
161 |
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 |     func decode(_ type: Int64.Type) throws -> Int64
13 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
14 |     func decode(_ type: Int128.Type) throws -> Int128
   |          `- note: requirement 'decode' declared here
15 |     func decode(_ type: UInt.Type) throws -> UInt
16 |     func decode(_ type: UInt8.Type) throws -> UInt8
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:190:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
188 |     }
189 |
190 |     func decode(_ type: Data.Type) throws -> Data {
    |          |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
    |          |- note: candidate has non-matching type '(Data.Type) throws -> Data'
    |          |- note: move 'decode' to another extension to silence this warning
    |          `- note: make 'decode' private to silence this warning
191 |         let length: Int
192 |         let format = try readByte()
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 |     func decode(_ type: UInt64.Type) throws -> UInt64
20 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
21 |     func decode(_ type: UInt128.Type) throws -> UInt128
   |          `- note: requirement 'decode' declared here
22 |     func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:196:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
194 |     }
195 |
196 |     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
197 |         try checkCanEncode(value: value)
198 |         defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 |     mutating func encode(_ value: Int64) throws
13 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
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
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:223:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
221 |     }
222 |
223 |     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
224 |         let length = value.count
225 |         if let uint8 = UInt8(exactly: length) {
Swift.SingleValueEncodingContainer:21:19: note: requirement 'encode' declared here
19 |     mutating func encode(_ value: UInt64) throws
20 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
21 |     mutating func encode(_ value: UInt128) throws
   |                   `- note: requirement 'encode' declared here
22 |     mutating func encode<T>(_ value: T) throws where T : Encodable
23 | }
[6/14] Compiling MessagePack AnyCodingKey.swift
/host/spi-builder-workspace/Sources/MessagePack/AnyCodingKey.swift:25:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead
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
26 |         return self.intValue?.hashValue ?? self.stringValue.hashValue
27 |     }
[7/14] Compiling MessagePack Box.swift
/host/spi-builder-workspace/Sources/MessagePack/AnyCodingKey.swift:25:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'AnyCodingKey' to 'Hashable' by implementing 'hash(into:)' instead
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
26 |         return self.intValue?.hashValue ?? self.stringValue.hashValue
27 |     }
[8/14] Compiling MessagePack UnkeyedEncodingContainer.swift
[9/14] Compiling MessagePack KeyedDecodingContainer.swift
[10/14] Compiling MessagePack MessagePackDecoder.swift
[11/14] Compiling MessagePack SingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:159:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
157 |     }
158 |
159 |     func decode(_ type: Date.Type) throws -> Date {
    |          |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
    |          |- note: candidate has non-matching type '(Date.Type) throws -> Date'
    |          |- note: move 'decode' to another extension to silence this warning
    |          `- note: make 'decode' private to silence this warning
160 |         let format = try readByte()
161 |
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 |     func decode(_ type: Int64.Type) throws -> Int64
13 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
14 |     func decode(_ type: Int128.Type) throws -> Int128
   |          `- note: requirement 'decode' declared here
15 |     func decode(_ type: UInt.Type) throws -> UInt
16 |     func decode(_ type: UInt8.Type) throws -> UInt8
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:190:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
188 |     }
189 |
190 |     func decode(_ type: Data.Type) throws -> Data {
    |          |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
    |          |- note: candidate has non-matching type '(Data.Type) throws -> Data'
    |          |- note: move 'decode' to another extension to silence this warning
    |          `- note: make 'decode' private to silence this warning
191 |         let length: Int
192 |         let format = try readByte()
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 |     func decode(_ type: UInt64.Type) throws -> UInt64
20 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
21 |     func decode(_ type: UInt128.Type) throws -> UInt128
   |          `- note: requirement 'decode' declared here
22 |     func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[12/14] Compiling MessagePack UnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:159:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
157 |     }
158 |
159 |     func decode(_ type: Date.Type) throws -> Date {
    |          |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
    |          |- note: candidate has non-matching type '(Date.Type) throws -> Date'
    |          |- note: move 'decode' to another extension to silence this warning
    |          `- note: make 'decode' private to silence this warning
160 |         let format = try readByte()
161 |
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 |     func decode(_ type: Int64.Type) throws -> Int64
13 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
14 |     func decode(_ type: Int128.Type) throws -> Int128
   |          `- note: requirement 'decode' declared here
15 |     func decode(_ type: UInt.Type) throws -> UInt
16 |     func decode(_ type: UInt8.Type) throws -> UInt8
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:190:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
188 |     }
189 |
190 |     func decode(_ type: Data.Type) throws -> Data {
    |          |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
    |          |- note: candidate has non-matching type '(Data.Type) throws -> Data'
    |          |- note: move 'decode' to another extension to silence this warning
    |          `- note: make 'decode' private to silence this warning
191 |         let length: Int
192 |         let format = try readByte()
Swift.SingleValueDecodingContainer:21:10: note: requirement 'decode' declared here
19 |     func decode(_ type: UInt64.Type) throws -> UInt64
20 |     @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
21 |     func decode(_ type: UInt128.Type) throws -> UInt128
   |          `- note: requirement 'decode' declared here
22 |     func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[13/14] Compiling MessagePack MessagePackEncoder.swift
[14/14] Compiling MessagePack FixedWidthInteger+Bytes.swift
Build complete! (10.49s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MessagePack",
  "name" : "MessagePack",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MessagePack",
      "targets" : [
        "MessagePack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MessagePackTests",
      "module_type" : "SwiftTarget",
      "name" : "MessagePackTests",
      "path" : "Tests/MessagePackTests",
      "sources" : [
        "Airport.swift",
        "MessagePackDecodingTests.swift",
        "MessagePackEncodingTests.swift",
        "MessagePackPerformanceTests.swift",
        "MessagePackRoundTripTests.swift"
      ],
      "target_dependencies" : [
        "MessagePack"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MessagePack",
      "module_type" : "SwiftTarget",
      "name" : "MessagePack",
      "path" : "Sources/MessagePack",
      "product_memberships" : [
        "MessagePack"
      ],
      "sources" : [
        "AnyCodingKey.swift",
        "Box.swift",
        "Decoder/KeyedDecodingContainer.swift",
        "Decoder/MessagePackDecoder.swift",
        "Decoder/SingleValueDecodingContainer.swift",
        "Decoder/UnkeyedDecodingContainer.swift",
        "Encoder/KeyedEncodingContainer.swift",
        "Encoder/MessagePackEncoder.swift",
        "Encoder/SingleValueEncodingContainer.swift",
        "Encoder/UnkeyedEncodingContainer.swift",
        "FixedWidthInteger+Bytes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.