The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of BinaryCookies, reference master (8f9428), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 17:13:50 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/interstateone/binarycookies.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/jverkoey/BinaryCodable
[1/762] Fetching binarycodable
Fetched https://github.com/jverkoey/BinaryCodable from cache (0.80s)
Creating working copy for https://github.com/jverkoey/BinaryCodable
Working copy of https://github.com/jverkoey/BinaryCodable resolved at 2d4834e4972c46bdb3ec59d025ba29b7e9b7522b
========================================
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": "binarycookies",
      "name": "BinaryCookies",
      "url": "https://github.com/interstateone/binarycookies.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/binarycookies",
      "dependencies": [
        {
          "identity": "binarycodable",
          "name": "BinaryCodable",
          "url": "https://github.com/jverkoey/BinaryCodable",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BinaryCodable",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/interstateone/binarycookies.git
[1/84] Fetching binarycookies
Fetched https://github.com/interstateone/binarycookies.git from cache (0.59s)
Fetching https://github.com/jverkoey/BinaryCodable from cache
Fetched https://github.com/jverkoey/BinaryCodable from cache (0.40s)
Creating working copy for https://github.com/jverkoey/BinaryCodable
Working copy of https://github.com/jverkoey/BinaryCodable resolved at 2d4834e4972c46bdb3ec59d025ba29b7e9b7522b
Creating working copy for https://github.com/interstateone/binarycookies.git
Working copy of https://github.com/interstateone/binarycookies.git resolved at master (8f94281)
Found 1 product dependencies
  - BinaryCodable
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/interstateone/binarycookies.git
https://github.com/interstateone/binarycookies.git
{
  "dependencies" : [
    {
      "identity" : "binarycodable",
      "requirement" : {
        "revision" : [
          "2d4834e4972c46bdb3ec59d025ba29b7e9b7522b"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jverkoey/BinaryCodable"
    }
  ],
  "manifest_display_name" : "BinaryCookies",
  "name" : "BinaryCookies",
  "path" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[3/8] Write dumpcookies-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/16] Compiling BinaryCodable BinaryEncodable.swift
[7/16] Compiling BinaryCodable ByteRepresentations.swift
[8/16] Compiling BinaryCodable BufferedData.swift
[9/16] Compiling BinaryCodable BinaryDecodable.swift
[10/16] Compiling BinaryCodable BinaryDataEncoder.swift
[11/16] Emitting module BinaryCodable
[12/16] Compiling BinaryCodable BinaryCodable.swift
[13/16] Compiling BinaryCodable BinaryDataDecoder.swift
[14/18] Compiling BinaryCookies BinaryCookies.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'isSecure' part of global actor 'MainActor'
    |                    `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'isHTTPOnly' part of global actor 'MainActor'
    |                    `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'unknown1' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |         static let unknown2   = Flags(rawValue: 1 << 4)
153 |     }
/Users/admin/builder/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: add '@MainActor' to make static property 'unknown2' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |     }
154 |
[15/18] Emitting module BinaryCookies
/Users/admin/builder/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: add '@MainActor' to make static property 'isSecure' part of global actor 'MainActor'
    |                    `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'isHTTPOnly' part of global actor 'MainActor'
    |                    `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'unknown1' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |         static let unknown2   = Flags(rawValue: 1 << 4)
153 |     }
/Users/admin/builder/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: add '@MainActor' to make static property 'unknown2' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |     }
154 |
[16/21] Compiling dumpcookies Extensions.swift
[17/21] Compiling dumpcookies main.swift
[18/21] Emitting module dumpcookies
[18/21] Write Objects.LinkFileList
[19/21] Linking dumpcookies
[20/21] Applying dumpcookies
Build complete! (10.46s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "binarycodable",
      "requirement" : {
        "revision" : [
          "2d4834e4972c46bdb3ec59d025ba29b7e9b7522b"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jverkoey/BinaryCodable"
    }
  ],
  "manifest_display_name" : "BinaryCookies",
  "name" : "BinaryCookies",
  "path" : "/Users/admin/builder/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.