The Swift Package Index logo.Swift Package Index

Build Information

Failed to build spm, reference 0.0.2 (90cb00), with Swift 6.2 for Linux on 4 Sep 2026 15:32:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xwdg/spm.git
Reference: 0.0.2
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/0xwdg/spm
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 90cb004 Disable linux run, fix documentation deployment
Cloned https://github.com/0xwdg/spm.git
Revision (git rev-parse @):
90cb00464bfbd31d0425936bcd025db9411c3677
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xwdg/spm.git at 0.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/0xwdg/spm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:4f3911e0f09a6ac47ac813ad3222aa373869118ee0ae384fd641a13da74b5e3f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/60] Emitting module SPMCore
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[5/67] Compiling SPMCore XcodeObjectComment.swift
[6/67] Compiling SPMCore XcodeObjectID.swift
[7/67] Compiling SPMCore XcodeObjectRangeContaining.swift
[8/67] Compiling SPMCore XcodeObjectRangeWithID.swift
[9/67] Compiling SPMCore XcodeObjectRangesContaining.swift
[10/67] Compiling SPMCore XcodePackageInstaller.swift
[11/67] Compiling SPMCore XcodePackageInstallerTypes.swift
[12/67] Compiling SPMCore SPMVersion.swift
[13/67] Compiling SPMCore StringHelpers.swift
[14/67] Compiling SPMCore TextDiff.swift
[15/67] Compiling SPMCore editorConfig.swift
[16/67] Compiling SPMCore gitIgnore.swift
[17/67] Compiling SPMCore header.swift
[18/67] Compiling SPMCore mitLicense.swift
[19/67] Compiling SPMCore readme.swift
[20/67] Compiling SPMCore ExistingBuildFileID.swift
[21/67] Compiling SPMCore ExistingPackageReferenceID.swift
[22/67] Compiling SPMCore ExistingProductDependencyID.swift
[23/67] Compiling SPMCore FindXcodeProject.swift
[24/67] Compiling SPMCore InsertPackageReferenceObject.swift
[25/67] Compiling SPMCore InsertXcodeObject.swift
[26/67] Compiling SPMCore LibraryProducts.swift
[27/67] Compiling SPMCore PossibleSwiftPackageProductNames.swift
[28/67] Compiling SPMCore RunXcodePackageInstallerCommand.swift
[29/67] Compiling SPMCore SafeArraySubscript.swift
[30/67] Compiling SPMCore SwiftPackageName.swift
[31/67] Compiling SPMCore SwiftPackageProductDependencyObject.swift
[32/67] Compiling SPMCore UninstallPackage.swift
[33/67] Compiling SPMCore XcodeListBlockRange.swift
[34/67] Compiling SPMCore MakeXcodeObjectID.swift
[35/67] Compiling SPMCore NativeTargets.swift
[36/67] Compiling SPMCore NormalizedSwiftPackageURL.swift
[37/67] Compiling SPMCore PackageReferenceObject.swift
[38/67] Compiling SPMCore PackageReferenceSection.swift
[39/67] Compiling SPMCore PackageRequirement.swift
[40/67] Compiling SPMCore ParseXcodePackageSemanticVersion.swift
[41/67] Compiling SPMCore BuildOptions.swift
[42/67] Compiling SPMCore CommandRunner.swift
[43/67] Compiling SPMCore CompileExecutable.swift
[44/67] Compiling SPMCore CompletionCommand.swift
[45/67] Compiling SPMCore Configuration.swift
[46/67] Compiling SPMCore ConfigurationValidation.swift
[47/67] Compiling SPMCore DoctorCommand.swift
[48/67] Compiling SPMCore DocumentationOptions.swift
[49/67] Compiling SPMCore swiftLint.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:154:51: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
152 | /// Returns whether help written to standard error should use ANSI colors.
153 | static func shouldUseHelpColorsForStandardError() -> Bool {
154 |     shouldUseHelpColors(isTerminal: isatty(fileno(stderr)) != 0)
    |                                                   `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
155 | }
156 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:199:16: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
197 |         let useColor = !outputOptions.noColor && shouldUseHelpColors()
198 |         print(useColor ? "\(color)\(text)\(CLIColors.reset)" : text, terminator: terminator)
199 |         fflush(stdout)
    |                `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
200 |     }
201 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:256:12: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
254 | static func clearCurrentLine(width: Int = 120) {
255 |     print("\r\(String(repeating: " ", count: width))\r", terminator: "")
256 |     fflush(stdout)
    |            `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
257 | }
258 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[50/67] Compiling SPMCore CLI.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:154:51: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
152 | /// Returns whether help written to standard error should use ANSI colors.
153 | static func shouldUseHelpColorsForStandardError() -> Bool {
154 |     shouldUseHelpColors(isTerminal: isatty(fileno(stderr)) != 0)
    |                                                   `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
155 | }
156 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:199:16: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
197 |         let useColor = !outputOptions.noColor && shouldUseHelpColors()
198 |         print(useColor ? "\(color)\(text)\(CLIColors.reset)" : text, terminator: terminator)
199 |         fflush(stdout)
    |                `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
200 |     }
201 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:256:12: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
254 | static func clearCurrentLine(width: Int = 120) {
255 |     print("\r\(String(repeating: " ", count: width))\r", terminator: "")
256 |     fflush(stdout)
    |            `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
