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 Yarn, reference 1.0.0 (3c50cc), with Swift 6.0 for Linux on 28 Nov 2024 06:50:35 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/Yarn.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/0xLeif/Yarn
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 3c50cc1 Yarn.init
Cloned https://github.com/0xLeif/Yarn.git
Revision (git rev-parse @):
3c50cc133bc71879aaf3bbb15fa271e9506489f8
SUCCESS checkout https://github.com/0xLeif/Yarn.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xLeif/Yarn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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 -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/0xLet/SwiftFu
Fetching https://github.com/0xLeif/Chronicle
[1/149] Fetching swiftfu
[150/279] Fetching swiftfu, chronicle
Fetched https://github.com/0xLet/SwiftFu from cache (0.19s)
Fetched https://github.com/0xLeif/Chronicle from cache (0.20s)
Computing version for https://github.com/0xLeif/Chronicle
Computed https://github.com/0xLeif/Chronicle at 0.2.3 (0.49s)
Computing version for https://github.com/0xLet/SwiftFu
Computed https://github.com/0xLet/SwiftFu at 1.0.1 (0.49s)
Creating working copy for https://github.com/0xLeif/Chronicle
Working copy of https://github.com/0xLeif/Chronicle resolved at 0.2.3
Creating working copy for https://github.com/0xLet/SwiftFu
Working copy of https://github.com/0xLet/SwiftFu resolved at 1.0.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/21] Compiling SwiftFu Tuplable.swift
[6/22] Compiling SwiftFu Modifiable.swift
[7/22] Compiling SwiftFu Printable.swift
[8/22] Compiling SwiftFu Fuable.swift
[9/22] Compiling SwiftFu Functionable.swift
[10/22] Compiling SwiftFu SwiftFu+.swift
[11/22] Compiling SwiftFu Boolable.swift
[12/22] Compiling SwiftFu Configurable.swift
[13/22] Compiling Chronicle Chronicle.swift
[14/22] Compiling Chronicle Chronicle+DefaultHandlers.swift
[15/22] Compiling SwiftFu Switch+.swift
[16/22] Emitting module Chronicle
[17/22] Compiling Chronicle Chronicle+DefaultFormatters.swift
[19/23] Compiling SwiftFu Foundation+SwiftFu.swift
[20/23] Compiling SwiftFu BinaryFloatingPoint+.swift
[21/23] Emitting module SwiftFu
[22/23] Compiling SwiftFu BinaryInteger+.swift
[23/23] Compiling SwiftFu Assertable.swift
[25/26] Emitting module Yarn
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:4:1: warning: extension declares a conformance of imported type 'Chronicle' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
 2 | import SwiftFu
 3 |
 4 | extension Chronicle: Fuable { }
   | |- warning: extension declares a conformance of imported type 'Chronicle' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 | extension Chronicle.DefaultFormatters.DefaultFormatter: Fuable { }
 6 |
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:5:1: warning: extension declares a conformance of imported type 'DefaultFormatter' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
 3 |
 4 | extension Chronicle: Fuable { }
 5 | extension Chronicle.DefaultFormatters.DefaultFormatter: Fuable { }
   | |- warning: extension declares a conformance of imported type 'DefaultFormatter' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |
 7 | @dynamicMemberLookup
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:22:23: warning: static property 'console' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     public static var console: Chronicle = Chronicle(
   |                       |- warning: static property 'console' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'console' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'console' 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
23 |         label: "yarn.console.log.expectation",
24 |         formatter: Chronicle.DefaultFormatters.DefaultFormatter()
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:31:28: warning: reference to static property 'errorEmoji' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 |     )
30 |     .func { console in
31 |         Chronicle.LogLevel.errorEmoji = "❌"
   |                            `- warning: reference to static property 'errorEmoji' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 |         return console
33 |     }
/host/spi-builder-workspace/.build/checkouts/Chronicle/Sources/Chronicle/Chronicle.swift:24:27: note: static property declared here
22 |         public static var infoEmoji: String = "ℹ️"
23 |         public static var warningEmoji: String = "⚠️"
24 |         public static var errorEmoji: String = "❗️"
   |                           `- note: static property declared here
25 |         public static var fatalEmoji: String = "🚨"
26 |
[26/26] Compiling Yarn Yarn.swift
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:4:1: warning: extension declares a conformance of imported type 'Chronicle' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
 2 | import SwiftFu
 3 |
 4 | extension Chronicle: Fuable { }
   | |- warning: extension declares a conformance of imported type 'Chronicle' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 | extension Chronicle.DefaultFormatters.DefaultFormatter: Fuable { }
 6 |
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:5:1: warning: extension declares a conformance of imported type 'DefaultFormatter' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
 3 |
 4 | extension Chronicle: Fuable { }
 5 | extension Chronicle.DefaultFormatters.DefaultFormatter: Fuable { }
   | |- warning: extension declares a conformance of imported type 'DefaultFormatter' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |
 7 | @dynamicMemberLookup
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:22:23: warning: static property 'console' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     public static var console: Chronicle = Chronicle(
   |                       |- warning: static property 'console' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'console' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'console' 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
23 |         label: "yarn.console.log.expectation",
24 |         formatter: Chronicle.DefaultFormatters.DefaultFormatter()
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:31:28: warning: reference to static property 'errorEmoji' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 |     )
30 |     .func { console in
31 |         Chronicle.LogLevel.errorEmoji = "❌"
   |                            `- warning: reference to static property 'errorEmoji' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 |         return console
33 |     }
/host/spi-builder-workspace/.build/checkouts/Chronicle/Sources/Chronicle/Chronicle.swift:24:27: note: static property declared here
22 |         public static var infoEmoji: String = "ℹ️"
23 |         public static var warningEmoji: String = "⚠️"
24 |         public static var errorEmoji: String = "❗️"
   |                           `- note: static property declared here
25 |         public static var fatalEmoji: String = "🚨"
26 |
Build complete! (19.95s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "chronicle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Chronicle"
    },
    {
      "identity" : "swiftfu",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLet/SwiftFu"
    }
  ],
  "manifest_display_name" : "Yarn",
  "name" : "Yarn",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Yarn",
      "targets" : [
        "Yarn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "YarnTests",
      "module_type" : "SwiftTarget",
      "name" : "YarnTests",
      "path" : "Tests/YarnTests",
      "sources" : [
        "YarnTests.swift"
      ],
      "target_dependencies" : [
        "Yarn"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Yarn",
      "module_type" : "SwiftTarget",
      "name" : "Yarn",
      "path" : "Sources/Yarn",
      "product_dependencies" : [
        "Chronicle",
        "SwiftFu"
      ],
      "product_memberships" : [
        "Yarn"
      ],
      "sources" : [
        "Yarn.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.