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 1.0.0 (5fffd1), with Swift 6.1 for Wasm on 27 May 2025 16:08:30 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/interstateone/binarycookies.git
Reference: 1.0.0
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
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 5fffd16 Explain file format coverage in README
Cloned https://github.com/interstateone/binarycookies.git
Revision (git rev-parse @):
5fffd16d021e478376e841c0768d021598d70c5f
SUCCESS checkout https://github.com/interstateone/binarycookies.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/interstateone/binarycookies.git
https://github.com/interstateone/binarycookies.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "binarycodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jverkoey/BinaryCodable
[1/762] Fetching binarycodable
Fetched https://github.com/jverkoey/BinaryCodable from cache (0.24s)
Computing version for https://github.com/jverkoey/BinaryCodable
Computed https://github.com/jverkoey/BinaryCodable at 0.1.0 (0.82s)
Creating working copy for https://github.com/jverkoey/BinaryCodable
Working copy of https://github.com/jverkoey/BinaryCodable resolved at 0.1.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/17] Emitting module BinaryCodable
[6/17] Compiling BinaryCodable BufferedData.swift
[7/17] Compiling BinaryCodable BinaryCodable.swift
[8/17] Compiling BinaryCodable BinaryDataEncoder.swift
[9/17] Compiling BinaryCodable BinaryDataDecoder.swift
[10/17] Compiling BinaryCodable BinaryEncodable.swift
[11/17] Compiling BinaryCodable BinaryDecodable.swift
[12/17] Compiling BinaryCodable FixedWidthInteger+bytes.swift
[13/18] Wrapping AST for BinaryCodable for debugging
[15/20] Emitting module BinaryCookies
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:161: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
152 |     public let expiration: Date
153 |
154 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
155 |         public let rawValue: Int32
156 |
    :
159 |         }
160 |
161 |         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
162 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
163 |         static let unknown1   = Flags(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:162: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
152 |     public let expiration: Date
153 |
154 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
155 |         public let rawValue: Int32
156 |
    :
160 |
161 |         static let isSecure   = Flags(rawValue: 1)
162 |         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
163 |         static let unknown1   = Flags(rawValue: 1 << 3)
164 |         static let unknown2   = Flags(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:163: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
152 |     public let expiration: Date
153 |
154 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
155 |         public let rawValue: Int32
156 |
    :
161 |         static let isSecure   = Flags(rawValue: 1)
162 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
163 |         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
164 |         static let unknown2   = Flags(rawValue: 1 << 4)
165 |     }
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:164: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
152 |     public let expiration: Date
153 |
154 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
155 |         public let rawValue: Int32
156 |
    :
162 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
163 |         static let unknown1   = Flags(rawValue: 1 << 3)
164 |         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
165 |     }
166 |
[16/20] Compiling BinaryCookies BinaryCookies.swift
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:161: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
152 |     public let expiration: Date
153 |
154 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
155 |         public let rawValue: Int32
156 |
    :
159 |         }
160 |
161 |         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
162 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
163 |         static let unknown1   = Flags(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:162: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
152 |     public let expiration: Date
153 |
154 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
155 |         public let rawValue: Int32
156 |
    :
160 |
161 |         static let isSecure   = Flags(rawValue: 1)
162 |         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
163 |         static let unknown1   = Flags(rawValue: 1 << 3)
164 |         static let unknown2   = Flags(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:163: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
152 |     public let expiration: Date
153 |
154 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
155 |         public let rawValue: Int32
156 |
    :
161 |         static let isSecure   = Flags(rawValue: 1)
162 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
163 |         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
164 |         static let unknown2   = Flags(rawValue: 1 << 4)
165 |     }
/host/spi-builder-workspace/Sources/BinaryCookies/BinaryCookies.swift:164: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
152 |     public let expiration: Date
153 |
154 |     public struct Flags: OptionSet, BinaryCodable {
    |                   `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
155 |         public let rawValue: Int32
156 |
    :
162 |         static let isHTTPOnly = Flags(rawValue: 1 << 2)
163 |         static let unknown1   = Flags(rawValue: 1 << 3)
164 |         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
165 |     }
166 |
[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
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a: archive member 'Foundation.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a: archive member 'FoundationEssentials.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a: archive member 'FoundationInternationalization.autolink' is neither Wasm object file nor LLVM bitcode
[24/25] Linking dumpcookies.wasm
Build complete! (26.76s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "binarycodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.