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, reference master (bbc5ab), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 15:30:42 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "messagepack",
      "name": "MessagePack",
      "url": "https://github.com/flight-school/messagepack.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/messagepack",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/flight-school/messagepack.git
[1/652] Fetching messagepack
Fetched https://github.com/flight-school/messagepack.git from cache (0.89s)
Creating working copy for https://github.com/flight-school/messagepack.git
Working copy of https://github.com/flight-school/messagepack.git resolved at master (bbc5ab6)
warning: '.resolve-product-dependencies': dependency 'messagepack' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/flight-school/messagepack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/13] Compiling MessagePack UnkeyedEncodingContainer.swift
[4/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 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
/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 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
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] Compiling MessagePack MessagePackEncoder.swift
[6/14] Compiling MessagePack KeyedEncodingContainer.swift
[7/14] Compiling MessagePack UnkeyedDecodingContainer.swift
[8/14] 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 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
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 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
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 | }
[9/14] 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 |     }
[10/14] 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 |     }
[11/14] Compiling MessagePack KeyedDecodingContainer.swift
[12/14] 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 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
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 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
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 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
/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 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     mutating func encode(_ value: UInt128) throws
   |                   `- note: requirement 'encode' declared here
22 |     mutating func encode<T>(_ value: T) throws where T : Encodable
23 | }
[13/14] Compiling MessagePack MessagePackDecoder.swift
[14/14] Compiling MessagePack FixedWidthInteger+Bytes.swift
Build complete! (16.78s)
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.