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

Failed to build swift-shell, reference main (96ab21), with Swift 6.0 for Linux on 5 Nov 2024 15:39:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrarski/swift-shell.git
Reference: main
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/darrarski/swift-shell
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 96ab219 Fix package manifest (#2)
Cloned https://github.com/darrarski/swift-shell.git
Revision (git rev-parse @):
96ab21989405780333e8a7b690a46fa4b28548e9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/darrarski/swift-shell.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/darrarski/swift-shell.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 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/pointfreeco/swift-custom-dump.git
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
[1/758] Fetching swift-concurrency-extras
[759/5269] Fetching swift-concurrency-extras, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.30s)
[3158/4511] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.38s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
warning: 'swift-concurrency-extras': /Package@swift-6.0.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |   name: "swift-concurrency-extras",
 7 |   platforms: [
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.2.0 (0.51s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 1.3.3 (0.46s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4985] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.71s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.2 (0.44s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras.git
Working copy of https://github.com/pointfreeco/swift-concurrency-extras.git resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.4.2
warning: 'swift-concurrency-extras': /host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Package@swift-6.0.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |   name: "swift-concurrency-extras",
 7 |   platforms: [
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling SwiftShell ShellEnvironment.swift
[4/7] Compiling SwiftShell ShellProcess.swift
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:19:10: error: initializer cannot be declared public because its parameter uses an internal type
  1 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
 17 |   ///   - currentDirectoryURL: Working directory for the executable.
 18 |   ///   - qualityOfService: Quality of service class applied to the process.
 19 |   public init(
    |          |- error: initializer cannot be declared public because its parameter uses an internal type
    |          `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 20 |     executableURL: URL,
 21 |     arguments: [String]? = nil,
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:97:61: error: var 'EXIT_SUCCESS' is internal and cannot be referenced from a default argument value
  1 | import Foundation
    | `- note: var 'EXIT_SUCCESS' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
 95 |   @discardableResult
 96 |   public func waitUntilExit(
 97 |     validate isSuccess: @Sendable (Int32) -> Bool = { $0 == EXIT_SUCCESS }
    |                                                             `- error: var 'EXIT_SUCCESS' is internal and cannot be referenced from a default argument value
 98 |   ) throws -> Int32 {
 99 |     process.waitUntilExit()
SwiftGlibc.EXIT_SUCCESS:1:12: note: var 'EXIT_SUCCESS' is not '@usableFromInline' or public
1 | public var EXIT_SUCCESS: Int32 { get }
  |            `- note: var 'EXIT_SUCCESS' is not '@usableFromInline' or public
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:97:61: error: getter for var 'EXIT_SUCCESS' is internal and cannot be referenced from a default argument value
  1 | import Foundation
    | `- note: getter for var 'EXIT_SUCCESS' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
 95 |   @discardableResult
 96 |   public func waitUntilExit(
 97 |     validate isSuccess: @Sendable (Int32) -> Bool = { $0 == EXIT_SUCCESS }
    |                                                             `- error: getter for var 'EXIT_SUCCESS' is internal and cannot be referenced from a default argument value
 98 |   ) throws -> Int32 {
 99 |     process.waitUntilExit()
SwiftGlibc._:1:1: note: getter for var 'EXIT_SUCCESS' is not '@usableFromInline' or public
1 | get
  | `- note: getter for var 'EXIT_SUCCESS' is not '@usableFromInline' or public
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:127:15: error: method cannot be declared public because its parameter uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
125 |   ///
126 |   /// - Parameter data: Input data.
127 |   public func send(input data: Data) throws {
    |               |- error: method cannot be declared public because its parameter uses an internal type
    |               `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
128 |     guard isRunning else { throw InputError.processIsNotRunning }
129 |     try inputPipe.fileHandleForWriting.write(contentsOf: data)
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:142:15: error: method cannot be declared public because its result uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
140 |   ///
141 |   /// - Returns: Standard output data.
142 |   public func output() throws -> Data? {
    |               |- error: method cannot be declared public because its result uses an internal type
    |               `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
143 |     try outputPipe.fileHandleForReading.readToEnd()
144 |   }
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:151:27: error: method cannot be declared public because its result uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
149 |   ///
150 |   /// - Returns: Async stream of standard output data.
151 |   public nonisolated func outputStream() -> AsyncStream<Data> {
    |                           |- error: method cannot be declared public because its result uses an internal type
    |                           `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
152 |     AsyncStream {
153 |       let data = self.outputPipe.fileHandleForReading.availableData
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:161:15: error: method cannot be declared public because its result uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
159 |   ///
160 |   /// - Returns: Standard error data.
161 |   public func error() throws -> Data? {
    |               |- error: method cannot be declared public because its result uses an internal type
    |               `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
162 |     try errorPipe.fileHandleForReading.readToEnd()
163 |   }
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:170:27: error: method cannot be declared public because its result uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
168 |   ///
169 |   /// - Returns: Async stream of standard error data.
170 |   public nonisolated func errorStream() -> AsyncStream<Data> {
    |                           |- error: method cannot be declared public because its result uses an internal type
    |                           `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
171 |     AsyncStream {
172 |       let data = self.errorPipe.fileHandleForReading.availableData
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:189:10: error: initializer cannot be declared public because its parameter uses an internal type
  1 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
187 |   ///   - currentDirectoryURL: Working directory for the executable.
188 |   ///   - qualityOfService: Quality of service class applied to the process.
189 |   public init(
    |          |- error: initializer cannot be declared public because its parameter uses an internal type
    |          `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
190 |     _ command: ShellCommand,
191 |     currentDirectoryURL: URL? = nil,
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module SwiftShell
/host/spi-builder-workspace/Sources/SwiftShell/Bash.swift:16:22: error: method cannot be declared public because its parameter uses an internal type
 1 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 2 |
 3 | extension ShellCommand {
   :
14 |   ///   - qualityOfService: Quality of service level applied to the process.
15 |   /// - Returns: Shell command representation.
16 |   public static func bash(
   |                      |- error: method cannot be declared public because its parameter uses an internal type
   |                      `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
17 |     _ script: String,
18 |     environment: ShellEnvironment = .current,
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:17:10: error: initializer cannot be declared public because its parameter uses an internal type
 1 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
15 |   ///   - workingDirectory: Working directory for the executable.
16 |   ///   - qualityOfService: Quality of service level applied to the process.
17 |   public init(
   |          |- error: initializer cannot be declared public because its parameter uses an internal type
   |          `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
18 |     executableURL: URL,
19 |     arguments: [String] = [],
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:32:14: error: property cannot be declared public because its type uses an internal type
 1 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
30 |
31 |   /// URL represening path to the executable.
32 |   public var executableURL: URL
   |              |- error: property cannot be declared public because its type uses an internal type
   |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
33 |
34 |   /// The command arguments used to launch the executable.
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:43:14: error: property cannot be declared public because its type uses an internal type
 1 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
41 |   ///
42 |   /// If `nil` (default), the current working directory will be used.
43 |   public var workingDirectory: URL?
   |              |- error: property cannot be declared public because its type uses an internal type
   |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
44 |
45 |   /// Quality of service level applied to the process.
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:48:14: error: property cannot be declared public because its type uses an internal type
 1 | import Foundation
   | `- note: enum 'QualityOfService' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
46 |   ///
47 |   /// If `nil`, a default QoS will be used.
48 |   public var qualityOfService: QualityOfService?
   |              |- error: property cannot be declared public because its type uses an internal type
   |              `- note: enum 'QualityOfService' is imported by this file as 'internal' from 'Foundation'
49 | }
50 |
Foundation.QualityOfService:1:13: note: type declared here
 1 | public enum QualityOfService : Int, Sendable {
   |             `- note: type declared here
 2 |     case userInteractive
 3 |     case userInitiated
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:63:10: error: initializer cannot be declared public because its parameter uses an internal type
 1 | import Foundation
   | `- note: enum 'QualityOfService' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
61 |   ///   - workingDirectory: Working directory for the executable.
62 |   ///   - qualityOfService: Quality of service level applied to the process.
63 |   public init(
   |          |- error: initializer cannot be declared public because its parameter uses an internal type
   |          `- note: enum 'QualityOfService' is imported by this file as 'internal' from 'Foundation'
64 |     _ command: String...,
65 |     environment: ShellEnvironment = .current,
Foundation.QualityOfService:1:13: note: type declared here
 1 | public enum QualityOfService : Int, Sendable {
   |             `- note: type declared here
 2 |     case userInteractive
 3 |     case userInitiated
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:19:10: error: initializer cannot be declared public because its parameter uses an internal type
  1 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
 17 |   ///   - currentDirectoryURL: Working directory for the executable.
 18 |   ///   - qualityOfService: Quality of service class applied to the process.
 19 |   public init(
    |          |- error: initializer cannot be declared public because its parameter uses an internal type
    |          `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
 20 |     executableURL: URL,
 21 |     arguments: [String]? = nil,
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:97:61: error: var 'EXIT_SUCCESS' is internal and cannot be referenced from a default argument value
  1 | import Foundation
    | `- note: var 'EXIT_SUCCESS' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
 95 |   @discardableResult
 96 |   public func waitUntilExit(
 97 |     validate isSuccess: @Sendable (Int32) -> Bool = { $0 == EXIT_SUCCESS }
    |                                                             `- error: var 'EXIT_SUCCESS' is internal and cannot be referenced from a default argument value
 98 |   ) throws -> Int32 {
 99 |     process.waitUntilExit()
SwiftGlibc.EXIT_SUCCESS:1:12: note: var 'EXIT_SUCCESS' is not '@usableFromInline' or public
1 | public var EXIT_SUCCESS: Int32 { get }
  |            `- note: var 'EXIT_SUCCESS' is not '@usableFromInline' or public
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:97:61: error: getter for var 'EXIT_SUCCESS' is internal and cannot be referenced from a default argument value
  1 | import Foundation
    | `- note: getter for var 'EXIT_SUCCESS' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
 95 |   @discardableResult
 96 |   public func waitUntilExit(
 97 |     validate isSuccess: @Sendable (Int32) -> Bool = { $0 == EXIT_SUCCESS }
    |                                                             `- error: getter for var 'EXIT_SUCCESS' is internal and cannot be referenced from a default argument value
 98 |   ) throws -> Int32 {
 99 |     process.waitUntilExit()
SwiftGlibc._:1:1: note: getter for var 'EXIT_SUCCESS' is not '@usableFromInline' or public
1 | get
  | `- note: getter for var 'EXIT_SUCCESS' is not '@usableFromInline' or public
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:127:15: error: method cannot be declared public because its parameter uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
125 |   ///
126 |   /// - Parameter data: Input data.
127 |   public func send(input data: Data) throws {
    |               |- error: method cannot be declared public because its parameter uses an internal type
    |               `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
128 |     guard isRunning else { throw InputError.processIsNotRunning }
129 |     try inputPipe.fileHandleForWriting.write(contentsOf: data)
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:142:15: error: method cannot be declared public because its result uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
140 |   ///
141 |   /// - Returns: Standard output data.
142 |   public func output() throws -> Data? {
    |               |- error: method cannot be declared public because its result uses an internal type
    |               `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
143 |     try outputPipe.fileHandleForReading.readToEnd()
144 |   }
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:151:27: error: method cannot be declared public because its result uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
149 |   ///
150 |   /// - Returns: Async stream of standard output data.
151 |   public nonisolated func outputStream() -> AsyncStream<Data> {
    |                           |- error: method cannot be declared public because its result uses an internal type
    |                           `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
152 |     AsyncStream {
153 |       let data = self.outputPipe.fileHandleForReading.availableData
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:161:15: error: method cannot be declared public because its result uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
159 |   ///
160 |   /// - Returns: Standard error data.
161 |   public func error() throws -> Data? {
    |               |- error: method cannot be declared public because its result uses an internal type
    |               `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
162 |     try errorPipe.fileHandleForReading.readToEnd()
163 |   }
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:170:27: error: method cannot be declared public because its result uses an internal type
  1 | import Foundation
    | `- note: struct 'Data' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
168 |   ///
169 |   /// - Returns: Async stream of standard error data.
170 |   public nonisolated func errorStream() -> AsyncStream<Data> {
    |                           |- error: method cannot be declared public because its result uses an internal type
    |                           `- note: struct 'Data' is imported by this file as 'internal' from 'Foundation'
171 |     AsyncStream {
172 |       let data = self.errorPipe.fileHandleForReading.availableData
FoundationEssentials.Data:2:23: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
    |                       `- note: type declared here
  3 |     public typealias Index = Int
  4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:189:10: error: initializer cannot be declared public because its parameter uses an internal type
  1 | import Foundation
    | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
  2 |
  3 | /// Represents shell process.
    :
187 |   ///   - currentDirectoryURL: Working directory for the executable.
188 |   ///   - qualityOfService: Quality of service class applied to the process.
189 |   public init(
    |          |- error: initializer cannot be declared public because its parameter uses an internal type
    |          `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
190 |     _ command: ShellCommand,
191 |     currentDirectoryURL: URL? = nil,
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
[6/7] Compiling SwiftShell Bash.swift
/host/spi-builder-workspace/Sources/SwiftShell/Bash.swift:16:22: error: method cannot be declared public because its parameter uses an internal type
 1 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 2 |
 3 | extension ShellCommand {
   :
14 |   ///   - qualityOfService: Quality of service level applied to the process.
15 |   /// - Returns: Shell command representation.
16 |   public static func bash(
   |                      |- error: method cannot be declared public because its parameter uses an internal type
   |                      `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
17 |     _ script: String,
18 |     environment: ShellEnvironment = .current,
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
[7/7] Compiling SwiftShell ShellCommand.swift
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:17:10: error: initializer cannot be declared public because its parameter uses an internal type
 1 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
15 |   ///   - workingDirectory: Working directory for the executable.
16 |   ///   - qualityOfService: Quality of service level applied to the process.
17 |   public init(
   |          |- error: initializer cannot be declared public because its parameter uses an internal type
   |          `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
18 |     executableURL: URL,
19 |     arguments: [String] = [],
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:32:14: error: property cannot be declared public because its type uses an internal type
 1 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
30 |
31 |   /// URL represening path to the executable.
32 |   public var executableURL: URL
   |              |- error: property cannot be declared public because its type uses an internal type
   |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
33 |
34 |   /// The command arguments used to launch the executable.
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:43:14: error: property cannot be declared public because its type uses an internal type
 1 | import Foundation
   | `- note: struct 'URL' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
41 |   ///
42 |   /// If `nil` (default), the current working directory will be used.
43 |   public var workingDirectory: URL?
   |              |- error: property cannot be declared public because its type uses an internal type
   |              `- note: struct 'URL' is imported by this file as 'internal' from 'Foundation'
44 |
45 |   /// Quality of service level applied to the process.
FoundationEssentials.URL:2:15: note: type declared here
  1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
  2 | public struct URL : Equatable, Sendable, Hashable {
    |               `- note: type declared here
  3 |     public init?(string: __shared String)
  4 |     public init?(string: __shared String, relativeTo url: __shared URL?)
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:48:14: error: property cannot be declared public because its type uses an internal type
 1 | import Foundation
   | `- note: enum 'QualityOfService' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
46 |   ///
47 |   /// If `nil`, a default QoS will be used.
48 |   public var qualityOfService: QualityOfService?
   |              |- error: property cannot be declared public because its type uses an internal type
   |              `- note: enum 'QualityOfService' is imported by this file as 'internal' from 'Foundation'
49 | }
50 |
Foundation.QualityOfService:1:13: note: type declared here
 1 | public enum QualityOfService : Int, Sendable {
   |             `- note: type declared here
 2 |     case userInteractive
 3 |     case userInitiated
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:63:10: error: initializer cannot be declared public because its parameter uses an internal type
 1 | import Foundation
   | `- note: enum 'QualityOfService' imported as 'internal' from 'Foundation' here
 2 |
 3 | /// Shell command representation.
   :
61 |   ///   - workingDirectory: Working directory for the executable.
62 |   ///   - qualityOfService: Quality of service level applied to the process.
63 |   public init(
   |          |- error: initializer cannot be declared public because its parameter uses an internal type
   |          `- note: enum 'QualityOfService' is imported by this file as 'internal' from 'Foundation'
64 |     _ command: String...,
65 |     environment: ShellEnvironment = .current,
Foundation.QualityOfService:1:13: note: type declared here
 1 | public enum QualityOfService : Int, Sendable {
   |             `- note: type declared here
 2 |     case userInteractive
 3 |     case userInitiated
BUILD FAILURE 6.0 linux