This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendyliga/ConsoleIO.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/wendyliga/ConsoleIO.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Fetching https://github.com/wendyliga/SwiftKit.git
[1/717] Fetching swiftkit
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.22s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.0.1 (0.45s)
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.0.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Emitting module SwiftKit
[5/8] Compiling SwiftKit Array+Extension.swift
[6/8] Compiling SwiftKit Error.swift
[7/8] Compiling SwiftKit Result+Extension.swift
[8/8] Compiling SwiftKit String+Extension.swift
[10/12] Emitting module ConsoleIO
[11/12] Compiling ConsoleIO Input.swift
[12/12] 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
Build complete! (10.22s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.