257 | }
258 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[51/67] Compiling SPMCore AddPackageProductToTarget.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:154:51: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
152 | /// Returns whether help written to standard error should use ANSI colors.
153 | static func shouldUseHelpColorsForStandardError() -> Bool {
154 |     shouldUseHelpColors(isTerminal: isatty(fileno(stderr)) != 0)
    |                                                   `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
155 | }
156 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:199:16: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
197 |         let useColor = !outputOptions.noColor && shouldUseHelpColors()
198 |         print(useColor ? "\(color)\(text)\(CLIColors.reset)" : text, terminator: terminator)
199 |         fflush(stdout)
    |                `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
200 |     }
201 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:256:12: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
254 | static func clearCurrentLine(width: Int = 120) {
255 |     print("\r\(String(repeating: " ", count: width))\r", terminator: "")
256 |     fflush(stdout)
    |            `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
257 | }
258 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[52/67] Compiling SPMCore AddPackageReferenceListEntry.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:154:51: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
152 | /// Returns whether help written to standard error should use ANSI colors.
153 | static func shouldUseHelpColorsForStandardError() -> Bool {
154 |     shouldUseHelpColors(isTerminal: isatty(fileno(stderr)) != 0)
    |                                                   `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
155 | }
156 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:199:16: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
197 |         let useColor = !outputOptions.noColor && shouldUseHelpColors()
198 |         print(useColor ? "\(color)\(text)\(CLIColors.reset)" : text, terminator: terminator)
199 |         fflush(stdout)
    |                `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
200 |     }
201 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:256:12: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
254 | static func clearCurrentLine(width: Int = 120) {
255 |     print("\r\(String(repeating: " ", count: width))\r", terminator: "")
256 |     fflush(stdout)
    |            `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
257 | }
258 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[53/67] Compiling SPMCore AddXcodeListEntry.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:154:51: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
152 | /// Returns whether help written to standard error should use ANSI colors.
153 | static func shouldUseHelpColorsForStandardError() -> Bool {
154 |     shouldUseHelpColors(isTerminal: isatty(fileno(stderr)) != 0)
    |                                                   `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
155 | }
156 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:199:16: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
197 |         let useColor = !outputOptions.noColor && shouldUseHelpColors()
198 |         print(useColor ? "\(color)\(text)\(CLIColors.reset)" : text, terminator: terminator)
199 |         fflush(stdout)
    |                `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
200 |     }
201 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:256:12: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
254 | static func clearCurrentLine(width: Int = 120) {
255 |     print("\r\(String(repeating: " ", count: width))\r", terminator: "")
256 |     fflush(stdout)
    |            `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
257 | }
258 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[54/67] Compiling SPMCore BuildFileObject.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:154:51: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
152 | /// Returns whether help written to standard error should use ANSI colors.
153 | static func shouldUseHelpColorsForStandardError() -> Bool {
154 |     shouldUseHelpColors(isTerminal: isatty(fileno(stderr)) != 0)
    |                                                   `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
155 | }
156 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:199:16: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
197 |         let useColor = !outputOptions.noColor && shouldUseHelpColors()
198 |         print(useColor ? "\(color)\(text)\(CLIColors.reset)" : text, terminator: terminator)
199 |         fflush(stdout)
    |                `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
200 |     }
201 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:256:12: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
254 | static func clearCurrentLine(width: Int = 120) {
255 |     print("\r\(String(repeating: " ", count: width))\r", terminator: "")
256 |     fflush(stdout)
    |            `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
257 | }
258 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[55/67] Compiling SPMCore DefaultBranch.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:154:51: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
152 | /// Returns whether help written to standard error should use ANSI colors.
153 | static func shouldUseHelpColorsForStandardError() -> Bool {
154 |     shouldUseHelpColors(isTerminal: isatty(fileno(stderr)) != 0)
    |                                                   `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
155 | }
156 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:199:16: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
197 |         let useColor = !outputOptions.noColor && shouldUseHelpColors()
198 |         print(useColor ? "\(color)\(text)\(CLIColors.reset)" : text, terminator: terminator)
199 |         fflush(stdout)
    |                `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
200 |     }
201 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:256:12: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
254 | static func clearCurrentLine(width: Int = 120) {
255 |     print("\r\(String(repeating: " ", count: width))\r", terminator: "")
256 |     fflush(stdout)
    |            `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
257 | }
258 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[56/67] Compiling SPMCore FileTransaction.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[57/67] Compiling SPMCore OverwriteOptions.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[58/67] Compiling SPMCore PackageCommands.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[59/67] Compiling SPMCore PackageContext.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[60/67] Compiling SPMCore ProcessRunner.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[61/67] Compiling SPMCore SPMCommandError.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[62/67] Compiling SPMCore SPMOutput.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[63/67] Compiling SPMCore SPMRuntime.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:135:38: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
133 | static func shouldUseHelpColors(
134 |     environment: [String: String] = ProcessInfo.processInfo.environment,
135 |     isTerminal: Bool = isatty(fileno(stdout)) != 0
    |                                      `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
136 | ) -> Bool {
137 |     if outputOptions.noColor {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
BUILD FAILURE 6.2 linux