The Swift Package Index logo.Swift Package Index

Build Information

Failed to build nef, reference master (517340), with Swift 6.1 for Android on 28 May 2025 04:17:24 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bow-swift/nef.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/nef
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 517340f env: use full path to invoke nef
Cloned https://github.com/bow-swift/nef.git
Revision (git rev-parse @):
517340f71e4e38eee24ac698d88a913a52d49b9e
SUCCESS checkout https://github.com/bow-swift/nef.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bow-swift/nef.git
https://github.com/bow-swift/nef.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bow",
      "requirement" : {
        "exact" : [
          "0.8.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bow-swift/bow.git"
    },
    {
      "identity" : "swiftline",
      "requirement" : {
        "exact" : [
          "0.5.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bow-swift/Swiftline.git"
    }
  ],
  "manifest_display_name" : "nef",
  "name" : "nef",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "nef",
      "targets" : [
        "nef",
        "NefModels"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "nef",
      "module_type" : "SwiftTarget",
      "name" : "nef",
      "path" : "project/Component/nef",
      "product_dependencies" : [
        "Swiftline"
      ],
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Instances/UnixFileSystem.swift",
        "Instances/UnixPackageShell.swift",
        "Instances/UnixPlaygroundSystem.swift",
        "Instances/UnixRenderSystem.swift",
        "JekyllAPI.swift",
        "MarkdownAPI.swift",
        "Models/Error.swift",
        "SwiftPlaygroundAPI.swift",
        "Utils/BuildConfiguration.swift",
        "Utils/URL+PlaygroundPage.swift",
        "VersionAPI.swift"
      ],
      "target_dependencies" : [
        "NefModels",
        "NefCommon",
        "NefCore",
        "NefRender",
        "NefMarkdown",
        "NefJekyll",
        "NefSwiftPlayground"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefSwiftPlayground",
      "module_type" : "SwiftTarget",
      "name" : "NefSwiftPlayground",
      "path" : "project/Component/NefSwiftPlayground",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Algebras/PackageShell.swift",
        "Assets.swift",
        "Assets/ImageReference.swift",
        "Errors/PackageShellError.swift",
        "Errors/PlaygroundBookError.swift",
        "Errors/SwiftPlaygroundError.swift",
        "Models/Module.swift",
        "Models/Package.swift",
        "Models/PlaygroundBookEvent.swift",
        "Models/PlaygroundBookResolutionPath.swift",
        "Models/PlaygroundBookTemplate.swift",
        "Models/PlaygroundEnvironment.swift",
        "Models/PlaygroundResolutionPath.swift",
        "Models/SwiftPackage.swift",
        "Models/SwiftPackageProduct.swift",
        "PlaygroundBook.swift",
        "SwiftPlayground.swift"
      ],
      "target_dependencies" : [
        "NefCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefRender",
      "module_type" : "SwiftTarget",
      "name" : "NefRender",
      "path" : "project/Component/NefRender",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Errors/MarkdownError.swift",
        "Models/RenderEnvironment.swift",
        "Models/RenderEvent.swift",
        "Render.swift"
      ],
      "target_dependencies" : [
        "NefCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefModels",
      "module_type" : "SwiftTarget",
      "name" : "NefModels",
      "path" : "project/Component/NefModels",
      "product_dependencies" : [
        "Bow",
        "BowEffects",
        "BowOptics"
      ],
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "CarbonModel.swift",
        "CompilerOptions.swift",
        "PlaygroundDependencies.swift",
        "PlaygroundExcludeItem.swift",
        "PlaygroundPlatform.swift",
        "ProgressReport.swift",
        "RenderedPage.swift",
        "SwiftModule.swift",
        "WorkspaceInfo.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefMarkdown",
      "module_type" : "SwiftTarget",
      "name" : "NefMarkdown",
      "path" : "project/Component/NefMarkdown",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Models/RenderMarkdownEnvironment.swift",
        "NefMarkdown.swift"
      ],
      "target_dependencies" : [
        "NefRender"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefJekyll",
      "module_type" : "SwiftTarget",
      "name" : "NefJekyll",
      "path" : "project/Component/NefJekyll",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Models/JekyllEvent.swift",
        "Models/RenderJekyllEnvironment.swift",
        "NefJekyll.swift"
      ],
      "target_dependencies" : [
        "NefRender"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefCore",
      "module_type" : "SwiftTarget",
      "name" : "NefCore",
      "path" : "project/Core",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Models/CoreEnvironments.swift",
        "Models/CoreRenderError.swift",
        "Models/Image.swift",
        "Models/MarkupNode.swift",
        "Parser/Lexical.swift",
        "Parser/Syntax.swift",
        "Render/CoreCarbon.swift",
        "Render/CoreCode.swift",
        "Render/CoreJekyll.swift",
        "Render/CoreMarkdown.swift",
        "Render/CoreRender.swift",
        "Utils/Node+Render.swift",
        "Utils/String+Format.swift"
      ],
      "target_dependencies" : [
        "NefCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefCommon",
      "module_type" : "SwiftTarget",
      "name" : "NefCommon",
      "path" : "project/Component/NefCommon",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Algebras/FileSystem.swift",
        "Algebras/NefPlaygroundSystem.swift",
        "Algebras/RenderingPersistence.swift",
        "Algebras/XcodePlaygroundSystem.swift",
        "Errors/FileSystemError.swift",
        "Errors/PlaygroundShellError.swift",
        "Errors/RenderingOutput.swift",
        "Errors/RenderingPersistenceError.swift",
        "Errors/XcodePlaygroundSystemError.swift",
        "Models/HasProgressReport.swift",
        "Models/NefPlaygroundURL.swift",
        "Models/RenderingURL.swift",
        "Utils/Array+Utils.swift",
        "Utils/Effects+Extensions.swift",
        "Utils/EnumeratedSequence+Extension.swift",
        "Utils/Platform+Utils.swift",
        "Utils/String+Path.swift",
        "Utils/String+Utils.swift"
      ],
      "target_dependencies" : [
        "NefModels"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreTests",
      "path" : "project/Tests/CoreTests",
      "sources" : [
        "JekyllTests.swift",
        "MarkdownTests.swift",
        "SyntaxTests.swift",
        "Utils/CoreRender+Test.swift"
      ],
      "target_dependencies" : [
        "NefCore"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/bow-swift/bow.git
Fetching https://github.com/bow-swift/Swiftline.git
[1/805] Fetching swiftline
[315/55103] Fetching swiftline, bow
Fetched https://github.com/bow-swift/Swiftline.git from cache (27.24s)
Fetched https://github.com/bow-swift/bow.git from cache (28.53s)
Computing version for https://github.com/bow-swift/Swiftline.git
Computed https://github.com/bow-swift/Swiftline.git at 0.5.6 (29.17s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[4871/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.76s)
[16059/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.39s)
Computing version for https://github.com/bow-swift/bow.git
Computed https://github.com/bow-swift/bow.git at 0.8.0 (2.06s)
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/bow-swift/SwiftCheck.git
[1/4531] Fetching swiftcheck
[4532/57214] Fetching swiftcheck, rxswift
Fetched https://github.com/bow-swift/SwiftCheck.git from cache (4.83s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.00s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (5.66s)
Computing version for https://github.com/bow-swift/SwiftCheck.git
Computed https://github.com/bow-swift/SwiftCheck.git at 0.12.1 (0.51s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (2.82s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.99s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (5.19s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (3.81s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (3.10s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (10.00s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/bow-swift/bow.git
Working copy of https://github.com/bow-swift/bow.git resolved at 0.8.0
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/bow-swift/Swiftline.git
Working copy of https://github.com/bow-swift/Swiftline.git resolved at 0.5.6
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/bow-swift/SwiftCheck.git
Working copy of https://github.com/bow-swift/SwiftCheck.git resolved at 0.12.1
Building for debugging...
[0/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/125] Emitting module Swiftline
/host/spi-builder-workspace/.build/checkouts/Swiftline/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 |
[15/128] Compiling Bow StringInstances.swift
[16/128] Compiling Bow BooleanFunctions.swift
[17/128] Compiling Bow Curry.swift
[18/128] Compiling Bow HigherKinds.swift
[19/128] Compiling Bow NonEmptyArray.swift
[20/128] Compiling Bow Option.swift
[21/128] Compiling Bow Pairing.swift
[22/128] Compiling Bow Memoization.swift
[23/128] Compiling Bow PartialApplication.swift
[24/128] Compiling Bow Predef.swift
[25/128] Compiling Bow OptionT.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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)
[26/128] Compiling Bow StateT.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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)
[27/128] Compiling Bow Dictionary.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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)
[28/128] Compiling Bow DictionaryK.swift
[29/128] Compiling Bow Either.swift
[30/128] Compiling Bow EitherK.swift
[31/128] Compiling Bow Endo.swift
[32/128] Compiling Bow Eval.swift
[33/128] Compiling Bow Id.swift
[34/128] Compiling Bow Ior.swift
[35/128] Compiling Bow Moore.swift
[36/128] Compiling Swiftline StringStyleColorizer.swift
[37/128] Compiling Swiftline TaskPipe.swift
[38/128] Compiling Bow WriterT.swift
[39/128] Compiling Bow Alternative.swift
[40/128] Compiling Bow Applicative.swift
[41/128] Compiling Bow ApplicativeError.swift
[42/128] Compiling Bow Bimonad.swift
[43/128] Compiling Bow Comonad.swift
[44/128] Compiling Bow ComonadEnv.swift
[45/128] Compiling Bow ComonadStore.swift
[46/128] Compiling Bow ComonadTraced.swift
[47/128] Compiling Bow ComonadTrans.swift
[55/140] Compiling Bow Reverse.swift
[56/140] Compiling Bow EitherT.swift
[57/140] Compiling Bow EnvT.swift
[60/140] Compiling Bow BindingExpression.swift
[61/140] Compiling Bow BindingOperator.swift
[62/140] Compiling Bow BoundVar.swift
[63/140] Compiling Bow MonadComprenhensions.swift
[64/140] Compiling Bow ReaderBindingExpression.swift
[65/140] Compiling Bow StateBindingExpression.swift
[66/140] Compiling Bow WriterBindingExpression.swift
[67/140] Compiling Bow MonadError.swift
[68/140] Compiling Bow MonadFilter.swift
[69/140] Compiling Bow MonadReader.swift
[70/140] Compiling Bow MonadState.swift
[71/140] Compiling Bow MonadWriter.swift
[75/140] Compiling Swiftline StringStyle.swift
[78/140] Compiling Bow Comparable.swift
[79/140] Compiling Bow Contravariant.swift
[80/140] Compiling Bow Decidable.swift
[81/140] Compiling Bow Divide.swift
[82/140] Compiling Bow Divisible.swift
[83/140] Compiling Bow EquatableK.swift
[84/140] Compiling Bow Foldable.swift
[85/140] Compiling Bow Functor.swift
[86/140] Compiling Bow FunctorFilter.swift
[87/140] Compiling Bow Invariant.swift
[88/140] Compiling Bow Monad.swift
[89/140] Compiling Bow MonadCombine.swift
[90/140] Compiling Bow Reader.swift
[91/140] Compiling Bow Result.swift
[92/140] Compiling Bow Set.swift
[93/140] Compiling Bow SetK.swift
[94/140] Compiling Bow Sum.swift
[95/140] Compiling Bow Trampoline.swift
[96/140] Compiling Bow Try.swift
[97/140] Compiling Bow Validated.swift
[98/140] Compiling Bow Zipper.swift
[99/140] Compiling Bow BoolInstances.swift
[100/140] Compiling Bow NumberInstances.swift
[101/140] Compiling Bow OptionInstances.swift
[115/140] Emitting module Bow
[116/140] Compiling Bow Cokleisli.swift
[117/140] Compiling Bow Function0.swift
[118/140] Compiling Bow Function1.swift
[119/140] Compiling Bow FunctionK.swift
[120/140] Compiling Bow Kleisli.swift
[121/140] Compiling Bow Action.swift
[122/140] Compiling Bow Array.swift
[123/140] Compiling Bow ArrayK.swift
[124/140] Compiling Bow Co.swift
[125/140] Compiling Bow CoSum.swift
[126/140] Compiling Bow Const.swift
[127/140] Compiling Bow Coreader.swift
[128/140] Compiling Bow Day.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/113] Emitting module Swiftline
/host/spi-builder-workspace/.build/checkouts/Swiftline/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 |
[3/116] Compiling Bow EitherT.swift
[4/116] Compiling Bow EnvT.swift
[5/116] Compiling Bow OptionT.swift
[6/116] Compiling Bow Cokleisli.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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)
[7/116] Compiling Bow Function0.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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)
[8/116] Compiling Bow Function1.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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/.build/checkouts/Swiftline/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)
[9/116] Compiling Bow Memoization.swift
[10/116] Compiling Bow PartialApplication.swift
[11/116] Compiling Bow Predef.swift
[12/116] Compiling Bow Reverse.swift
[13/116] Compiling Bow Const.swift
[14/116] Compiling Bow Coreader.swift
[15/116] Compiling Bow Day.swift
[16/116] Compiling Bow StringInstances.swift
[17/116] Compiling Bow FunctionK.swift
[18/116] Compiling Bow Kleisli.swift
[19/116] Compiling Bow Action.swift
[20/116] Compiling Bow BooleanFunctions.swift
[21/116] Compiling Bow Curry.swift
[22/116] Compiling Bow HigherKinds.swift
[23/116] Compiling Bow Array.swift
[24/116] Compiling Bow ArrayK.swift
[25/116] Compiling Bow Co.swift
[26/116] Compiling Bow CoSum.swift
[27/116] Compiling Swiftline StringStyle.swift
[28/116] Compiling Swiftline StringStyleColorizer.swift
[29/116] Compiling Swiftline TaskPipe.swift
BUILD FAILURE 6.1 android