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 swift-sh, reference master (e19c34), with Swift 6.1 for Linux on 29 Apr 2025 08:59:57 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/swift-sh.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/mxcl/swift-sh
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e19c345 swifts 5.1...5.9 & 6.0
Cloned https://github.com/mxcl/swift-sh.git
Revision (git rev-parse @):
e19c3451b142e5257e411e6e81cfa9762eb5a94a
SUCCESS checkout https://github.com/mxcl/swift-sh.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mxcl/swift-sh.git
https://github.com/mxcl/swift-sh.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "path.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Path.swift"
    },
    {
      "identity" : "streamreader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/StreamReader"
    },
    {
      "identity" : "legibleerror",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/LegibleError"
    },
    {
      "identity" : "version",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Version"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift"
    }
  ],
  "manifest_display_name" : "swift-sh",
  "name" : "swift-sh",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "swift-sh",
      "targets" : [
        "swift-sh"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Script",
      "targets" : [
        "Script"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Utility",
      "targets" : [
        "Utility"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Command",
      "targets" : [
        "Command"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_sh",
      "module_type" : "SwiftTarget",
      "name" : "swift-sh",
      "path" : "Sources",
      "product_dependencies" : [
        "LegibleError"
      ],
      "product_memberships" : [
        "swift-sh"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Command"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Utility",
      "module_type" : "SwiftTarget",
      "name" : "Utility",
      "path" : "Sources/Utility",
      "product_dependencies" : [
        "Path",
        "Version",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "swift-sh",
        "Script",
        "Utility",
        "Command"
      ],
      "sources" : [
        "Path+ResolvedHash.swift",
        "Process+1up.swift",
        "TemporaryDirectory.swift",
        "etc.swift",
        "exec().swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Script",
      "module_type" : "SwiftTarget",
      "name" : "Script",
      "path" : "Sources/Script",
      "product_dependencies" : [
        "StreamReader"
      ],
      "product_memberships" : [
        "swift-sh",
        "Script",
        "Command"
      ],
      "sources" : [
        "Constraint.swift",
        "DependencyName.swift",
        "ExecutableTargetMainStyle.swift",
        "ImportSpecification.swift",
        "Script.swift",
        "parse().swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Command",
      "module_type" : "SwiftTarget",
      "name" : "Command",
      "path" : "Sources/Command",
      "product_memberships" : [
        "swift-sh",
        "Command"
      ],
      "sources" : [
        "CommandLine.usage.swift",
        "clean().swift",
        "edit().swift",
        "editor().swift",
        "eject().swift",
        "run().Input.swift",
        "run().swift"
      ],
      "target_dependencies" : [
        "Script"
      ],
      "type" : "library"
    },
    {
      "c99name" : "All",
      "module_type" : "SwiftTarget",
      "name" : "All",
      "path" : "Tests/All",
      "sources" : [
        "ImportSpecificationUnitTests.swift",
        "IntegrationTests.swift",
        "ModeUnitTests.swift",
        "UtilityTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "swift-sh"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/mxcl/Path.swift
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/mxcl/LegibleError
Fetching https://github.com/mxcl/StreamReader
Fetching https://github.com/mxcl/Version
[1/178] Fetching legibleerror
[179/228] Fetching legibleerror, streamreader
[229/516] Fetching legibleerror, streamreader, version
[474/13450] Fetching legibleerror, streamreader, version, cryptoswift
Fetched https://github.com/mxcl/Version from cache (0.37s)
Fetched https://github.com/mxcl/StreamReader from cache (0.37s)
[1989/13112] Fetching legibleerror, cryptoswift
Fetched https://github.com/mxcl/LegibleError from cache (2.16s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (2.20s)
[1/1059] Fetching path.swift
Fetched https://github.com/mxcl/Path.swift from cache (3.30s)
Computing version for https://github.com/mxcl/StreamReader
Computed https://github.com/mxcl/StreamReader at 1.0.1 (7.39s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (1.06s)
Computing version for https://github.com/mxcl/LegibleError
Computed https://github.com/mxcl/LegibleError at 1.0.6 (1.06s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.1 (1.09s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.4 (1.08s)
Creating working copy for https://github.com/mxcl/LegibleError
Working copy of https://github.com/mxcl/LegibleError resolved at 1.0.6
Creating working copy for https://github.com/mxcl/Path.swift
Working copy of https://github.com/mxcl/Path.swift resolved at 1.4.1
Creating working copy for https://github.com/mxcl/StreamReader
Working copy of https://github.com/mxcl/StreamReader resolved at 1.0.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.4
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.0
Building for debugging...
[0/22] Write sources
[6/22] Copying PrivacyInfo.xcprivacy
[6/22] Write sources
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/141] Emitting module LegibleError
[13/141] Emitting module Version
[14/141] Compiling Path Path+StringConvertibles.swift
[15/141] Compiling Version Version+Codable.swift
[16/141] Compiling Version Version+Range.swift
[17/141] Compiling Version Version.swift
[18/142] Compiling Path Pathish.swift
[19/142] Compiling CryptoSwift IntegerConversion.swift
[20/142] Compiling CryptoSwift Multiplication.swift
[21/142] Compiling CryptoSwift PrimeTest.swift
[22/142] Compiling CryptoSwift Random.swift
[23/142] Compiling CryptoSwift Shifts.swift
[24/142] Compiling CryptoSwift SquareRoot.swift
[25/142] Compiling CryptoSwift Strideable.swift
[26/142] Compiling CryptoSwift StringConversion.swift
[27/142] Compiling CryptoSwift Subtraction.swift
[28/142] Compiling CryptoSwift WordsAndBits.swift
[29/142] Compiling CryptoSwift ChaCha20.swift
[30/142] Compiling CryptoSwift Checksum.swift
[31/142] Compiling CryptoSwift Cipher.swift
[32/142] Compiling CryptoSwift Collection+Extension.swift
[33/156] Compiling Version Version+Comparable.swift
[34/156] Compiling Version Version+Foundation.swift
[35/157] Compiling LegibleError LegibleError.swift
[37/158] Compiling Path PathToBool.swift
[39/158] Compiling CryptoSwift CMAC.swift
[40/158] Compiling CryptoSwift Addition.swift
[41/158] Compiling CryptoSwift BigInt.swift
[42/158] Compiling CryptoSwift BigUInt.swift
[43/158] Compiling CryptoSwift BitwiseOps.swift
[44/158] Compiling CryptoSwift CS.swift
[45/158] Compiling CryptoSwift Codable.swift
[46/158] Compiling CryptoSwift Comparable.swift
[47/158] Compiling CryptoSwift DataConversion.swift
[48/158] Compiling CryptoSwift Division.swift
[49/158] Compiling CryptoSwift Exponentiation.swift
[50/158] Compiling CryptoSwift FloatingPointConversion.swift
[51/158] Compiling CryptoSwift GCD.swift
[52/158] Compiling CryptoSwift Hashable.swift
[53/158] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[54/158] Compiling CryptoSwift AES.Cryptors.swift
[55/158] Compiling CryptoSwift AEAD.swift
[56/158] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[57/158] Emitting module Path
[58/158] Compiling Path Path+FileManager.swift
[59/158] Compiling Path Path+ls.swift
[60/158] Compiling Path Path.swift
[60/159] Wrapping AST for Version for debugging
[62/159] Wrapping AST for LegibleError for debugging
[64/159] Compiling CryptoSwift CompactMap.swift
[65/159] Compiling CryptoSwift Cryptor.swift
[66/159] Compiling CryptoSwift Cryptors.swift
[67/159] Compiling CryptoSwift Digest.swift
[68/159] Compiling CryptoSwift DigestType.swift
[69/159] Compiling CryptoSwift AES+Foundation.swift
[70/159] Compiling CryptoSwift Array+Foundation.swift
[71/159] Compiling CryptoSwift Blowfish+Foundation.swift
[72/159] Compiling CryptoSwift ChaCha20+Foundation.swift
[73/159] Compiling CryptoSwift Data+Extension.swift
[74/159] Compiling CryptoSwift HMAC+Foundation.swift
[75/159] Compiling CryptoSwift Rabbit+Foundation.swift
[76/159] Compiling CryptoSwift String+FoundationExtension.swift
[77/159] Compiling CryptoSwift Utils+Foundation.swift
[78/159] Compiling CryptoSwift BlockEncryptor.swift
[79/159] Compiling CryptoSwift BlockMode.swift
[80/159] Compiling CryptoSwift BlockModeOptions.swift
[81/159] Compiling CryptoSwift CBC.swift
[82/159] Compiling CryptoSwift CCM.swift
[83/159] Compiling CryptoSwift CFB.swift
[84/159] Compiling CryptoSwift CTR.swift
[85/159] Compiling CryptoSwift CipherModeWorker.swift
[86/159] Compiling CryptoSwift ECB.swift
[87/159] Compiling CryptoSwift GCM.swift
[88/159] Compiling CryptoSwift OCB.swift
[89/159] Compiling CryptoSwift OFB.swift
[90/159] Compiling CryptoSwift PCBC.swift
[91/159] Compiling CryptoSwift Blowfish.swift
[92/159] Compiling CryptoSwift CBCMAC.swift
[92/159] Wrapping AST for Path for debugging
[94/161] Emitting module CryptoSwift
[99/161] Compiling CryptoSwift AES.swift
[100/161] Compiling CryptoSwift ASN1.swift
[101/161] Compiling CryptoSwift ASN1Decoder.swift
[102/161] Compiling CryptoSwift ASN1Encoder.swift
[103/161] Compiling CryptoSwift ASN1Scanner.swift
[104/161] Compiling CryptoSwift Array+Extension.swift
[105/161] Compiling CryptoSwift Authenticator.swift
[106/161] Compiling CryptoSwift BatchedCollection.swift
[107/161] Compiling CryptoSwift Bit.swift
[108/161] Compiling CryptoSwift BlockCipher.swift
[109/161] Compiling CryptoSwift BlockDecryptor.swift
[110/161] Compiling CryptoSwift Signature.swift
[111/161] Compiling CryptoSwift StreamDecryptor.swift
[112/161] Compiling CryptoSwift StreamEncryptor.swift
[113/161] Compiling CryptoSwift String+Extension.swift
[114/161] Compiling CryptoSwift UInt128.swift
[115/161] Compiling CryptoSwift UInt16+Extension.swift
[116/161] Compiling CryptoSwift UInt32+Extension.swift
[117/161] Compiling CryptoSwift UInt64+Extension.swift
[118/161] Compiling CryptoSwift UInt8+Extension.swift
[119/161] Compiling CryptoSwift Updatable.swift
[120/161] Compiling CryptoSwift Utils.swift
[121/161] Compiling CryptoSwift XChaCha20.swift
[122/161] Compiling CryptoSwift ZeroPadding.swift
[123/161] Compiling CryptoSwift resource_bundle_accessor.swift
[124/161] Emitting module StreamReader
[125/161] Compiling StreamReader StreamReader.swift
[126/162] Wrapping AST for StreamReader for debugging
[128/162] Compiling CryptoSwift PKCS5.swift
[129/162] Compiling CryptoSwift PKCS7.swift
[130/162] Compiling CryptoSwift PKCS7Padding.swift
[131/162] Compiling CryptoSwift Padding.swift
[132/162] Compiling CryptoSwift Poly1305.swift
[133/162] Compiling CryptoSwift RSA+Cipher.swift
[134/162] Compiling CryptoSwift RSA+Signature.swift
[135/162] Compiling CryptoSwift RSA.swift
[136/162] Compiling CryptoSwift Rabbit.swift
[137/162] Compiling CryptoSwift SHA1.swift
[138/162] Compiling CryptoSwift SHA2.swift
[139/162] Compiling CryptoSwift SHA3.swift
[140/162] Compiling CryptoSwift Scrypt.swift
[141/162] Compiling CryptoSwift SecureBytes.swift
[142/162] Compiling CryptoSwift XChaCha20+Foundation.swift
[143/162] Compiling CryptoSwift Generics.swift
[144/162] Compiling CryptoSwift HKDF.swift
[145/162] Compiling CryptoSwift HMAC.swift
[146/162] Compiling CryptoSwift ISO10126Padding.swift
[147/162] Compiling CryptoSwift ISO78164Padding.swift
[148/162] Compiling CryptoSwift Int+Extension.swift
[149/162] Compiling CryptoSwift MD5.swift
[150/162] Compiling CryptoSwift NoPadding.swift
[151/162] Compiling CryptoSwift Operators.swift
[152/162] Compiling CryptoSwift DER.swift
[153/162] Compiling CryptoSwift PBKDF1.swift
[154/162] Compiling CryptoSwift PBKDF2.swift
[155/162] Compiling CryptoSwift PKCS1v15.swift
[156/163] Wrapping AST for CryptoSwift for debugging
[158/169] Compiling Utility exec().swift
[159/169] Compiling Utility Path+ResolvedHash.swift
[160/169] Compiling Utility TemporaryDirectory.swift
[161/169] Compiling Utility etc.swift
[162/169] Emitting module Utility
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:49:20: warning: stored property 'stdout' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
 29 | #endif
 30 |
 31 |     class Output: CustomStringConvertible {
    |           `- note: class 'Output' does not conform to the 'Sendable' protocol
 32 |         public let data: Data
 33 |         public lazy var string = { [unowned self] () -> String? in
    :
 47 |
 48 |     struct ExecutionError: LocalizedError {
 49 |         public let stdout: Output?
    |                    `- warning: stored property 'stdout' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
 50 |         public let stderr: Output?
 51 |         public let status: Int32
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:50:20: warning: stored property 'stderr' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
 29 | #endif
 30 |
 31 |     class Output: CustomStringConvertible {
    |           `- note: class 'Output' does not conform to the 'Sendable' protocol
 32 |         public let data: Data
 33 |         public lazy var string = { [unowned self] () -> String? in
    :
 48 |     struct ExecutionError: LocalizedError {
 49 |         public let stdout: Output?
 50 |         public let stderr: Output?
    |                    `- warning: stored property 'stderr' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
 51 |         public let status: Int32
 52 |         public let arg0: String?
[163/169] Compiling Utility Process+1up.swift
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:49:20: warning: stored property 'stdout' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
 29 | #endif
 30 |
 31 |     class Output: CustomStringConvertible {
    |           `- note: class 'Output' does not conform to the 'Sendable' protocol
 32 |         public let data: Data
 33 |         public lazy var string = { [unowned self] () -> String? in
    :
 47 |
 48 |     struct ExecutionError: LocalizedError {
 49 |         public let stdout: Output?
    |                    `- warning: stored property 'stdout' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
 50 |         public let stderr: Output?
 51 |         public let status: Int32
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:50:20: warning: stored property 'stderr' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
 29 | #endif
 30 |
 31 |     class Output: CustomStringConvertible {
    |           `- note: class 'Output' does not conform to the 'Sendable' protocol
 32 |         public let data: Data
 33 |         public lazy var string = { [unowned self] () -> String? in
    :
 48 |     struct ExecutionError: LocalizedError {
 49 |         public let stdout: Output?
 50 |         public let stderr: Output?
    |                    `- warning: stored property 'stderr' of 'Sendable'-conforming struct 'ExecutionError' has non-sendable type 'Process.Output?'; this is an error in the Swift 6 language mode
 51 |         public let status: Int32
 52 |         public let arg0: String?
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:108:104: warning: 'launchPath' is deprecated: renamed to 'executableURL'
106 |         func finish() throws -> Output {
107 |             guard terminationStatus == 0, terminationReason == .exit else {
108 |                 throw ExecutionError(stdout: .init(out), stderr: nil, status: terminationStatus, arg0: launchPath, args: arguments ?? [])
    |                                                                                                        |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                                                                                                        `- note: use 'executableURL' instead
109 |             }
110 |             return Output(out)
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:167:111: warning: 'launchPath' is deprecated: renamed to 'executableURL'
165 |         func finish() throws -> (stdout: Output, stderr: Output) {
166 |             guard terminationStatus == 0, terminationReason == .exit else {
167 |                 throw ExecutionError(stdout: .init(out), stderr: .init(err), status: terminationStatus, arg0: launchPath, args: arguments ?? [])
    |                                                                                                               |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                                                                                                               `- note: use 'executableURL' instead
168 |             }
169 |             return (stdout: Output(out), stderr: Output(err))
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:161:24: 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
159 |         if tee, let str = String(data: err, encoding: .utf8) {
160 |             //TODO should avoid doing the above twice and get this into the err-`Output` somehow
161 |             fputs(str, 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
162 |         }
163 |     #endif
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/Utility/Process+1up.swift:187:93: warning: 'launchPath' is deprecated: renamed to 'executableURL'
185 |
186 |         guard terminationReason == .exit, terminationStatus == 0 else {
187 |             throw ExecutionError(stdout: nil, stderr: nil, status: terminationStatus, arg0: launchPath, args: arguments ?? [])
    |                                                                                             |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                                                                                             `- note: use 'executableURL' instead
188 |         }
189 |     }
[164/170] Wrapping AST for Utility for debugging
[166/177] Compiling Script ExecutableTargetMainStyle.swift
[167/177] Compiling Script parse().swift
[168/177] Compiling Script Constraint.swift
[169/177] Compiling Script DependencyName.swift
[170/177] Emitting module Script
/host/spi-builder-workspace/Sources/Script/Script.swift:271:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
269 |     do {
270 |         let task = Process()
271 |         task.launchPath = Path.swift.string
    |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |              `- note: use 'executableURL' instead
272 |         task.arguments = ["--version"]
273 |         let (stdout, _) = try task.runSync(tee: false) // ignore stderr
[171/177] Compiling Script ImportSpecification.swift
[172/177] Compiling Script Script.swift
/host/spi-builder-workspace/Sources/Script/Script.swift:271:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
269 |     do {
270 |         let task = Process()
271 |         task.launchPath = Path.swift.string
    |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |              `- note: use 'executableURL' instead
272 |         task.arguments = ["--version"]
273 |         let (stdout, _) = try task.runSync(tee: false) // ignore stderr
/host/spi-builder-workspace/Sources/Script/Script.swift:205:18: warning: 'launchPath' is deprecated: renamed to 'executableURL'
203 |             // first arg has to be same as executable path
204 |             let task = Process()
205 |             task.launchPath = Path.swift.string
    |                  |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                  `- note: use 'executableURL' instead
206 |             task.arguments = ["build", "-Xswiftc", "-suppress-warnings"]
207 |             task.currentDirectoryPath = buildDirectory.string
/host/spi-builder-workspace/Sources/Script/Script.swift:207:18: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
205 |             task.launchPath = Path.swift.string
206 |             task.arguments = ["build", "-Xswiftc", "-suppress-warnings"]
207 |             task.currentDirectoryPath = buildDirectory.string
    |                  |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
    |                  `- note: use 'currentDirectoryURL' instead
208 |
209 |           #if !os(Linux)
/host/spi-builder-workspace/Sources/Script/Script.swift:227:18: warning: 'launchPath' is deprecated: renamed to 'executableURL'
225 |         } else {
226 |             let task = Process()
227 |             task.launchPath = "/usr/bin/which"
    |                  |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                  `- note: use 'executableURL' instead
228 |             task.arguments = ["swift"]
229 |
[173/178] Wrapping AST for Script for debugging
[175/186] Compiling Command edit().swift
[176/186] Compiling Command run().swift
[177/186] Compiling Command clean().swift
[178/186] Compiling Command run().Input.swift
[179/186] Compiling Command editor().swift
[180/186] Compiling Command eject().swift
[181/186] Emitting module Command
[182/186] Compiling Command CommandLine.usage.swift
[183/187] Wrapping AST for Command for debugging
[185/189] Emitting module swift_sh
/host/spi-builder-workspace/Sources/main.swift:8:31: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | do {
 8 |     let isTTY = isatty(fileno(stdin)) == 1
   |                               `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 9 |     let mode = try Mode(for: CommandLine.arguments, isTTY: isTTY)
10 |
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
    |              `- note: var declared here
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
/host/spi-builder-workspace/Sources/main.swift:29:14: 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
27 |         error: invalid usage
28 |         \(CommandLine.usage)\n
29 |         """, 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
30 |     exit(3)
31 | } catch {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/main.swift:32:60: 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
30 |     exit(3)
31 | } catch {
32 |     fputs("error: \(error.legibleLocalizedDescription)\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
33 |     exit(2)
34 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[186/189] Compiling swift_sh main.swift
/host/spi-builder-workspace/Sources/main.swift:8:31: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | do {
 8 |     let isTTY = isatty(fileno(stdin)) == 1
   |                               `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 9 |     let mode = try Mode(for: CommandLine.arguments, isTTY: isTTY)
10 |
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
    |              `- note: var declared here
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
/host/spi-builder-workspace/Sources/main.swift:29:14: 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
27 |         error: invalid usage
28 |         \(CommandLine.usage)\n
29 |         """, 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
30 |     exit(3)
31 | } catch {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/main.swift:32:60: 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
30 |     exit(3)
31 | } catch {
32 |     fputs("error: \(error.legibleLocalizedDescription)\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
33 |     exit(2)
34 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[187/190] Wrapping AST for swift-sh for debugging
[188/190] Write Objects.LinkFileList
[189/190] Linking swift-sh
Build complete! (54.29s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "path.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Path.swift"
    },
    {
      "identity" : "streamreader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/StreamReader"
    },
    {
      "identity" : "legibleerror",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/LegibleError"
    },
    {
      "identity" : "version",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Version"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift"
    }
  ],
  "manifest_display_name" : "swift-sh",
  "name" : "swift-sh",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "swift-sh",
      "targets" : [
        "swift-sh"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Script",
      "targets" : [
        "Script"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Utility",
      "targets" : [
        "Utility"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Command",
      "targets" : [
        "Command"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_sh",
      "module_type" : "SwiftTarget",
      "name" : "swift-sh",
      "path" : "Sources",
      "product_dependencies" : [
        "LegibleError"
      ],
      "product_memberships" : [
        "swift-sh"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Command"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Utility",
      "module_type" : "SwiftTarget",
      "name" : "Utility",
      "path" : "Sources/Utility",
      "product_dependencies" : [
        "Path",
        "Version",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "swift-sh",
        "Script",
        "Utility",
        "Command"
      ],
      "sources" : [
        "Path+ResolvedHash.swift",
        "Process+1up.swift",
        "TemporaryDirectory.swift",
        "etc.swift",
        "exec().swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Script",
      "module_type" : "SwiftTarget",
      "name" : "Script",
      "path" : "Sources/Script",
      "product_dependencies" : [
        "StreamReader"
      ],
      "product_memberships" : [
        "swift-sh",
        "Script",
        "Command"
      ],
      "sources" : [
        "Constraint.swift",
        "DependencyName.swift",
        "ExecutableTargetMainStyle.swift",
        "ImportSpecification.swift",
        "Script.swift",
        "parse().swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Command",
      "module_type" : "SwiftTarget",
      "name" : "Command",
      "path" : "Sources/Command",
      "product_memberships" : [
        "swift-sh",
        "Command"
      ],
      "sources" : [
        "CommandLine.usage.swift",
        "clean().swift",
        "edit().swift",
        "editor().swift",
        "eject().swift",
        "run().Input.swift",
        "run().swift"
      ],
      "target_dependencies" : [
        "Script"
      ],
      "type" : "library"
    },
    {
      "c99name" : "All",
      "module_type" : "SwiftTarget",
      "name" : "All",
      "path" : "Tests/All",
      "sources" : [
        "ImportSpecificationUnitTests.swift",
        "IntegrationTests.swift",
        "ModeUnitTests.swift",
        "UtilityTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "swift-sh"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.