The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BackedCodable, reference main (c28a4e), with Swift 6.1 for Android on 27 May 2025 23:06:06 UTC.

Swift 6 data race errors: 7

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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/jegnux/BackedCodable.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/jegnux/BackedCodable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c28a4e5 Implement a safer init
Cloned https://github.com/jegnux/BackedCodable.git
Revision (git rev-parse @):
c28a4e556298bd81ba068f0f1c534af73ffd46f9
SUCCESS checkout https://github.com/jegnux/BackedCodable.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jegnux/BackedCodable.git
https://github.com/jegnux/BackedCodable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BackedCodable",
  "name" : "BackedCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "BackedCodable",
      "targets" : [
        "BackedCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BackedCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "BackedCodableTests",
      "path" : "Tests/BackedCodableTests",
      "sources" : [
        "BackedCodableTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BackedCodable",
        "BackedCodableStubs"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BackedCodableStubs",
      "module_type" : "SwiftTarget",
      "name" : "BackedCodableStubs",
      "path" : "Stubs",
      "sources" : [
        "BackedStub.swift",
        "Helpers.swift",
        "PlainSwiftStub.swift"
      ],
      "target_dependencies" : [
        "BackedCodable"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BackedCodable",
      "module_type" : "SwiftTarget",
      "name" : "BackedCodable",
      "path" : "Sources/BackedCodable",
      "product_memberships" : [
        "BackedCodable"
      ],
      "sources" : [
        "Backed+ConditionalProtocolConformances.swift",
        "Backed+Init.swift",
        "Backed.swift",
        "BackedDecodable.swift",
        "Decoders/BackingDecoder.swift",
        "Decoders/BackingDecoderContext.swift",
        "Decoders/DateDecoder.swift",
        "Decoders/LossyDecoder.swift",
        "Helper Types/BackedError.swift",
        "Helper Types/EmptyDecodable.swift",
        "Path Decoder/Decoder+PathDecoder.swift",
        "Path Decoder/PathCodingKey.swift",
        "Path Decoder/PathDecoder.Element.swift",
        "Path Decoder/PathDecoder.swift",
        "Path/Path.swift",
        "Path/PathComponent.swift",
        "Path/PathFilter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/19] Emitting module BackedCodable
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
   |               `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 |     public init(rawValue: Int) {
36 |         self.rawValue = rawValue
   :
38 |
39 |     public let rawValue: Int
40 |     public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'lossy' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:17:23: warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 15 |
 16 |     /// Defer to `Decoder` for decoding. This is the default strategy.
 17 |     public static let deferredToDecoder = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'deferredToDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         try decoder.decode(Date.self)
 19 |     }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:22:23: warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 20 |
 21 |     /// Decode the `Date` as a UNIX timestamp from a JSON number.
 22 |     public static let secondsSince1970 = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'secondsSince1970' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self))
 24 |     }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:27:23: warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 25 |
 26 |     /// Decode the `Date` as UNIX millisecond timestamp from a JSON number.
 27 |     public static let millisecondsSince1970 = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'millisecondsSince1970' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |         Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self) / 1000)
 29 |     }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:51:13: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
 51 | private let iso8601DateFormatter = ISO8601DateFormatter()
    |             |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'iso8601DateFormatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:57:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 55 |
 56 |     /// Decode the `Date` as an ISO-8601-formatted string (in RFC 3339 format).
 57 |     public static let iso8601 = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |         try iso8601DateFormatter.date(
 59 |             from: try decoder.decode(String.self)
/host/spi-builder-workspace/Sources/BackedCodable/Path/Path.swift:20:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct Path: Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
   |               `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 |     public static func ?? (lhs: Path, rhs: Path) -> Path {
11 |         Path(storage: lhs.storage + rhs.storage)
   :
18 |     }
19 |
20 |     public static let root = Path()
   |                       |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |     private init() {}
[5/21] Compiling BackedCodable PathComponent.swift
[6/21] Compiling BackedCodable PathFilter.swift
[7/21] Compiling BackedCodable EmptyDecodable.swift
[8/21] Compiling BackedCodable Decoder+PathDecoder.swift
[9/21] Compiling BackedCodable LossyDecoder.swift
[10/21] Compiling BackedCodable BackedError.swift
[11/21] Compiling BackedCodable PathCodingKey.swift
[12/21] Compiling BackedCodable PathDecoder.Element.swift
[13/21] Compiling BackedCodable BackingDecoderContext.swift
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
   |               `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 |     public init(rawValue: Int) {
36 |         self.rawValue = rawValue
   :
38 |
39 |     public let rawValue: Int
40 |     public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'lossy' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:17:23: warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 15 |
 16 |     /// Defer to `Decoder` for decoding. This is the default strategy.
 17 |     public static let deferredToDecoder = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'deferredToDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         try decoder.decode(Date.self)
 19 |     }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:22:23: warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 20 |
 21 |     /// Decode the `Date` as a UNIX timestamp from a JSON number.
 22 |     public static let secondsSince1970 = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'secondsSince1970' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self))
 24 |     }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:27:23: warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 25 |
 26 |     /// Decode the `Date` as UNIX millisecond timestamp from a JSON number.
 27 |     public static let millisecondsSince1970 = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'millisecondsSince1970' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |         Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self) / 1000)
 29 |     }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:51:13: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
 51 | private let iso8601DateFormatter = ISO8601DateFormatter()
    |             |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'iso8601DateFormatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:57:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 55 |
 56 |     /// Decode the `Date` as an ISO-8601-formatted string (in RFC 3339 format).
 57 |     public static let iso8601 = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |         try iso8601DateFormatter.date(
 59 |             from: try decoder.decode(String.self)
[14/21] Compiling BackedCodable DateDecoder.swift
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
   |               `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 |     public init(rawValue: Int) {
36 |         self.rawValue = rawValue
   :
38 |
39 |     public let rawValue: Int
40 |     public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'lossy' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:17:23: warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 15 |
 16 |     /// Defer to `Decoder` for decoding. This is the default strategy.
 17 |     public static let deferredToDecoder = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'deferredToDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         try decoder.decode(Date.self)
 19 |     }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:22:23: warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 20 |
 21 |     /// Decode the `Date` as a UNIX timestamp from a JSON number.
 22 |     public static let secondsSince1970 = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'secondsSince1970' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self))
 24 |     }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:27:23: warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 25 |
 26 |     /// Decode the `Date` as UNIX millisecond timestamp from a JSON number.
 27 |     public static let millisecondsSince1970 = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'millisecondsSince1970' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |         Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self) / 1000)
 29 |     }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:51:13: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
 51 | private let iso8601DateFormatter = ISO8601DateFormatter()
    |             |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'iso8601DateFormatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:57:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | import Foundation
  8 |
  9 | public struct DateDecodingStrategy {
    |               `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
 10 |     private let decode: (PathDecoder) throws -> Date
 11 |
    :
 55 |
 56 |     /// Decode the `Date` as an ISO-8601-formatted string (in RFC 3339 format).
 57 |     public static let iso8601 = DateDecodingStrategy { decoder in
    |                       |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |         try iso8601DateFormatter.date(
 59 |             from: try decoder.decode(String.self)
[15/21] Compiling BackedCodable PathDecoder.swift
/host/spi-builder-workspace/Sources/BackedCodable/Path/Path.swift:20:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct Path: Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
   |               `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 |     public static func ?? (lhs: Path, rhs: Path) -> Path {
11 |         Path(storage: lhs.storage + rhs.storage)
   :
18 |     }
19 |
20 |     public static let root = Path()
   |                       |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |     private init() {}
[16/21] Compiling BackedCodable Path.swift
/host/spi-builder-workspace/Sources/BackedCodable/Path/Path.swift:20:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct Path: Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
   |               `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 |     public static func ?? (lhs: Path, rhs: Path) -> Path {
11 |         Path(storage: lhs.storage + rhs.storage)
   :
18 |     }
19 |
20 |     public static let root = Path()
   |                       |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |     private init() {}
[17/21] Compiling BackedCodable BackedDecodable.swift
[18/21] Compiling BackedCodable BackingDecoder.swift
[19/21] Compiling BackedCodable Backed+ConditionalProtocolConformances.swift
[20/21] Compiling BackedCodable Backed+Init.swift
[21/21] Compiling BackedCodable Backed.swift
[23/26] Compiling BackedCodableStubs PlainSwiftStub.swift
[24/26] Compiling BackedCodableStubs Helpers.swift
[25/26] Compiling BackedCodableStubs BackedStub.swift
[26/26] Emitting module BackedCodableStubs
Build complete! (13.69s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BackedCodable",
  "name" : "BackedCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "BackedCodable",
      "targets" : [
        "BackedCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BackedCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "BackedCodableTests",
      "path" : "Tests/BackedCodableTests",
      "sources" : [
        "BackedCodableTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BackedCodable",
        "BackedCodableStubs"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BackedCodableStubs",
      "module_type" : "SwiftTarget",
      "name" : "BackedCodableStubs",
      "path" : "Stubs",
      "sources" : [
        "BackedStub.swift",
        "Helpers.swift",
        "PlainSwiftStub.swift"
      ],
      "target_dependencies" : [
        "BackedCodable"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BackedCodable",
      "module_type" : "SwiftTarget",
      "name" : "BackedCodable",
      "path" : "Sources/BackedCodable",
      "product_memberships" : [
        "BackedCodable"
      ],
      "sources" : [
        "Backed+ConditionalProtocolConformances.swift",
        "Backed+Init.swift",
        "Backed.swift",
        "BackedDecodable.swift",
        "Decoders/BackingDecoder.swift",
        "Decoders/BackingDecoderContext.swift",
        "Decoders/DateDecoder.swift",
        "Decoders/LossyDecoder.swift",
        "Helper Types/BackedError.swift",
        "Helper Types/EmptyDecodable.swift",
        "Path Decoder/Decoder+PathDecoder.swift",
        "Path Decoder/PathCodingKey.swift",
        "Path Decoder/PathDecoder.Element.swift",
        "Path Decoder/PathDecoder.swift",
        "Path/Path.swift",
        "Path/PathComponent.swift",
        "Path/PathFilter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.