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 ConsoleIO, reference 1.0.3 (3933eb), with Swift 6.0 for Linux on 31 Oct 2024 17:37:01 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendyliga/ConsoleIO.git
Reference: 1.0.3
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/wendyliga/ConsoleIO
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 3933eb8 Improve input (#1)
Cloned https://github.com/wendyliga/ConsoleIO.git
Revision (git rev-parse @):
3933eb8c8f4ce00d07c2a80896b6463bdf1d31d1
SUCCESS checkout https://github.com/wendyliga/ConsoleIO.git at 1.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/wendyliga/ConsoleIO.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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/wendyliga/SwiftKit.git
[1/717] Fetching swiftkit
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.20s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.4.2 (0.42s)
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.4.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftKit DefaultValue.swift
[5/14] Compiling SwiftKit Traceable.swift
[6/14] Compiling SwiftKit NonEmpty.swift
[7/14] Compiling SwiftKit Array+Extension.swift
[8/14] Compiling SwiftKit Result+Extension.swift
[9/14] Compiling SwiftKit String+Extension.swift
[10/14] Compiling SwiftKit Deprecated.swift
[11/14] Compiling SwiftKit Error.swift
[12/14] Emitting module SwiftKit
[13/14] Compiling SwiftKit Log.swift
[14/14] Compiling SwiftKit Shell.swift
[16/18] Compiling ConsoleIO Input.swift
[17/18] Compiling ConsoleIO Output.swift
/host/spi-builder-workspace/Sources/ConsoleIO/Output.swift:76:37: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 |         print(outputMessage)
75 |     case .error:
76 |         fputs(outputMessage + "\n", stderr)
   |                                     `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 |     }
78 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[18/18] Emitting module ConsoleIO
Build complete! (10.26s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wendyliga/SwiftKit.git"
    }
  ],
  "manifest_display_name" : "ConsoleIO",
  "name" : "ConsoleIO",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ConsoleIO",
      "targets" : [
        "ConsoleIO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConsoleIOTests",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleIOTests",
      "path" : "Tests/ConsoleIOTests",
      "sources" : [
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ConsoleIO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConsoleIO",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleIO",
      "path" : "Sources/ConsoleIO",
      "product_dependencies" : [
        "SwiftKit"
      ],
      "product_memberships" : [
        "ConsoleIO"
      ],
      "sources" : [
        "Input.swift",
        "Output.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.