Build Information
Failed to build Swiftline, reference master (097c61
), with Swift 6.2 (beta) for Android on 20 Jun 2025 23:16:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bow-swift/Swiftline.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/bow-swift/Swiftline
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 097c61f Merge pull request #6 from bow-swift/fix-unsafemutablepointer-unwrap
Cloned https://github.com/bow-swift/Swiftline.git
Revision (git rev-parse @):
097c61ff0ee85c5e821a8b21b11deae38be64606
SUCCESS checkout https://github.com/bow-swift/Swiftline.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/bow-swift/Swiftline.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14759] Fetching quick
[12251/34343] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.67s)
[3721/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.65s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (2.43s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.78s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.81s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.81s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.18s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.56s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/27] Compiling Swiftline AskerValidator.swift
[4/27] Compiling Swiftline Choose.swift
[5/27] Compiling Swiftline ChooseSettings.swift
[6/27] Compiling Swiftline Colorizer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/30] Compiling Swiftline Agree.swift
[8/30] Compiling Swiftline AgreeSettings.swift
[9/30] Compiling Swiftline ArgConvertible.swift
[10/30] Compiling Swiftline Args.swift
[11/30] Emitting module Swiftline
/host/spi-builder-workspace/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
7 | typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
8 | #else
9 | typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
| `- error: cannot find type 'posix_spawn_file_actions_t' in scope
10 | #endif
11 |
[12/30] Compiling Swiftline PromptPrinter.swift
[13/30] Compiling Swiftline PromptReader.swift
[14/30] Compiling Swiftline PromptSettings.swift
[15/30] Compiling Swiftline StringStyle.swift
[16/30] Compiling Swiftline StringStyleColorizer.swift
[17/30] Compiling Swiftline TaskPipe.swift
[18/30] Compiling Swiftline CommandExecutor.swift
/host/spi-builder-workspace/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
7 | typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
8 | #else
9 | typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
| `- error: cannot find type 'posix_spawn_file_actions_t' in scope
10 | #endif
11 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:106:9: error: cannot find 'posix_spawn_file_actions_init' in scope
104 |
105 | var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 | posix_spawn_file_actions_init(&childFDActions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:107:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 | var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 | posix_spawn_file_actions_init(&childFDActions)
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
/host/spi-builder-workspace/Sources/CommandExecutor.swift:108:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
106 | posix_spawn_file_actions_init(&childFDActions)
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
/host/spi-builder-workspace/Sources/CommandExecutor.swift:109:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
110 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
111 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:110:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
111 |
112 | var pid: pid_t = 0
/host/spi-builder-workspace/Sources/CommandExecutor.swift:114:22: error: cannot find 'posix_spawn' in scope
112 | var pid: pid_t = 0
113 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 | let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: cannot find 'posix_spawn' in scope
115 |
116 | return (Int(result), "", "")
/host/spi-builder-workspace/Sources/CommandExecutor.swift:114:70: error: 'nil' requires a contextual type
112 | var pid: pid_t = 0
113 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 | let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: 'nil' requires a contextual type
115 |
116 | return (Int(result), "", "")
/host/spi-builder-workspace/Sources/CommandExecutor.swift:137:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
135 | defer {
136 | for case let arg? in argv { free(arg) }
137 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
138 | posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 | posix_spawn_file_actions_destroy(&childFDActions)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:138:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
136 | for case let arg? in argv { free(arg) }
137 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 | posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
139 | posix_spawn_file_actions_destroy(&childFDActions)
140 | }
/host/spi-builder-workspace/Sources/CommandExecutor.swift:139:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
137 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 | posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 | posix_spawn_file_actions_destroy(&childFDActions)
| `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
140 | }
141 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:142:9: error: cannot find 'posix_spawn_file_actions_init' in scope
140 | }
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:86: error: cannot find 'O_CREAT' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_CREAT' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:96: error: cannot find 'O_TRUNC' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_TRUNC' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:106: error: cannot find 'O_WRONLY' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_WRONLY' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:86: error: cannot find 'O_CREAT' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_CREAT' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:96: error: cannot find 'O_TRUNC' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_TRUNC' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:106: error: cannot find 'O_WRONLY' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_WRONLY' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:145:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
147 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:146:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
147 |
148 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
/host/spi-builder-workspace/Sources/CommandExecutor.swift:149:22: error: cannot find 'posix_spawn' in scope
147 |
148 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 | var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: cannot find 'posix_spawn' in scope
150 | guard result == 0 else { return (Int(result), "", "") }
151 | waitpid(pid, &result, 0)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:149:70: error: 'nil' requires a contextual type
147 |
148 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 | var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: 'nil' requires a contextual type
150 | guard result == 0 else { return (Int(result), "", "") }
151 | waitpid(pid, &result, 0)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:151:9: error: cannot find 'waitpid' in scope
149 | var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
150 | guard result == 0 else { return (Int(result), "", "") }
151 | waitpid(pid, &result, 0)
| `- error: cannot find 'waitpid' in scope
152 |
153 | let (stdout, stderr) = read(outputPath: stdoutLogPath, outerrPath: stderrLogPath)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:177:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
175 |
176 | private func write(atPath path: String, content: String) {
177 | FileManager.default.createFile(atPath: path, contents: content.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
178 | }
179 | }
[19/30] Compiling Swiftline Env.swift
/host/spi-builder-workspace/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
7 | typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
8 | #else
9 | typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
| `- error: cannot find type 'posix_spawn_file_actions_t' in scope
10 | #endif
11 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:106:9: error: cannot find 'posix_spawn_file_actions_init' in scope
104 |
105 | var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 | posix_spawn_file_actions_init(&childFDActions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:107:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 | var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 | posix_spawn_file_actions_init(&childFDActions)
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
/host/spi-builder-workspace/Sources/CommandExecutor.swift:108:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
106 | posix_spawn_file_actions_init(&childFDActions)
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
/host/spi-builder-workspace/Sources/CommandExecutor.swift:109:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
110 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
111 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:110:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
111 |
112 | var pid: pid_t = 0
/host/spi-builder-workspace/Sources/CommandExecutor.swift:114:22: error: cannot find 'posix_spawn' in scope
112 | var pid: pid_t = 0
113 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 | let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: cannot find 'posix_spawn' in scope
115 |
116 | return (Int(result), "", "")
/host/spi-builder-workspace/Sources/CommandExecutor.swift:114:70: error: 'nil' requires a contextual type
112 | var pid: pid_t = 0
113 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 | let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: 'nil' requires a contextual type
115 |
116 | return (Int(result), "", "")
/host/spi-builder-workspace/Sources/CommandExecutor.swift:137:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
135 | defer {
136 | for case let arg? in argv { free(arg) }
137 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
138 | posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 | posix_spawn_file_actions_destroy(&childFDActions)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:138:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
136 | for case let arg? in argv { free(arg) }
137 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 | posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
139 | posix_spawn_file_actions_destroy(&childFDActions)
140 | }
/host/spi-builder-workspace/Sources/CommandExecutor.swift:139:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
137 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 | posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 | posix_spawn_file_actions_destroy(&childFDActions)
| `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
140 | }
141 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:142:9: error: cannot find 'posix_spawn_file_actions_init' in scope
140 | }
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:86: error: cannot find 'O_CREAT' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_CREAT' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:96: error: cannot find 'O_TRUNC' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_TRUNC' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:106: error: cannot find 'O_WRONLY' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_WRONLY' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:86: error: cannot find 'O_CREAT' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_CREAT' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:96: error: cannot find 'O_TRUNC' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_TRUNC' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:106: error: cannot find 'O_WRONLY' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_WRONLY' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:145:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
147 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:146:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
147 |
148 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
/host/spi-builder-workspace/Sources/CommandExecutor.swift:149:22: error: cannot find 'posix_spawn' in scope
147 |
148 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 | var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: cannot find 'posix_spawn' in scope
150 | guard result == 0 else { return (Int(result), "", "") }
151 | waitpid(pid, &result, 0)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:149:70: error: 'nil' requires a contextual type
147 |
148 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 | var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: 'nil' requires a contextual type
150 | guard result == 0 else { return (Int(result), "", "") }
151 | waitpid(pid, &result, 0)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:151:9: error: cannot find 'waitpid' in scope
149 | var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
150 | guard result == 0 else { return (Int(result), "", "") }
151 | waitpid(pid, &result, 0)
| `- error: cannot find 'waitpid' in scope
152 |
153 | let (stdout, stderr) = read(outputPath: stdoutLogPath, outerrPath: stderrLogPath)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:177:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
175 |
176 | private func write(atPath path: String, content: String) {
177 | FileManager.default.createFile(atPath: path, contents: content.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
178 | }
179 | }
[20/30] Compiling Swiftline ProcessInfo.swift
/host/spi-builder-workspace/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
7 | typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
8 | #else
9 | typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
| `- error: cannot find type 'posix_spawn_file_actions_t' in scope
10 | #endif
11 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:106:9: error: cannot find 'posix_spawn_file_actions_init' in scope
104 |
105 | var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 | posix_spawn_file_actions_init(&childFDActions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:107:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 | var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 | posix_spawn_file_actions_init(&childFDActions)
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
/host/spi-builder-workspace/Sources/CommandExecutor.swift:108:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
106 | posix_spawn_file_actions_init(&childFDActions)
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
/host/spi-builder-workspace/Sources/CommandExecutor.swift:109:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
107 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
110 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
111 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:110:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
108 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
111 |
112 | var pid: pid_t = 0
/host/spi-builder-workspace/Sources/CommandExecutor.swift:114:22: error: cannot find 'posix_spawn' in scope
112 | var pid: pid_t = 0
113 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 | let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: cannot find 'posix_spawn' in scope
115 |
116 | return (Int(result), "", "")
/host/spi-builder-workspace/Sources/CommandExecutor.swift:114:70: error: 'nil' requires a contextual type
112 | var pid: pid_t = 0
113 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 | let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: 'nil' requires a contextual type
115 |
116 | return (Int(result), "", "")
/host/spi-builder-workspace/Sources/CommandExecutor.swift:137:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
135 | defer {
136 | for case let arg? in argv { free(arg) }
137 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
138 | posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 | posix_spawn_file_actions_destroy(&childFDActions)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:138:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
136 | for case let arg? in argv { free(arg) }
137 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 | posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
| `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
139 | posix_spawn_file_actions_destroy(&childFDActions)
140 | }
/host/spi-builder-workspace/Sources/CommandExecutor.swift:139:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
137 | posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 | posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 | posix_spawn_file_actions_destroy(&childFDActions)
| `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
140 | }
141 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:142:9: error: cannot find 'posix_spawn_file_actions_init' in scope
140 | }
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:86: error: cannot find 'O_CREAT' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_CREAT' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:96: error: cannot find 'O_TRUNC' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_TRUNC' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:143:106: error: cannot find 'O_WRONLY' in scope
141 |
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_WRONLY' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:86: error: cannot find 'O_CREAT' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_CREAT' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:96: error: cannot find 'O_TRUNC' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_TRUNC' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:144:106: error: cannot find 'O_WRONLY' in scope
142 | posix_spawn_file_actions_init(&childFDActions)
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
| `- error: cannot find 'O_WRONLY' in scope
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:145:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
143 | posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
147 |
/host/spi-builder-workspace/Sources/CommandExecutor.swift:146:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
144 | posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 | posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 | posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
147 |
148 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
/host/spi-builder-workspace/Sources/CommandExecutor.swift:149:22: error: cannot find 'posix_spawn' in scope
147 |
148 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 | var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: cannot find 'posix_spawn' in scope
150 | guard result == 0 else { return (Int(result), "", "") }
151 | waitpid(pid, &result, 0)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:149:70: error: 'nil' requires a contextual type
147 |
148 | let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 | var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
| `- error: 'nil' requires a contextual type
150 | guard result == 0 else { return (Int(result), "", "") }
151 | waitpid(pid, &result, 0)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:151:9: error: cannot find 'waitpid' in scope
149 | var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
150 | guard result == 0 else { return (Int(result), "", "") }
151 | waitpid(pid, &result, 0)
| `- error: cannot find 'waitpid' in scope
152 |
153 | let (stdout, stderr) = read(outputPath: stdoutLogPath, outerrPath: stderrLogPath)
/host/spi-builder-workspace/Sources/CommandExecutor.swift:177:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
175 |
176 | private func write(atPath path: String, content: String) {
177 | FileManager.default.createFile(atPath: path, contents: content.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
178 | }
179 | }
[21/30] Compiling Swiftline RunResults.swift
[22/30] Compiling Swiftline Runner.swift
[23/30] Compiling Swiftline RunnerSettings.swift
[24/30] Compiling Swiftline ShortHandRunner.swift
[25/30] Compiling Swiftline StringBackgroundColorizer.swift
[26/30] Compiling Swiftline StringForegroundColorizer.swift
[27/30] Compiling Swiftline ArgsParser.swift
[28/30] Compiling Swiftline Argument.swift
[29/30] Compiling Swiftline Ask.swift
[30/30] Compiling Swiftline AskSettings.swift
BUILD FAILURE 6.2 android