The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-tools-support-core, reference main (f9b401), with Swift 6.2 (beta) for Android on 23 Jun 2025 22:35:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-tools-support-core.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/swiftlang/swift-tools-support-core
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f9b4010 Fix the build on iOS due to missing availability annotations
Cloned https://github.com/swiftlang/swift-tools-support-core.git
Revision (git rev-parse @):
f9b401016b70c6b8409e5c97e74d97513d1a8d02
SUCCESS checkout https://github.com/swiftlang/swift-tools-support-core.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-tools-support-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/13] Write sources
[4/13] Compiling TSCclibc libc.c
[5/13] Compiling TSCclibc process.c
[6/13] Compiling TSCclibc strerror.c
[7/13] Write swift-version-8C5A4AE7A8CE2BA.txt
[9/15] Emitting module TSCLibc
[10/15] Compiling TSCLibc libc.swift
[11/16] Wrapping AST for TSCLibc for debugging
[13/56] Compiling TSCBasic OSLog.swift
[14/56] Compiling TSCBasic ObjectIdentifierProtocol.swift
[15/56] Compiling TSCBasic OrderedDictionary.swift
[16/56] Compiling TSCBasic OrderedSet.swift
[17/56] Compiling TSCBasic Path.swift
[18/61] Compiling TSCBasic HashAlgorithms.swift
[19/61] Compiling TSCBasic JSON.swift
[20/61] Compiling TSCBasic JSONMapper.swift
[21/61] Compiling TSCBasic KeyedPair.swift
[22/61] Compiling TSCBasic LazyCache.swift
[23/61] Compiling TSCBasic Lock.swift
[24/61] Compiling TSCBasic PathShims.swift
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  18 | #endif
  19 |
  20 | @_implementationOnly import TSCclibc
     |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  21 | import TSCLibc
  22 | import Dispatch
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 386 |         self.outputRedirection = outputRedirection
 387 |         self.startNewProcessGroup = startNewProcessGroup
 388 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 389 |     }
 390 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 427 |         self.outputRedirection = outputRedirection
 428 |         self.startNewProcessGroup = startNewProcessGroup
 429 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 430 |     }
 431 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 721 |             } else {
 722 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:740:32: warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 738 |         }
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
     |                                `- warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
 742 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:71:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 69 | }
 70 |
 71 | extension ProcessEnvironmentBlock: Sendable {}
    |                                    `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 72 |
 73 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
  |           `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[25/61] Compiling TSCBasic Process.swift
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  18 | #endif
  19 |
  20 | @_implementationOnly import TSCclibc
     |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  21 | import TSCLibc
  22 | import Dispatch
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 386 |         self.outputRedirection = outputRedirection
 387 |         self.startNewProcessGroup = startNewProcessGroup
 388 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 389 |     }
 390 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 427 |         self.outputRedirection = outputRedirection
 428 |         self.startNewProcessGroup = startNewProcessGroup
 429 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 430 |     }
 431 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 721 |             } else {
 722 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:740:32: warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 738 |         }
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
     |                                `- warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
 742 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:71:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 69 | }
 70 |
 71 | extension ProcessEnvironmentBlock: Sendable {}
    |                                    `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 72 |
 73 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
  |           `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/61] Compiling TSCBasic ProcessEnv.swift
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  18 | #endif
  19 |
  20 | @_implementationOnly import TSCclibc
     |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  21 | import TSCLibc
  22 | import Dispatch
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 386 |         self.outputRedirection = outputRedirection
 387 |         self.startNewProcessGroup = startNewProcessGroup
 388 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 389 |     }
 390 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 427 |         self.outputRedirection = outputRedirection
 428 |         self.startNewProcessGroup = startNewProcessGroup
 429 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 430 |     }
 431 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 721 |             } else {
 722 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:740:32: warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 738 |         }
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
     |                                `- warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
 742 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:71:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 69 | }
 70 |
 71 | extension ProcessEnvironmentBlock: Sendable {}
    |                                    `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 72 |
 73 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
  |           `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[27/61] Compiling TSCBasic ProcessSet.swift
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  18 | #endif
  19 |
  20 | @_implementationOnly import TSCclibc
     |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  21 | import TSCLibc
  22 | import Dispatch
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 386 |         self.outputRedirection = outputRedirection
 387 |         self.startNewProcessGroup = startNewProcessGroup
 388 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 389 |     }
 390 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 427 |         self.outputRedirection = outputRedirection
 428 |         self.startNewProcessGroup = startNewProcessGroup
 429 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 430 |     }
 431 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 721 |             } else {
 722 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:740:32: warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 738 |         }
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
     |                                `- warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
 742 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:71:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 69 | }
 70 |
 71 | extension ProcessEnvironmentBlock: Sendable {}
    |                                    `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 72 |
 73 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
  |           `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[28/61] Compiling TSCBasic RegEx.swift
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  18 | #endif
  19 |
  20 | @_implementationOnly import TSCclibc
     |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  21 | import TSCLibc
  22 | import Dispatch
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 386 |         self.outputRedirection = outputRedirection
 387 |         self.startNewProcessGroup = startNewProcessGroup
 388 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 389 |     }
 390 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 427 |         self.outputRedirection = outputRedirection
 428 |         self.startNewProcessGroup = startNewProcessGroup
 429 |         self.loggingHandler = loggingHandler ?? Process.loggingHandler
     |                                                         `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
 430 |     }
 431 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:635:41: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 633 |       #endif
 634 |         posix_spawnattr_init(&attributes)
 635 |         defer { posix_spawnattr_destroy(&attributes) }
     |                                         |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 636 |
 637 |         // Unmask all signals.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:640:36: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 638 |         var noSignals = sigset_t()
 639 |         sigemptyset(&noSignals)
 640 |         posix_spawnattr_setsigmask(&attributes, &noSignals)
     |                                    |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                    `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 641 |
 642 |         // Reset all signals to default behavior.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:660:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 658 |             sigaddset(&mostSignals, i)
 659 |         }
 660 |         posix_spawnattr_setsigdefault(&attributes, &mostSignals)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 661 |       #endif
 662 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:668:39: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 666 |             // Establish a separate process group.
 667 |             flags |= POSIX_SPAWN_SETPGROUP
 668 |             posix_spawnattr_setpgroup(&attributes, 0)
     |                                       |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 669 |         }
 670 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:671:34: error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
 669 |         }
 670 |
 671 |         posix_spawnattr_setflags(&attributes, Int16(flags))
     |                                  |- error: value of optional type 'posix_spawnattr_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawnattr_t' (aka 'OpaquePointer')
     |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 672 |
 673 |         // Setup the file actions.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:679:39: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 677 |         var fileActions = posix_spawn_file_actions_t()
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
     |                                       |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
 681 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:680:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 678 |       #endif
 679 |         posix_spawn_file_actions_init(&fileActions)
 680 |         defer { posix_spawn_file_actions_destroy(&fileActions) }
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 681 |
 682 |         if let workingDirectory = workingDirectory?.pathString {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:699:42: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 697 |
 698 |         // Dupe the read portion of the remote to 0.
 699 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], 0)
     |                                          |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:702:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 700 |
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
 704 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:703:43: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 701 |         // Close the other side's pipe since it was dupped to 0.
 702 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[0])
 703 |         posix_spawn_file_actions_addclose(&fileActions, stdinPipe[1])
     |                                           |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 704 |
 705 |         var outputPipe: [Int32] = [-1, -1]
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:712:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 710 |
 711 |             // Open the write end of the pipe.
 712 |             posix_spawn_file_actions_adddup2(&fileActions, outputPipe[1], 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:715:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 713 |
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
 717 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:716:47: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 714 |             // Close the other ends of the pipe since they were dupped to 1.
 715 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[0])
 716 |             posix_spawn_file_actions_addclose(&fileActions, outputPipe[1])
     |                                               |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 717 |
 718 |             if outputRedirection.redirectStderr {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:720:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 718 |             if outputRedirection.redirectStderr {
 719 |                 // If merged was requested, send stderr to stdout.
 720 |                 posix_spawn_file_actions_adddup2(&fileActions, 1, 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 721 |             } else {
 722 |                 // If no redirect was requested, open the pipe for stderr.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:724:50: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 722 |                 // If no redirect was requested, open the pipe for stderr.
 723 |                 try open(pipe: &stderrPipe)
 724 |                 posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], 2)
     |                                                  |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:727:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 725 |
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
 729 |             }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:728:51: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 726 |                 // Close the other ends of the pipe since they were dupped to 2.
 727 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[0])
 728 |                 posix_spawn_file_actions_addclose(&fileActions, stderrPipe[1])
     |                                                   |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 729 |             }
 730 |         } else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:731:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 729 |             }
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
 733 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:732:46: error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
 730 |         } else {
 731 |             posix_spawn_file_actions_adddup2(&fileActions, 1, 1)
 732 |             posix_spawn_file_actions_adddup2(&fileActions, 2, 2)
     |                                              |- error: value of optional type 'posix_spawn_file_actions_t?' (aka 'Optional<OpaquePointer>') must be unwrapped to a value of type 'posix_spawn_file_actions_t' (aka 'OpaquePointer')
     |                                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 733 |         }
 734 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:740:32: warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 738 |         }
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
     |                                `- warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
 742 |
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:741:92: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
 739 |         let argv = CStringArray(resolvedArgs)
 740 |         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
 741 |         let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
     |                                                                                            |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
     |                                                                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
     |                                                                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 742 |
 743 |         guard rv == 0 else {
/host/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:71:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 69 | }
 70 |
 71 | extension ProcessEnvironmentBlock: Sendable {}
    |                                    `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 72 |
 73 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
  |           `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/61] Compiling TSCBasic Result.swift
[30/61] Compiling TSCBasic SortedArray.swift
[31/61] Compiling TSCBasic StringConversions.swift
[32/61] Compiling TSCBasic SynchronizedQueue.swift
[33/61] Compiling TSCBasic TemporaryFile.swift
[34/61] Compiling TSCBasic Await.swift
[35/61] Compiling TSCBasic Base64URL.swift
[36/61] Compiling TSCBasic ByteString.swift
[37/61] Compiling TSCBasic CStringArray.swift
[38/61] Compiling TSCBasic CacheableSequence.swift
[39/61] Compiling TSCBasic Closable.swift
[40/61] Compiling TSCBasic DictionaryExtensions.swift
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:21: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                     `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:16: warning: no calls to throwing functions occur within 'try' expression
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                `- warning: no calls to throwing functions occur within 'try' expression
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:365:84: warning: will never be executed
 363 |     func hasQuarantineAttribute(_ path: AbsolutePath) -> Bool { false }
 364 |
 365 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool { false }
     |                                                                                  | `- warning: will never be executed
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 366 |
 367 |     func itemReplacementDirectories(for path: AbsolutePath) throws -> [AbsolutePath] { [] }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:424:9: warning: will never be executed
 416 |     }
 417 |
 418 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool {
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 419 | #if canImport(Darwin)
 420 |         let bufLength = getxattr(path.pathString, name.rawValue, nil, 0, 0, 0)
     :
 422 |         return bufLength > 0
 423 | #else
 424 |         return false
     |         `- warning: will never be executed
 425 | #endif
 426 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[41/61] Compiling TSCBasic DictionaryLiteralExtensions.swift
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:21: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                     `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:16: warning: no calls to throwing functions occur within 'try' expression
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                `- warning: no calls to throwing functions occur within 'try' expression
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:365:84: warning: will never be executed
 363 |     func hasQuarantineAttribute(_ path: AbsolutePath) -> Bool { false }
 364 |
 365 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool { false }
     |                                                                                  | `- warning: will never be executed
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 366 |
 367 |     func itemReplacementDirectories(for path: AbsolutePath) throws -> [AbsolutePath] { [] }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:424:9: warning: will never be executed
 416 |     }
 417 |
 418 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool {
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 419 | #if canImport(Darwin)
 420 |         let bufLength = getxattr(path.pathString, name.rawValue, nil, 0, 0, 0)
     :
 422 |         return bufLength > 0
 423 | #else
 424 |         return false
     |         `- warning: will never be executed
 425 | #endif
 426 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[42/61] Compiling TSCBasic EditDistance.swift
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:21: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                     `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:16: warning: no calls to throwing functions occur within 'try' expression
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                `- warning: no calls to throwing functions occur within 'try' expression
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:365:84: warning: will never be executed
 363 |     func hasQuarantineAttribute(_ path: AbsolutePath) -> Bool { false }
 364 |
 365 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool { false }
     |                                                                                  | `- warning: will never be executed
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 366 |
 367 |     func itemReplacementDirectories(for path: AbsolutePath) throws -> [AbsolutePath] { [] }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:424:9: warning: will never be executed
 416 |     }
 417 |
 418 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool {
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 419 | #if canImport(Darwin)
 420 |         let bufLength = getxattr(path.pathString, name.rawValue, nil, 0, 0, 0)
     :
 422 |         return bufLength > 0
 423 | #else
 424 |         return false
     |         `- warning: will never be executed
 425 | #endif
 426 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[43/61] Compiling TSCBasic FileInfo.swift
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:21: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                     `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:16: warning: no calls to throwing functions occur within 'try' expression
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                `- warning: no calls to throwing functions occur within 'try' expression
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:365:84: warning: will never be executed
 363 |     func hasQuarantineAttribute(_ path: AbsolutePath) -> Bool { false }
 364 |
 365 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool { false }
     |                                                                                  | `- warning: will never be executed
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 366 |
 367 |     func itemReplacementDirectories(for path: AbsolutePath) throws -> [AbsolutePath] { [] }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:424:9: warning: will never be executed
 416 |     }
 417 |
 418 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool {
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 419 | #if canImport(Darwin)
 420 |         let bufLength = getxattr(path.pathString, name.rawValue, nil, 0, 0, 0)
     :
 422 |         return bufLength > 0
 423 | #else
 424 |         return false
     |         `- warning: will never be executed
 425 | #endif
 426 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[44/61] Compiling TSCBasic FileSystem.swift
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:21: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                     `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:16: warning: no calls to throwing functions occur within 'try' expression
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                `- warning: no calls to throwing functions occur within 'try' expression
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:365:84: warning: will never be executed
 363 |     func hasQuarantineAttribute(_ path: AbsolutePath) -> Bool { false }
 364 |
 365 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool { false }
     |                                                                                  | `- warning: will never be executed
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 366 |
 367 |     func itemReplacementDirectories(for path: AbsolutePath) throws -> [AbsolutePath] { [] }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:424:9: warning: will never be executed
 416 |     }
 417 |
 418 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool {
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 419 | #if canImport(Darwin)
 420 |         let bufLength = getxattr(path.pathString, name.rawValue, nil, 0, 0, 0)
     :
 422 |         return bufLength > 0
 423 | #else
 424 |         return false
     |         `- warning: will never be executed
 425 | #endif
 426 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[45/61] Compiling TSCBasic GraphAlgorithms.swift
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:21: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                     `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:441:16: warning: no calls to throwing functions occur within 'try' expression
 439 |         defer { fsr.deallocate() }
 440 |
 441 |         return try? AbsolutePath(String(cString: fsr))
     |                `- warning: no calls to throwing functions occur within 'try' expression
 442 | #endif
 443 |     }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:365:84: warning: will never be executed
 363 |     func hasQuarantineAttribute(_ path: AbsolutePath) -> Bool { false }
 364 |
 365 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool { false }
     |                                                                                  | `- warning: will never be executed
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 366 |
 367 |     func itemReplacementDirectories(for path: AbsolutePath) throws -> [AbsolutePath] { [] }
/host/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:424:9: warning: will never be executed
 416 |     }
 417 |
 418 |     func hasAttribute(_ name: FileSystemAttribute, _ path: AbsolutePath) -> Bool {
     |                                                                                  `- note: 'name' is of type 'FileSystemAttribute' which cannot be constructed because it is an enum with no cases
 419 | #if canImport(Darwin)
 420 |         let bufLength = getxattr(path.pathString, name.rawValue, nil, 0, 0, 0)
     :
 422 |         return bufLength > 0
 423 | #else
 424 |         return false
     |         `- warning: will never be executed
 425 | #endif
 426 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[46/61] Emitting module TSCBasic
/host/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  18 | #endif
  19 |
  20 | @_implementationOnly import TSCclibc
     |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  21 | import TSCLibc
  22 | import Dispatch
/host/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  9 | */
 10 |
 11 | @_implementationOnly import TSCclibc
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
 12 | import TSCLibc
 13 | import Foundation
/host/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:71:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 69 | }
 70 |
 71 | extension ProcessEnvironmentBlock: Sendable {}
    |                                    `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 72 |
 73 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
  |           `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
