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

Swift 6 data race errors: 4

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/AvdLee/Poes.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/AvdLee/Poes
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 530ab44 Update stale.yml
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out 'c2122f81f98515f3e292dff1a5e03c6899870646'
Submodule 'Submodules/WeTransfer-iOS-CI' (https://github.com/WeTransfer/WeTransfer-iOS-CI.git) registered for path 'Submodules/WeTransfer-iOS-CI'
Cloning into '/host/spi-builder-workspace/Submodules/WeTransfer-iOS-CI'...
Cloned https://github.com/AvdLee/Poes.git
Revision (git rev-parse @):
530ab4428083f0ad8935d165684a1b5a70dc2399
SUCCESS checkout https://github.com/AvdLee/Poes.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/AvdLee/Poes.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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/apple/swift-argument-parser
[1/11679] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.1 (0.52s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.1
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/35] Emitting module ArgumentParser
[6/38] Compiling ArgumentParser ParsedValues.swift
[7/38] Compiling ArgumentParser ParserError.swift
[8/38] Compiling ArgumentParser SplitArguments.swift
[9/38] Compiling ArgumentParser ArgumentDefinition.swift
[10/38] Compiling ArgumentParser ArgumentSet.swift
[11/38] Compiling ArgumentParser ArgumentSetSequence.swift
[12/38] Compiling ArgumentParser CommandParser.swift
[13/38] Compiling ArgumentParser Argument.swift
[14/38] Compiling ArgumentParser ArgumentHelp.swift
[15/38] Compiling ArgumentParser Flag.swift
[16/38] Compiling ArgumentParser NameSpecification.swift
[17/38] Compiling ArgumentParser InputOrigin.swift
[18/38] Compiling ArgumentParser Name.swift
[19/38] Compiling ArgumentParser Parsed.swift
[20/38] Compiling ArgumentParser ExpressibleByArgument.swift
[21/38] Compiling ArgumentParser ParsableArguments.swift
[22/38] Compiling ArgumentParser ParsableCommand.swift
[23/38] Compiling ArgumentParser ArgumentDecoder.swift
[24/38] Compiling ArgumentParser UsageGenerator.swift
[25/38] Compiling ArgumentParser StringExtensions.swift
[26/38] Compiling ArgumentParser Tree.swift
[27/38] Compiling ArgumentParser Option.swift
[28/38] Compiling ArgumentParser OptionGroup.swift
[29/38] Compiling ArgumentParser ValidationError.swift
[30/38] Compiling ArgumentParser CommandConfiguration.swift
[31/38] Compiling ArgumentParser HelpCommand.swift
[32/38] Compiling ArgumentParser HelpGenerator.swift
[33/38] Compiling ArgumentParser MessageInfo.swift
[34/39] Wrapping AST for ArgumentParser for debugging
[36/45] Compiling PoesCore Poes.swift
/host/spi-builder-workspace/Sources/PoesCore/Poes.swift:13:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Poes: ParsableCommand {
13 |     public static let configuration = CommandConfiguration(
   |                       `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
14 |         abstract: "A Swift command-line tool to easily test push notifications to the iOS simulator",
15 |         subcommands: [Send.self])
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
   |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 |   /// The name of the command to use on the command line.
15 |   ///
/host/spi-builder-workspace/Sources/PoesCore/Poes.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 8 |
 9 | import Foundation
10 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
11 |
12 | public struct Poes: ParsableCommand {
13 |     public static let configuration = CommandConfiguration(
   |                       |- note: annotate 'configuration' 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
14 |         abstract: "A Swift command-line tool to easily test push notifications to the iOS simulator",
15 |         subcommands: [Send.self])
[37/45] Compiling PoesCore Payload.swift
[38/45] Emitting module PoesCore
/host/spi-builder-workspace/Sources/PoesCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isVerbose' 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
13 |
14 |     static func debug(_ message: Any) {
/host/spi-builder-workspace/Sources/PoesCore/Helpers/Shell.swift:58:16: warning: static property 'shell' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | enum ShellInjector {
58 |     static var shell: ShellExecuting.Type = Shell.self
   |                |- warning: static property 'shell' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shell' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shell' 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
59 | }
60 |
/host/spi-builder-workspace/Sources/PoesCore/Poes.swift:13:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Poes: ParsableCommand {
13 |     public static let configuration = CommandConfiguration(
   |                       `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
14 |         abstract: "A Swift command-line tool to easily test push notifications to the iOS simulator",
15 |         subcommands: [Send.self])
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
   |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 |   /// The name of the command to use on the command line.
15 |   ///
/host/spi-builder-workspace/Sources/PoesCore/Poes.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 8 |
 9 | import Foundation
10 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
11 |
12 | public struct Poes: ParsableCommand {
13 |     public static let configuration = CommandConfiguration(
   |                       |- note: annotate 'configuration' 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
14 |         abstract: "A Swift command-line tool to easily test push notifications to the iOS simulator",
15 |         subcommands: [Send.self])
/host/spi-builder-workspace/Sources/PoesCore/Send.swift:14:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
12 | struct Send: ParsableCommand, ShellInjectable {
13 |
14 |     public static let configuration = CommandConfiguration(abstract: "Send a push notification to an app installed on the iOS Simulator")
   |                       `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     @Argument(help: "The bundle identifier of the app to push to")
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
   |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 |   /// The name of the command to use on the command line.
15 |   ///
/host/spi-builder-workspace/Sources/PoesCore/Send.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 8 |
 9 | import Foundation
10 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
11 |
12 | struct Send: ParsableCommand, ShellInjectable {
13 |
14 |     public static let configuration = CommandConfiguration(abstract: "Send a push notification to an app installed on the iOS Simulator")
   |                       |- note: annotate 'configuration' 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
15 |
16 |     @Argument(help: "The bundle identifier of the app to push to")
[39/45] Compiling PoesCore Log.swift
/host/spi-builder-workspace/Sources/PoesCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isVerbose' 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
13 |
14 |     static func debug(_ message: Any) {
[40/45] Compiling PoesCore Shell.swift
/host/spi-builder-workspace/Sources/PoesCore/Helpers/Shell.swift:58:16: warning: static property 'shell' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | enum ShellInjector {
58 |     static var shell: ShellExecuting.Type = Shell.self
   |                |- warning: static property 'shell' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shell' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shell' 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
59 | }
60 |
/host/spi-builder-workspace/Sources/PoesCore/Helpers/Shell.swift:24:9: warning: 'launchPath' is deprecated: renamed to 'executableURL'
22 | extension Process {
23 |     func shell(_ command: ShellCommand) -> String {
24 |         launchPath = "/bin/bash"
   |         |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |         `- note: use 'executableURL' instead
25 |         arguments = ["-c", command.rawValue]
26 |
/host/spi-builder-workspace/Sources/PoesCore/Helpers/Shell.swift:29:9: warning: 'launch()' is deprecated: renamed to 'run'
27 |         let outputPipe = Pipe()
28 |         standardOutput = outputPipe
29 |         launch()
   |         |- warning: 'launch()' is deprecated: renamed to 'run'
   |         `- note: use 'run' instead
30 |
31 |         let data = outputPipe.fileHandleForReading.readDataToEndOfFile()
[41/45] Compiling PoesCore Send.swift
/host/spi-builder-workspace/Sources/PoesCore/Send.swift:14:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
12 | struct Send: ParsableCommand, ShellInjectable {
13 |
14 |     public static let configuration = CommandConfiguration(abstract: "Send a push notification to an app installed on the iOS Simulator")
   |                       `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     @Argument(help: "The bundle identifier of the app to push to")
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
   |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 |   /// The name of the command to use on the command line.
15 |   ///
/host/spi-builder-workspace/Sources/PoesCore/Send.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 8 |
 9 | import Foundation
10 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
11 |
12 | struct Send: ParsableCommand, ShellInjectable {
13 |
14 |     public static let configuration = CommandConfiguration(abstract: "Send a push notification to an app installed on the iOS Simulator")
   |                       |- note: annotate 'configuration' 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
15 |
16 |     @Argument(help: "The bundle identifier of the app to push to")
/host/spi-builder-workspace/Sources/PoesCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isVerbose' 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
13 |
14 |     static func debug(_ message: Any) {
[42/46] Wrapping AST for PoesCore for debugging
[44/48] Emitting module Poes
[45/48] Compiling Poes main.swift
[46/49] Wrapping AST for Poes for debugging
[47/49] Write Objects.LinkFileList
[48/49] Linking Poes
Build complete! (17.81s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Poes",
  "name" : "Poes",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Poes",
      "targets" : [
        "Poes"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PoesCore",
      "module_type" : "SwiftTarget",
      "name" : "PoesCore",
      "path" : "Sources/PoesCore",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Poes"
      ],
      "sources" : [
        "Helpers/Log.swift",
        "Helpers/Shell.swift",
        "Payload.swift",
        "Poes.swift",
        "Send.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Poes",
      "module_type" : "SwiftTarget",
      "name" : "Poes",
      "path" : "Sources/Poes",
      "product_memberships" : [
        "Poes"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PoesCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.