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 LazyContainers, reference 4.1.0 (360a35), with Swift 6.0 for Linux on 28 Nov 2024 18:44:24 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/RougeWare/Swift-Lazy-Containers.git
Reference: 4.1.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/RougeWare/Swift-Lazy-Containers
 * tag               4.1.0      -> FETCH_HEAD
HEAD is now at 360a35c Merge pull request #37 from RougeWare/feature/Autoconformance
Cloned https://github.com/RougeWare/Swift-Lazy-Containers.git
Revision (git rev-parse @):
360a35c98992fc53739e884fb0c48e988710fa92
SUCCESS checkout https://github.com/RougeWare/Swift-Lazy-Containers.git at 4.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/RougeWare/Swift-Lazy-Containers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/10] Emitting module LazyContainers
/host/spi-builder-workspace/Sources/LazyContainers/LazyContainers.swift:408:30: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 | ///              semaphore was added to mitigate this, but again, it hasn't undergone rigorous real-world testing.
346 | @propertyWrapper
347 | public struct FunctionalLazy<Value>: LazyContainer {
    |                              `- note: 'Value' previously declared here
348 |
349 |     /// Privatizes the inner-workings of this functional lazy container
    :
406 |     /// The actual functionality of `FunctionalLazy`, separated so that the semantics work out better
407 |     @propertyWrapper
408 |     private final class Guts<Value> {
    |                              `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
409 |
410 |         /// The closure called every time a value is needed
[4/10] Compiling LazyContainers LazyContainer + Equatable.swift
[5/10] Compiling LazyContainers LazyContainer + Codable.swift
[6/10] Compiling LazyContainers LazyContainer + Hashable.swift
[7/10] Compiling LazyContainers LazyContainers.swift
/host/spi-builder-workspace/Sources/LazyContainers/LazyContainers.swift:408:30: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 | ///              semaphore was added to mitigate this, but again, it hasn't undergone rigorous real-world testing.
346 | @propertyWrapper
347 | public struct FunctionalLazy<Value>: LazyContainer {
    |                              `- note: 'Value' previously declared here
348 |
349 |     /// Privatizes the inner-workings of this functional lazy container
    :
406 |     /// The actual functionality of `FunctionalLazy`, separated so that the semantics work out better
407 |     @propertyWrapper
408 |     private final class Guts<Value> {
    |                              `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
409 |
410 |         /// The closure called every time a value is needed
[8/11] Wrapping AST for LazyContainers for debugging
[9/11] Write Objects.LinkFileList
[10/11] Linking libLazyContainers_dynamic.so
Build complete! (9.70s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LazyContainers",
  "name" : "LazyContainers",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LazyContainers",
      "targets" : [
        "LazyContainers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LazyContainers_dynamic",
      "targets" : [
        "LazyContainers"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "LazyContainersTests",
      "module_type" : "SwiftTarget",
      "name" : "LazyContainersTests",
      "path" : "Tests/LazyContainersTests",
      "sources" : [
        "GitHubIssue20Tests.swift",
        "LazyContainer + Codable tests.swift",
        "LazyContainer + Equatable tests.swift",
        "LazyContainer + Hashable tests.swift",
        "LazyContainersTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "LazyContainers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LazyContainers",
      "module_type" : "SwiftTarget",
      "name" : "LazyContainers",
      "path" : "Sources/LazyContainers",
      "product_memberships" : [
        "LazyContainers",
        "LazyContainers_dynamic"
      ],
      "sources" : [
        "LazyContainer + Codable.swift",
        "LazyContainer + Equatable.swift",
        "LazyContainer + Hashable.swift",
        "LazyContainers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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
Done.