[47/61] Compiling TSCBasic CodableResult.swift
[48/61] Compiling TSCBasic CollectionAlgorithms.swift
[49/61] Compiling TSCBasic CollectionExtensions.swift
[50/61] Compiling TSCBasic Condition.swift
[51/61] Compiling TSCBasic DeltaAlgorithm.swift
[52/61] Compiling TSCBasic DiagnosticsEngine.swift
[53/61] Compiling TSCBasic TerminalController.swift
/host/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  9 | */
 10 |
 11 | @_implementationOnly import TSCclibc
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
 12 | import TSCLibc
 13 | import Foundation
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
114 |     public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {
115 | #if !os(Windows)
116 |         if ProcessEnv.vars["TERM"] == "dumb" {
    |                       `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
117 |             return .dumb
118 |         }
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
136 | #else
137 |         // Try to get from environment.
138 |         if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) {
    |                                     `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
139 |             return width
140 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Thread.swift:54:41: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 52 |         }
 53 |
 54 |         self.thread = ThreadImpl(block: theTask)
    |                                         `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 55 |     }
 56 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[54/61] Compiling TSCBasic Thread.swift
/host/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  9 | */
 10 |
 11 | @_implementationOnly import TSCclibc
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
 12 | import TSCLibc
 13 | import Foundation
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
114 |     public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {
115 | #if !os(Windows)
116 |         if ProcessEnv.vars["TERM"] == "dumb" {
    |                       `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
117 |             return .dumb
118 |         }
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
136 | #else
137 |         // Try to get from environment.
138 |         if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) {
    |                                     `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
139 |             return width
140 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Thread.swift:54:41: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 52 |         }
 53 |
 54 |         self.thread = ThreadImpl(block: theTask)
    |                                         `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 55 |     }
 56 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[55/61] Compiling TSCBasic Tuple.swift
