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

Swift 6 data race errors: 4

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/interstateone/binarycookies.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/interstateone/binarycookies
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8f94281 Use new decodeRemainder() API to decode plist
Cloned https://github.com/interstateone/binarycookies.git
Revision (git rev-parse @):
8f942818b31c7e72626641ef5348f02b0ad22369
SUCCESS checkout https://github.com/interstateone/binarycookies.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/interstateone/binarycookies.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/jverkoey/BinaryCodable
[1/762] Fetching binarycodable
Fetched https://github.com/jverkoey/BinaryCodable from cache (0.19s)
Creating working copy for https://github.com/jverkoey/BinaryCodable
Working copy of https://github.com/jverkoey/BinaryCodable resolved at 2d4834e4972c46bdb3ec59d025ba29b7e9b7522b
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/17] Compiling BinaryCodable BinaryEncodable.swift
[6/17] Compiling BinaryCodable BinaryCodable.swift
[7/17] Compiling BinaryCodable BinaryDataDecoder.swift
[8/17] Emitting module BinaryCodable
[9/17] Compiling BinaryCodable ByteRepresentations.swift
[10/17] Compiling BinaryCodable BufferedData.swift
[11/17] Compiling BinaryCodable BinaryDecodable.swift
[12/17] Compiling BinaryCodable BinaryDataEncoder.swift
[13/18] Wrapping AST for BinaryCodable for debugging
[15/20] Emitting module BinaryCookies
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:149:20: warning: static property 'isSecure' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
140 |     public let expiration: Date
141 |
142 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
143 |         public let rawValue: Int32
144 |
    :
147 |         }
148 |
149 |         static let isSecure   = Flags(rawValue: 1)
    |                    |- warning: static property 'isSecure' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'isSecure' 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
150 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
151 |         static let unknown1   = Flags(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:150:20: warning: static property 'isHTTPOnly' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
140 |     public let expiration: Date
141 |
142 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
143 |         public let rawValue: Int32
144 |
    :
148 |
149 |         static let isSecure   = Flags(rawValue: 1)
150 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
    |                    |- warning: static property 'isHTTPOnly' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'isHTTPOnly' 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
151 |         static let unknown1   = Flags(rawValue: 1 << 3)
152 |         static let unknown2   = Flags(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:151:20: warning: static property 'unknown1' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
140 |     public let expiration: Date
141 |
142 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
143 |         public let rawValue: Int32
144 |
    :
149 |         static let isSecure   = Flags(rawValue: 1)
150 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
151 |         static let unknown1   = Flags(rawValue: 1 << 3)
    |                    |- warning: static property 'unknown1' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'unknown1' 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
152 |         static let unknown2   = Flags(rawValue: 1 << 4)
153 |     }
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:152:20: warning: static property 'unknown2' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
140 |     public let expiration: Date
141 |
142 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
143 |         public let rawValue: Int32
144 |
    :
150 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
151 |         static let unknown1   = Flags(rawValue: 1 << 3)
152 |         static let unknown2   = Flags(rawValue: 1 << 4)
    |                    |- warning: static property 'unknown2' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'unknown2' 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
153 |     }
154 |
[16/20] Compiling BinaryCookies BinaryCookies.swift
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:149:20: warning: static property 'isSecure' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
140 |     public let expiration: Date
141 |
142 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
143 |         public let rawValue: Int32
144 |
    :
147 |         }
148 |
149 |         static let isSecure   = Flags(rawValue: 1)
    |                    |- warning: static property 'isSecure' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'isSecure' 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
150 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
151 |         static let unknown1   = Flags(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:150:20: warning: static property 'isHTTPOnly' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
140 |     public let expiration: Date
141 |
142 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
143 |         public let rawValue: Int32
144 |
    :
148 |
149 |         static let isSecure   = Flags(rawValue: 1)
150 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
    |                    |- warning: static property 'isHTTPOnly' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'isHTTPOnly' 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
151 |         static let unknown1   = Flags(rawValue: 1 << 3)
152 |         static let unknown2   = Flags(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:151:20: warning: static property 'unknown1' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
140 |     public let expiration: Date
141 |
142 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
143 |         public let rawValue: Int32
144 |
    :
149 |         static let isSecure   = Flags(rawValue: 1)
150 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
151 |         static let unknown1   = Flags(rawValue: 1 << 3)
    |                    |- warning: static property 'unknown1' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'unknown1' 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
152 |         static let unknown2   = Flags(rawValue: 1 << 4)
153 |     }
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:152:20: warning: static property 'unknown2' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
140 |     public let expiration: Date
141 |
142 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
143 |         public let rawValue: Int32
144 |
    :
150 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
151 |         static let unknown1   = Flags(rawValue: 1 << 3)
152 |         static let unknown2   = Flags(rawValue: 1 << 4)
    |                    |- warning: static property 'unknown2' is not concurrency-safe because non-'Sendable' type 'Cookie.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'unknown2' 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
153 |     }
154 |
[17/21] Wrapping AST for BinaryCookies for debugging
[19/24] Emitting module dumpcookies
[20/24] Compiling dumpcookies Extensions.swift
[21/24] Compiling dumpcookies main.swift
[22/25] Wrapping AST for dumpcookies for debugging
[23/25] Write Objects.LinkFileList
[24/25] Linking dumpcookies
Build complete! (26.55s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "binarycodable",
      "requirement" : {
        "revision" : [
          "2d4834e4972c46bdb3ec59d025ba29b7e9b7522b"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jverkoey/BinaryCodable"
    }
  ],
  "manifest_display_name" : "BinaryCookies",
  "name" : "BinaryCookies",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BinaryCookies",
      "targets" : [
        "BinaryCookies"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "dumpcookies",
      "targets" : [
        "dumpcookies"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "dumpcookies",
      "module_type" : "SwiftTarget",
      "name" : "dumpcookies",
      "path" : "Sources/dumpcookies",
      "product_memberships" : [
        "dumpcookies"
      ],
      "sources" : [
        "Extensions.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "BinaryCookies"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BinaryCookies",
      "module_type" : "SwiftTarget",
      "name" : "BinaryCookies",
      "path" : "Sources/BinaryCookies",
      "product_dependencies" : [
        "BinaryCodable"
      ],
      "product_memberships" : [
        "BinaryCookies",
        "dumpcookies"
      ],
      "sources" : [
        "BinaryCookies.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.