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 macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/flight-school/messagepack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/13] Compiling MessagePack SingleValueEncodingContainer.swift
/Users/admin/builder/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
/Users/admin/builder/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 | }
[4/13] Compiling MessagePack UnkeyedDecodingContainer.swift
[5/13] Compiling MessagePack MessagePackEncoder.swift
[6/13] Compiling MessagePack UnkeyedEncodingContainer.swift
[7/13] Compiling MessagePack KeyedEncodingContainer.swift
[8/13] Compiling MessagePack MessagePackDecoder.swift
[9/13] Compiling MessagePack KeyedDecodingContainer.swift
[10/13] Compiling MessagePack AnyCodingKey.swift
/Users/admin/builder/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 |     }
[11/13] Compiling MessagePack Box.swift
/Users/admin/builder/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 |     }
[12/13] Compiling MessagePack SingleValueDecodingContainer.swift
/Users/admin/builder/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
/Users/admin/builder/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/13] Emitting module MessagePack
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
[14/14] Compiling MessagePack FixedWidthInteger+Bytes.swift
Build complete! (23.37s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MessagePack",
  "name" : "MessagePack",
  "path" : "/Users/admin/builder/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.