/host/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  9 | */
 10 |
 11 | @_implementationOnly import TSCclibc
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
 12 | import TSCLibc
 13 | import Foundation
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
114 |     public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {
115 | #if !os(Windows)
116 |         if ProcessEnv.vars["TERM"] == "dumb" {
    |                       `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
117 |             return .dumb
118 |         }
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
136 | #else
137 |         // Try to get from environment.
138 |         if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) {
    |                                     `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
139 |             return width
140 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Thread.swift:54:41: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 52 |         }
 53 |
 54 |         self.thread = ThreadImpl(block: theTask)
    |                                         `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 55 |     }
 56 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[56/61] Compiling TSCBasic WritableByteStream.swift
/host/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  9 | */
 10 |
 11 | @_implementationOnly import TSCclibc
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
 12 | import TSCLibc
 13 | import Foundation
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
114 |     public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {
115 | #if !os(Windows)
116 |         if ProcessEnv.vars["TERM"] == "dumb" {
    |                       `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
117 |             return .dumb
118 |         }
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
136 | #else
137 |         // Try to get from environment.
138 |         if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) {
    |                                     `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
139 |             return width
140 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Thread.swift:54:41: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 52 |         }
 53 |
 54 |         self.thread = ThreadImpl(block: theTask)
    |                                         `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 55 |     }
 56 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[57/61] Compiling TSCBasic misc.swift
/host/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
  9 | */
 10 |
 11 | @_implementationOnly import TSCclibc
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
 12 | import TSCLibc
 13 | import Foundation
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
114 |     public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {
115 | #if !os(Windows)
116 |         if ProcessEnv.vars["TERM"] == "dumb" {
    |                       `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
117 |             return .dumb
118 |         }
/host/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
136 | #else
137 |         // Try to get from environment.
138 |         if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) {
    |                                     `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
139 |             return width
140 |         }
/host/spi-builder-workspace/Sources/TSCBasic/Thread.swift:54:41: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 52 |         }
 53 |
 54 |         self.thread = ThreadImpl(block: theTask)
    |                                         `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 55 |     }
 56 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 android