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 swift-msgpack with Swift 6.0 for Linux.

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/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/nnabeyang/swift-msgpack.git
Reference: main
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/nnabeyang/swift-msgpack
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9bc0769 Fix .swift-version
Cloned https://github.com/nnabeyang/swift-msgpack.git
Revision (git rev-parse @):
9bc076947017db027368358a5b1fd49f7e5b2a2b
SUCCESS checkout https://github.com/nnabeyang/swift-msgpack.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/nnabeyang/swift-msgpack.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/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
Fetching https://github.com/nicklockwood/SwiftFormat
[1/38425] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (18.22s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.53.8 (0.45s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.53.8
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/8] Write sources
[3/8] Write swift-version-24593BA9C3E375BF.txt
[5/14] Compiling SwiftMsgpack AnyCodable.swift
[6/14] Emitting module SwiftMsgpack
/host/spi-builder-workspace/Sources/SwiftMsgpack/MsgPackEncoder.swift:15:27: warning: static property 'str8FormatSupport' is not concurrency-safe because non-'Sendable' type 'MsgPackEncoder.OutputOption' may have shared mutable state; this is an error in the Swift 6 language mode
  6 |
  7 | open class MsgPackEncoder {
  8 |     public struct OutputOption: OptionSet {
    |                   `- note: consider making struct 'OutputOption' conform to the 'Sendable' protocol
  9 |         public let rawValue: UInt
 10 |
    :
 13 |         }
 14 |
 15 |         public static let str8FormatSupport = OutputOption(rawValue: 1 << 0)
    |                           |- warning: static property 'str8FormatSupport' is not concurrency-safe because non-'Sendable' type 'MsgPackEncoder.OutputOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'str8FormatSupport' 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
 16 |     }
 17 |
[7/14] Compiling SwiftMsgpack MsgPackEncoder.swift
/host/spi-builder-workspace/Sources/SwiftMsgpack/MsgPackEncoder.swift:15:27: warning: static property 'str8FormatSupport' is not concurrency-safe because non-'Sendable' type 'MsgPackEncoder.OutputOption' may have shared mutable state; this is an error in the Swift 6 language mode
  6 |
  7 | open class MsgPackEncoder {
  8 |     public struct OutputOption: OptionSet {
    |                   `- note: consider making struct 'OutputOption' conform to the 'Sendable' protocol
  9 |         public let rawValue: UInt
 10 |
    :
 13 |         }
 14 |
 15 |         public static let str8FormatSupport = OutputOption(rawValue: 1 << 0)
    |                           |- warning: static property 'str8FormatSupport' is not concurrency-safe because non-'Sendable' type 'MsgPackEncoder.OutputOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'str8FormatSupport' 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
 16 |     }
 17 |
[8/14] Compiling SwiftMsgpack MsgPackScanner.swift
[9/14] Compiling SwiftMsgpack MsgPackTimestamp.swift
[10/14] Compiling SwiftMsgpack MsgPackDecoder.swift
[11/15] Wrapping AST for SwiftMsgpack for debugging
[13/17] Emitting module example
[14/17] Compiling example main.swift
[15/18] Wrapping AST for example for debugging
[16/18] Write Objects.LinkFileList
[17/18] Linking example
Build complete! (35.89s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.53.8"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "swift-msgpack",
  "name" : "swift-msgpack",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftMsgpack",
      "targets" : [
        "SwiftMsgpack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "example",
      "targets" : [
        "example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "example",
      "module_type" : "SwiftTarget",
      "name" : "example",
      "path" : "Example",
      "product_memberships" : [
        "example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftMsgpack"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftMsgpackTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMsgpackTests",
      "path" : "Tests/SwiftMsgpackTests",
      "sources" : [
        "DecodeTests.swift",
        "EncodeStr8UnsupportTests.swift",
        "EncodeTests.swift"
      ],
      "target_dependencies" : [
        "SwiftMsgpack"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftMsgpack",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMsgpack",
      "path" : "Sources/SwiftMsgpack",
      "product_memberships" : [
        "SwiftMsgpack",
        "example"
      ],
      "sources" : [
        "AnyCodable.swift",
        "MsgPackDecoder.swift",
        "MsgPackEncoder.swift",
        "MsgPackScanner.swift",
        "MsgPackTimestamp.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.