The Swift Package Index logo.Swift Package Index

Build Information

Failed to build nef, reference 0.7.1 (517340), with Swift 6.1 for Android on 28 May 2025 04:17:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 0.7.1
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
 * tag               0.7.1      -> FETCH_HEAD
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 0.7.1
========================================
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-4606859-3":/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/Swiftline.git
Fetching https://github.com/bow-swift/bow.git
[1/805] Fetching swiftline
[315/55103] Fetching swiftline, bow
Fetched https://github.com/bow-swift/Swiftline.git from cache (35.69s)
Fetched https://github.com/bow-swift/bow.git from cache (36.94s)
Computing version for https://github.com/bow-swift/Swiftline.git
Computed https://github.com/bow-swift/Swiftline.git at 0.5.6 (43.45s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[14756/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (7.12s)
Fetched https://github.com/Quick/Nimble.git from cache (7.14s)
Computing version for https://github.com/bow-swift/bow.git
Computed https://github.com/bow-swift/bow.git at 0.8.0 (7.96s)
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 (0.86s)
[7376/52683] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (7.39s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (7.97s)
Computing version for https://github.com/bow-swift/SwiftCheck.git
Computed https://github.com/bow-swift/SwiftCheck.git at 0.12.1 (2.98s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.72s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.27s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.90s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.63s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.80s)
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/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/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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/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/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/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 Reader.swift
[16/128] Compiling Bow Result.swift
[17/128] Compiling Bow Set.swift
[18/128] Compiling Bow SetK.swift
[19/128] Compiling Bow CoSum.swift
[20/128] Compiling Bow Const.swift
[21/128] Compiling Bow Coreader.swift
[22/128] Compiling Swiftline StringStyle.swift
[23/128] Compiling Swiftline StringStyleColorizer.swift
[24/128] Compiling Swiftline TaskPipe.swift
[25/128] Compiling Bow Action.swift
[26/128] Compiling Bow Array.swift
[27/128] Compiling Bow ArrayK.swift
[28/128] Compiling Bow Co.swift
[29/128] Compiling Bow Validated.swift
[30/128] Compiling Bow Zipper.swift
[31/128] Compiling Bow BoolInstances.swift
[32/128] Compiling Bow NumberInstances.swift
[33/128] Compiling Bow OptionInstances.swift
[34/128] Compiling Bow Cokleisli.swift
[35/128] Compiling Bow Function0.swift
[36/128] Compiling Bow Function1.swift
[37/128] Compiling Bow FunctionK.swift
[38/128] Compiling Bow Kleisli.swift
[39/128] Compiling Bow Sum.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)
[40/128] Compiling Bow Trampoline.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)
[41/128] Compiling Bow Try.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)
[42/128] Compiling Bow BindingExpression.swift
[43/128] Compiling Bow BindingOperator.swift
[44/128] Compiling Bow BoundVar.swift
[45/128] Compiling Bow MonadComprenhensions.swift
[46/128] Compiling Bow ReaderBindingExpression.swift
[47/128] Compiling Bow StateBindingExpression.swift
[48/128] Compiling Bow WriterBindingExpression.swift
[49/128] Compiling Bow MonadError.swift
[50/128] Compiling Bow MonadFilter.swift
[51/128] Compiling Bow MonadReader.swift
[52/128] Compiling Bow MonadState.swift
[53/128] Compiling Bow MonadWriter.swift
[66/140] Compiling Bow StringInstances.swift
[67/140] Compiling Bow BooleanFunctions.swift
[68/140] Compiling Bow Curry.swift
[69/140] Compiling Bow HigherKinds.swift
[70/140] Compiling Bow Memoization.swift
[71/140] Compiling Bow PartialApplication.swift
[72/140] Compiling Bow Predef.swift
[73/140] Compiling Bow Reverse.swift
[74/140] Compiling Bow EitherT.swift
[75/140] Compiling Bow EnvT.swift
[76/140] Compiling Bow OptionT.swift
[77/140] Compiling Bow StateT.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 StoreT.swift
[91/140] Compiling Bow TracedT.swift
[92/140] Compiling Bow WriterT.swift
[93/140] Compiling Bow Alternative.swift
[94/140] Compiling Bow Applicative.swift
[95/140] Compiling Bow ApplicativeError.swift
[96/140] Compiling Bow Bimonad.swift
[97/140] Compiling Bow Comonad.swift
[98/140] Compiling Bow ComonadEnv.swift
[99/140] Compiling Bow ComonadStore.swift
[100/140] Compiling Bow ComonadTraced.swift
[101/140] Compiling Bow ComonadTrans.swift
[117/140] Compiling Bow Either.swift
[118/140] Compiling Bow EitherK.swift
[119/140] Compiling Bow Endo.swift
[120/140] Compiling Bow Eval.swift
[121/140] Compiling Bow Id.swift
[122/140] Compiling Bow Ior.swift
[123/140] Compiling Bow Moore.swift
[124/140] Compiling Bow NonEmptyArray.swift
[125/140] Compiling Bow Option.swift
[126/140] Compiling Bow Pairing.swift
[127/140] Compiling Bow Puller.swift
[128/140] Emitting module Bow
[129/140] Compiling Bow Monoid.swift
[130/140] Compiling Bow MonoidK.swift
[131/140] Compiling Bow Monoidal.swift
[132/140] Compiling Bow NonEmptyReducible.swift
[133/140] Compiling Bow Reducible.swift
[134/140] Compiling Bow Selective.swift
[135/140] Compiling Bow Semigroup.swift
[136/140] Compiling Bow SemigroupK.swift
[137/140] Compiling Bow Semigroupal.swift
[138/140] Compiling Bow Semiring.swift
[139/140] Compiling Bow Traverse.swift
[140/140] Compiling Bow TraverseFilter.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[2/113] Compiling Bow Day.swift
[3/113] Compiling Bow Dictionary.swift
[4/113] Compiling Bow DictionaryK.swift
[5/113] Compiling Bow Cokleisli.swift
[6/113] Compiling Bow Function0.swift
[7/113] Compiling Bow Function1.swift
[8/113] Compiling Bow FunctionK.swift
[9/113] Compiling Bow Kleisli.swift
[10/113] Compiling Bow Action.swift
[11/113] Compiling Bow Array.swift
[12/113] Compiling Bow ArrayK.swift
[13/116] Compiling Bow Either.swift
[14/116] Compiling Bow EitherK.swift
[15/116] Compiling Bow Endo.swift
[16/116] Compiling Bow Eval.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)
[17/116] Compiling Bow Id.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)
[18/116] Compiling Bow Ior.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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/116] Compiling Bow Co.swift
[20/116] Compiling Bow CoSum.swift
[21/116] Compiling Bow Const.swift
[22/116] Compiling Bow Coreader.swift
[23/116] Compiling Bow Moore.swift
[24/116] Compiling Bow NonEmptyArray.swift
[25/116] Compiling Bow Option.swift
[26/116] 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 |
[27/116] Compiling Swiftline StringStyle.swift
[28/116] Compiling Swiftline StringStyleColorizer.swift
[29/116] Compiling Swiftline TaskPipe.swift
[30/116] Compiling Bow BindingExpression.swift
[31/116] Compiling Bow BindingOperator.swift
[32/116] Compiling Bow BoundVar.swift
[33/116] Compiling Bow MonadComprenhensions.swift
[34/116] Compiling Bow ReaderBindingExpression.swift
[35/116] Compiling Bow StateBindingExpression.swift
[36/116] Compiling Bow WriterBindingExpression.swift
[37/116] Compiling Bow MonadError.swift
[38/116] Compiling Bow MonadFilter.swift
[39/116] Compiling Bow MonadReader.swift
[40/116] Compiling Bow MonadState.swift
[41/116] Compiling Bow MonadWriter.swift
BUILD FAILURE 6.1 android