Build Information
Failed to build SwiftPM, reference main (1e155f
), with Swift 6.0 for Linux on 5 Nov 2024 03:50:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-package-manager.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-package-manager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1e155f7 Refresh the Swift Package Registry OpenAPI document (#8096)
Cloned https://github.com/swiftlang/swift-package-manager.git
Revision (git rev-parse @):
1e155f7008d039fcdf470a20b189bca50f0c7ec4
SUCCESS checkout https://github.com/swiftlang/swift-package-manager.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/swiftlang/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-llbuild.git
[1/28305] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.07s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6522] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.41s)
Fetching https://github.com/apple/swift-driver.git
[1/31953] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (1.53s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/66408] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.57s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-certificates.git
[1/64] Fetching swift-toolchain-sqlite
[56/5385] Fetching swift-toolchain-sqlite, swift-certificates
[163/9286] Fetching swift-toolchain-sqlite, swift-certificates, swift-system
[8117/19188] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, yams
[9882/34663] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, yams, swift-collections
[17223/47016] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, yams, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.76s)
[30231/34663] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, yams, swift-collections
Fetching https://github.com/apple/swift-crypto.git
[34664/45079] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, yams, swift-collections, swift-crypto
Fetched https://github.com/apple/swift-system.git from cache (1.20s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.20s)
[28045/35857] Fetching swift-toolchain-sqlite, yams, swift-collections, swift-crypto
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.20s)
[28086/35793] Fetching yams, swift-collections, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
[13027/20318] Fetching yams, swift-crypto
Fetched https://github.com/jpsim/Yams.git from cache (1.24s)
[3438/10416] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.09s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.38s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.45s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.2 (0.37s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.47s)
Fetching https://github.com/apple/swift-asn1.git
[1/1397] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.24s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.0 (0.44s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.60s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at main (da9efe6)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at main (4074f4d)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at main (086c822)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (aa7c3d8)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/694] Write sources
[18/694] Compiling tsan_utils tsan_utils.c
[19/694] Compiling llvmSupport Allocator.cpp
[20/694] Compiling llbuildBuildSystem BuildValue.cpp
[21/694] Compiling llvmSupport circular_raw_ostream.cpp
[22/694] Compiling llvmSupport Valgrind.cpp
[23/694] Compiling llbuildBuildSystem BuildNode.cpp
[24/694] Compiling llvmSupport UnicodeCaseFold.cpp
[25/694] Write swift-version-24593BA9C3E375BF.txt
[26/694] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[27/694] Compiling llvmSupport raw_ostream.cpp
[28/694] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[29/694] Compiling llvmSupport Twine.cpp
[30/694] Compiling llvmSupport Unicode.cpp
[31/694] Compiling llvmSupport Threading.cpp
[32/694] Compiling llvmSupport StringSaver.cpp
[33/694] Compiling llvmSupport Triple.cpp
[34/694] Compiling llvmSupport TargetParser.cpp
[35/694] Compiling llvmSupport StringMap.cpp
[36/694] Compiling llvmSupport StringExtras.cpp
[37/694] Compiling llvmSupport SmallVector.cpp
[38/694] Compiling llvmSupport StringRef.cpp
[39/694] Compiling llvmSupport YAMLParser.cpp
[40/694] Compiling llvmSupport SmallPtrSet.cpp
[41/694] Compiling llvmSupport SourceMgr.cpp
[42/694] Compiling llvmSupport Options.cpp
[43/694] Compiling llvmSupport NativeFormatting.cpp
[44/694] Compiling llvmSupport Program.cpp
[45/694] Compiling llvmSupport Process.cpp
[46/694] Compiling llvmSupport Signals.cpp
[47/694] Compiling llvmSupport MathExtras.cpp
[48/694] Compiling llvmSupport Mutex.cpp
[49/694] Compiling llvmSupport Path.cpp
[50/694] Compiling llvmSupport Memory.cpp
[51/694] Compiling llvmSupport ManagedStatic.cpp
[52/694] Compiling llvmSupport Locale.cpp
[53/694] Compiling llvmSupport MD5.cpp
[54/694] Compiling llvmSupport MemoryBuffer.cpp
[55/694] Compiling llvmSupport Hashing.cpp
[56/694] Compiling llbuildBuildSystem BuildSystem.cpp
[57/694] Compiling llvmSupport FoldingSet.cpp
[58/694] Compiling llvmSupport FormatVariadic.cpp
[59/694] Compiling llvmSupport Errno.cpp
[60/694] Compiling llvmSupport Host.cpp
[61/694] Compiling llvmSupport ErrorHandling.cpp
[62/694] Compiling llvmSupport FileUtilities.cpp
[63/694] Compiling llvmSupport ConvertUTF.cpp
[64/694] Compiling llvmSupport Atomic.cpp
[65/694] Compiling llvmSupport Error.cpp
[66/694] Compiling llvmSupport Debug.cpp
[67/694] Compiling llvmSupport DJB.cpp
[68/694] Compiling llvmSupport ConvertUTFWrapper.cpp
[69/694] Compiling llvmSupport APSInt.cpp
[70/694] Compiling llvmSupport Chrono.cpp
[71/694] Compiling llvmDemangle MicrosoftDemangle.cpp
[72/694] Compiling llbuildNinja Parser.cpp
[73/694] Compiling llvmDemangle ItaniumDemangle.cpp
[74/694] Compiling llvmSupport APInt.cpp
[75/694] Compiling llbuildNinja Lexer.cpp
[76/694] Compiling llvmSupport APFloat.cpp
[77/694] Compiling llbuildCore MakefileDepsParser.cpp
[78/694] Compiling llbuildCore DependencyInfoParser.cpp
[79/694] Compiling llbuildNinja Manifest.cpp
[80/694] Compiling llvmSupport CommandLine.cpp
[81/694] Compiling llbuildNinja ManifestLoader.cpp
[82/694] Compiling llbuildCore SQLiteBuildDB.cpp
[83/694] Compiling llbuildCore BuildDB.cpp
[84/694] Compiling llbuildCore BuildEngineTrace.cpp
[85/694] Compiling llbuildBasic Version.cpp
[86/694] Compiling llbuildBuildSystem BuildKey.cpp
[87/694] Compiling llbuildBasic Tracing.cpp
[88/694] Compiling llbuildBuildSystem ShellCommand.cpp
[89/694] Compiling llbuildBuildSystem ExternalCommand.cpp
[90/694] Compiling llbuildBuildSystem BuildDescription.cpp
[91/694] Compiling llbuildBasic ShellUtility.cpp
[92/694] Compiling llbuildCore BuildEngine.cpp
[93/694] Compiling llbuildBasic Hashing.cpp
[94/694] Compiling llbuildBasic Subprocess.cpp
[95/694] Compiling llbuildBasic PlatformUtility.cpp
[96/694] Compiling llbuildBasic SerialQueue.cpp
[97/694] Compiling llbuildBuildSystem BuildFile.cpp
[98/694] Compiling llbuildBasic FileSystem.cpp
[99/694] Compiling llbuildBasic FileInfo.cpp
[100/694] Compiling libllbuild C-API.cpp
[101/694] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[102/694] Compiling _SwiftSyntaxCShims dummy.c
[103/694] Write sources
[105/694] Compiling llbuildBasic ExecutionQueue.cpp
[106/694] Write sources
[108/696] Compiling TSCclibc process.c
[109/696] Compiling TSCclibc libc.c
[110/696] Write sources
[114/696] Compiling libllbuild Core-C-API.cpp
[115/696] Write sources
[118/700] Compiling libllbuild Ninja-C-API.cpp
[119/700] Write sources
[120/702] Compiling libllbuild BuildValue-C-API.cpp
[120/702] Write sources
[136/704] Compiling libllbuild BuildKey-C-API.cpp
[137/721] Compiling libllbuild BuildDB-C-API.cpp
[138/721] Write sources
[144/734] Compiling libllbuild BuildSystem-C-API.cpp
[144/734] Write sources
[156/742] Emitting module SwiftSyntax510
[157/742] Compiling SwiftSyntax510 Empty.swift
[159/743] Compiling PackagePlugin Diagnostics.swift
[160/743] Compiling PackagePlugin Errors.swift
[161/743] Compiling PackagePlugin PackageManagerProxy.swift
[162/745] Compiling SwiftSyntax509 Empty.swift
[163/745] Emitting module SwiftSyntax509
[164/746] Compiling PackagePlugin Plugin.swift
[165/746] Compiling PackagePlugin PluginContextDeserializer.swift
[166/746] Compiling PackagePlugin PackageModel.swift
[167/746] Compiling PackagePlugin Path.swift
[169/762] Compiling PackagePlugin Protocols.swift
[170/763] Compiling SwiftSyntax600 Empty.swift
[171/763] Emitting module SwiftSyntax600
[172/764] Emitting module TSCLibc
[173/764] Compiling TSCLibc libc.swift
[174/764] Compiling PackageDescription SupportedPlatforms.swift
[175/764] Compiling PackageDescription Target.swift
[176/764] Emitting module SwiftASN1
[177/764] Compiling PackageDescription LanguageStandardSettings.swift
[178/764] Compiling PackageDescription PackageDependency.swift
[179/764] Compiling PackageDescription BuildSettings.swift
[180/765] Emitting module _CertificateInternals
[181/765] Compiling _CertificateInternals _TinyArray.swift
[185/769] Compiling SwiftASN1 DER.swift
[186/769] Compiling SwiftASN1 Errors.swift
[186/769] Wrapping AST for SwiftSyntax510 for debugging
[188/769] Compiling PackageDescription PackageRequirement.swift
[189/769] Compiling PackageDescription Product.swift
[190/771] Compiling PackagePlugin Utilities.swift
[190/771] Wrapping AST for _CertificateInternals for debugging
[191/875] Wrapping AST for TSCLibc for debugging
[192/875] Wrapping AST for SwiftSyntax600 for debugging
[193/875] Wrapping AST for SwiftSyntax509 for debugging
[194/875] Write sources
[198/892] Compiling InternalCollectionsUtilities Specialize.swift
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:552:5: warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
550 | }
551 |
552 | var errors: [String] = []
| |- warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'errors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
553 |
554 | #if os(Windows)
[199/892] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:552:5: warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
550 | }
551 |
552 | var errors: [String] = []
| |- warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'errors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
553 |
554 | #if os(Windows)
[200/892] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[202/894] Compiling InternalCollectionsUtilities _SortedCollection.swift
[203/894] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[204/894] Compiling InternalCollectionsUtilities Debugging.swift
[205/894] Compiling InternalCollectionsUtilities Descriptions.swift
[206/894] Compiling llbuildSwift Internals.swift
[207/894] Compiling llbuildSwift NinjaManifest.swift
[208/894] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
/host/spi-builder-workspace/Sources/PackagePlugin/Context.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// Provides information about the package for which the plugin is invoked,
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:303:31: warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
301 |
302 | /// Message channel for bidirectional communication with the plugin host.
303 | internal fileprivate(set) var pluginHostConnection: PluginHostConnection!
| |- warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pluginHostConnection' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pluginHostConnection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | typealias PluginHostConnection = MessageConnection<PluginToHostMessage, HostToPluginMessage>
[209/894] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
/host/spi-builder-workspace/Sources/PackagePlugin/Context.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// Provides information about the package for which the plugin is invoked,
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:303:31: warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
301 |
302 | /// Message channel for bidirectional communication with the plugin host.
303 | internal fileprivate(set) var pluginHostConnection: PluginHostConnection!
| |- warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pluginHostConnection' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pluginHostConnection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | typealias PluginHostConnection = MessageConnection<PluginToHostMessage, HostToPluginMessage>
[210/894] Compiling PackageCollectionsModel PackageCollectionModel.swift
[211/894] Compiling llbuildSwift CoreBindings.swift
[213/894] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[214/894] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[215/894] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[216/894] Compiling InternalCollectionsUtilities Integer rank.swift
[218/894] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[219/894] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[220/894] Emitting module PackagePlugin
/host/spi-builder-workspace/Sources/PackagePlugin/Command.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// A command to run during the build, including executable, command lines,
/host/spi-builder-workspace/Sources/PackagePlugin/Context.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// Provides information about the package for which the plugin is invoked,
/host/spi-builder-workspace/Sources/PackagePlugin/PackageManagerProxy.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// Provides specialized information and services from the Swift Package Manager
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// Represents a single package in the graph (either the root or a dependency).
/host/spi-builder-workspace/Sources/PackagePlugin/Path.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// A simple representation of a path in the file system.
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 | #if os(Windows)
15 | @_implementationOnly import ucrt
/host/spi-builder-workspace/Sources/PackagePlugin/PluginContextDeserializer.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | typealias WireInput = HostToPluginMessage.InputContext
/host/spi-builder-workspace/Sources/PackagePlugin/PluginMessages.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// A message that the host can send to the plugin, including definitions of the corresponding serializable data structures.
/host/spi-builder-workspace/Sources/PackagePlugin/Errors.swift:22:10: warning: associated value 'targetNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
20 |
21 | /// Could not find a target with the given name.
22 | case targetNotFound(name: String, package: Package)
| `- warning: associated value 'targetNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
23 |
24 | /// Could not find a product with the given name.
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:16:15: note: consider making struct 'Package' conform to the 'Sendable' protocol
14 |
15 | /// Represents a single package in the graph (either the root or a dependency).
16 | public struct Package {
| `- note: consider making struct 'Package' conform to the 'Sendable' protocol
17 | /// Unique identifier for the package.
18 | public let id: ID
/host/spi-builder-workspace/Sources/PackagePlugin/Errors.swift:25:10: warning: associated value 'productNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
23 |
24 | /// Could not find a product with the given name.
25 | case productNotFound(name: String, package: Package)
| `- warning: associated value 'productNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
26 | }
27 |
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:16:15: note: consider making struct 'Package' conform to the 'Sendable' protocol
14 |
15 | /// Represents a single package in the graph (either the root or a dependency).
16 | public struct Package {
| `- note: consider making struct 'Package' conform to the 'Sendable' protocol
17 | /// Unique identifier for the package.
18 | public let id: ID
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:303:31: warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
301 |
302 | /// Message channel for bidirectional communication with the plugin host.
303 | internal fileprivate(set) var pluginHostConnection: PluginHostConnection!
| |- warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pluginHostConnection' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pluginHostConnection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | typealias PluginHostConnection = MessageConnection<PluginToHostMessage, HostToPluginMessage>
/host/spi-builder-workspace/Sources/PackagePlugin/Command.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// A command to run during the build, including executable, command lines,
/host/spi-builder-workspace/Sources/PackagePlugin/Command.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// A command to run during the build, including executable, command lines,
/host/spi-builder-workspace/Sources/PackagePlugin/PackageManagerProxy.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// Provides specialized information and services from the Swift Package Manager
/host/spi-builder-workspace/Sources/PackagePlugin/Errors.swift:22:10: warning: associated value 'targetNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
20 |
21 | /// Could not find a target with the given name.
22 | case targetNotFound(name: String, package: Package)
| `- warning: associated value 'targetNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
23 |
24 | /// Could not find a product with the given name.
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:16:15: note: consider making struct 'Package' conform to the 'Sendable' protocol
14 |
15 | /// Represents a single package in the graph (either the root or a dependency).
16 | public struct Package {
| `- note: consider making struct 'Package' conform to the 'Sendable' protocol
17 | /// Unique identifier for the package.
18 | public let id: ID
/host/spi-builder-workspace/Sources/PackagePlugin/Errors.swift:25:10: warning: associated value 'productNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
23 |
24 | /// Could not find a product with the given name.
25 | case productNotFound(name: String, package: Package)
| `- warning: associated value 'productNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
26 | }
27 |
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:16:15: note: consider making struct 'Package' conform to the 'Sendable' protocol
14 |
15 | /// Represents a single package in the graph (either the root or a dependency).
16 | public struct Package {
| `- note: consider making struct 'Package' conform to the 'Sendable' protocol
17 | /// Unique identifier for the package.
18 | public let id: ID
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:303:31: warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
301 |
302 | /// Message channel for bidirectional communication with the plugin host.
303 | internal fileprivate(set) var pluginHostConnection: PluginHostConnection!
| |- warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pluginHostConnection' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pluginHostConnection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | typealias PluginHostConnection = MessageConnection<PluginToHostMessage, HostToPluginMessage>
/host/spi-builder-workspace/Sources/PackagePlugin/PackageManagerProxy.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// Provides specialized information and services from the Swift Package Manager
/host/spi-builder-workspace/Sources/PackagePlugin/Errors.swift:22:10: warning: associated value 'targetNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
20 |
21 | /// Could not find a target with the given name.
22 | case targetNotFound(name: String, package: Package)
| `- warning: associated value 'targetNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
23 |
24 | /// Could not find a product with the given name.
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:16:15: note: consider making struct 'Package' conform to the 'Sendable' protocol
14 |
15 | /// Represents a single package in the graph (either the root or a dependency).
16 | public struct Package {
| `- note: consider making struct 'Package' conform to the 'Sendable' protocol
17 | /// Unique identifier for the package.
18 | public let id: ID
/host/spi-builder-workspace/Sources/PackagePlugin/Errors.swift:25:10: warning: associated value 'productNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
23 |
24 | /// Could not find a product with the given name.
25 | case productNotFound(name: String, package: Package)
| `- warning: associated value 'productNotFound(name:package:)' of 'Sendable'-conforming enum 'PluginContextError' has non-sendable type 'Package'; this is an error in the Swift 6 language mode
26 | }
27 |
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:16:15: note: consider making struct 'Package' conform to the 'Sendable' protocol
14 |
15 | /// Represents a single package in the graph (either the root or a dependency).
16 | public struct Package {
| `- note: consider making struct 'Package' conform to the 'Sendable' protocol
17 | /// Unique identifier for the package.
18 | public let id: ID
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:303:31: warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
301 |
302 | /// Message channel for bidirectional communication with the plugin host.
303 | internal fileprivate(set) var pluginHostConnection: PluginHostConnection!
| |- warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pluginHostConnection' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pluginHostConnection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | typealias PluginHostConnection = MessageConnection<PluginToHostMessage, HostToPluginMessage>
[225/894] Compiling InternalCollectionsUtilities UInt+reversed.swift
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// Represents a single package in the graph (either the root or a dependency).
/host/spi-builder-workspace/Sources/PackagePlugin/Path.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// A simple representation of a path in the file system.
[226/894] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
/host/spi-builder-workspace/Sources/PackagePlugin/PackageModel.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// Represents a single package in the graph (either the root or a dependency).
/host/spi-builder-workspace/Sources/PackagePlugin/Path.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// A simple representation of a path in the file system.
[227/894] Compiling llbuildSwift BuildValue.swift
[228/894] Emitting module llbuildSwift
[229/894] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 | #if os(Windows)
15 | @_implementationOnly import ucrt
/host/spi-builder-workspace/Sources/PackagePlugin/PluginContextDeserializer.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | typealias WireInput = HostToPluginMessage.InputContext
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:303:31: warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
301 |
302 | /// Message channel for bidirectional communication with the plugin host.
303 | internal fileprivate(set) var pluginHostConnection: PluginHostConnection!
| |- warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pluginHostConnection' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pluginHostConnection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | typealias PluginHostConnection = MessageConnection<PluginToHostMessage, HostToPluginMessage>
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:84:34: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | // Duplicate the `stdin` file descriptor, which we will then use for
83 | // receiving messages from the plugin host.
84 | let inputFD = dup(fileno(stdin))
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | guard inputFD >= 0 else {
86 | internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:92:28: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | // `stdin` so that attempts by the plugin to read console input (which
91 | // are usually a mistake) return errors instead of blocking.
92 | guard close(fileno(stdin)) >= 0 else {
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | internalError("Could not close `stdin`: \(describe(errno: errno)).")
94 | }
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:98:35: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | // Duplicate the `stdout` file descriptor, which we will then use for
97 | // sending messages to the plugin host.
98 | let outputFD = dup(fileno(stdout))
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
99 | guard outputFD >= 0 else {
100 | internalError("Could not dup `stdout`: \(describe(errno: errno)).")
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:105:27: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 | // Having duplicated the original standard-output descriptor, redirect
104 | // `stdout` to `stderr` so that all free-form text output goes there.
105 | guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 | internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
107 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:105:43: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 | // Having duplicated the original standard-output descriptor, redirect
104 | // `stdout` to `stderr` so that all free-form text output goes there.
105 | guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 | internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
107 | }
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:117:17: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 | setvbuf(stdout, nil, _IONBF, 0)
116 | #else
117 | setvbuf(stdout, nil, _IOLBF, 0)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
118 | #endif
119 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:287:45: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
285 | // Private function to report internal errors and then exit.
286 | fileprivate static func internalError(_ message: String) -> Never {
287 | fputs("Internal Error: \(message)", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
288 | exit(1)
289 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[230/894] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 | #if os(Windows)
15 | @_implementationOnly import ucrt
/host/spi-builder-workspace/Sources/PackagePlugin/PluginContextDeserializer.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | typealias WireInput = HostToPluginMessage.InputContext
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:303:31: warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
301 |
302 | /// Message channel for bidirectional communication with the plugin host.
303 | internal fileprivate(set) var pluginHostConnection: PluginHostConnection!
| |- warning: var 'pluginHostConnection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pluginHostConnection' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pluginHostConnection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | typealias PluginHostConnection = MessageConnection<PluginToHostMessage, HostToPluginMessage>
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:84:34: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | // Duplicate the `stdin` file descriptor, which we will then use for
83 | // receiving messages from the plugin host.
84 | let inputFD = dup(fileno(stdin))
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | guard inputFD >= 0 else {
86 | internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:92:28: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | // `stdin` so that attempts by the plugin to read console input (which
91 | // are usually a mistake) return errors instead of blocking.
92 | guard close(fileno(stdin)) >= 0 else {
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | internalError("Could not close `stdin`: \(describe(errno: errno)).")
94 | }
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:98:35: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | // Duplicate the `stdout` file descriptor, which we will then use for
97 | // sending messages to the plugin host.
98 | let outputFD = dup(fileno(stdout))
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
99 | guard outputFD >= 0 else {
100 | internalError("Could not dup `stdout`: \(describe(errno: errno)).")
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:105:27: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 | // Having duplicated the original standard-output descriptor, redirect
104 | // `stdout` to `stderr` so that all free-form text output goes there.
105 | guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 | internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
107 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:105:43: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 | // Having duplicated the original standard-output descriptor, redirect
104 | // `stdout` to `stderr` so that all free-form text output goes there.
105 | guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 | internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
107 | }
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:117:17: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 | setvbuf(stdout, nil, _IONBF, 0)
116 | #else
117 | setvbuf(stdout, nil, _IOLBF, 0)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
118 | #endif
119 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/PackagePlugin/Plugin.swift:287:45: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
285 | // Private function to report internal errors and then exit.
286 | fileprivate static func internalError(_ message: String) -> Never {
287 | fputs("Internal Error: \(message)", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
288 | exit(1)
289 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[231/894] Compiling PackagePlugin PluginMessages.swift
/host/spi-builder-workspace/Sources/PackagePlugin/PluginMessages.swift:13:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackagePlugin' can't be guaranteed
14 |
15 | /// A message that the host can send to the plugin, including definitions of the corresponding serializable data structures.
[236/897] Compiling llbuildSwift BuildKey.swift
[237/897] Compiling llbuildSwift BuildDBBindings.swift
[238/897] Compiling llbuildSwift BuildSystemBindings.swift
[240/898] Write sources
[245/898] Emitting module PackageDescription
/host/spi-builder-workspace/Sources/PackageDescription/ContextModel.swift:14:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
12 |
13 | #if USE_IMPL_ONLY_IMPORTS
14 | @_implementationOnly import Foundation
| `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
15 | #else
16 | import Foundation
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:17:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
15 | @_implementationOnly import struct WinSDK.HANDLE
16 | #endif
17 | @_implementationOnly import Foundation
| `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
18 |
19 | /// The configuration of a Swift package.
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescriptionSerialization.swift:14:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
12 |
13 | #if USE_IMPL_ONLY_IMPORTS
14 | @_implementationOnly import Foundation
| `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
15 | #else
16 | import Foundation
/host/spi-builder-workspace/Sources/PackageDescription/Target.swift:13:22: warning: '@_implementationOnly' is deprecated, use 'internal import' instead
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import Foundation
| `- warning: '@_implementationOnly' is deprecated, use 'internal import' instead
14 |
15 | /// The basic building block of a Swift package.
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:552:5: warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
550 | }
551 |
552 | var errors: [String] = []
| |- warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'errors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
553 |
554 | #if os(Windows)
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:579:13: warning: var 'dumpInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
577 | }
578 | #else
579 | private var dumpInfo: (package: Package, fileDesc: Int32)?
| |- warning: var 'dumpInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dumpInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dumpInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
580 | private func dumpPackageAtExit(_ package: Package, to fileDesc: Int32) {
581 | func dump() {
/host/spi-builder-workspace/Sources/PackageDescription/SupportedPlatforms.swift:734:20: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
732 | public struct CustomPlatformVersion: AppleOSVersion {
733 | /// The name of the custom platform.
734 | static var name: String = "custom platform"
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
735 | /// The minimum valid major version number.
736 | static var minimumMajorVersion = 0
/host/spi-builder-workspace/Sources/PackageDescription/SupportedPlatforms.swift:736:20: warning: static property 'minimumMajorVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
734 | static var name: String = "custom platform"
735 | /// The minimum valid major version number.
736 | static var minimumMajorVersion = 0
| |- warning: static property 'minimumMajorVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minimumMajorVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minimumMajorVersion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
737 |
738 | fileprivate init(uncheckedVersion version: String) {
error: verify-emitted-module-interface command failed due to signal 11 (use -v to see invocation)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -typecheck-module-from-interface /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules/PackagePlugin.swiftinterface -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-library-evolution -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -package-description-version 999.0 -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name PackagePlugin -package-name spi_builder_workspace -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins
1. Swift version 6.0.2 (swift-6.0.2-RELEASE)
2. Compiling with effective version 5.10
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x0000557163360047
1 swift-frontend 0x000055716335e00e
2 swift-frontend 0x00005571633606ba
3 libc.so.6 0x00007f3108a58520
4 swift-frontend 0x000055715ed727b0
5 swift-frontend 0x000055715d92506f
6 swift-frontend 0x000055715d925e86
7 swift-frontend 0x000055715d6a6d53
8 swift-frontend 0x000055715d47e477
9 libc.so.6 0x00007f3108a3fd90
10 libc.so.6 0x00007f3108a3fe40 __libc_start_main + 128
11 swift-frontend 0x000055715d47cb95
*** Signal 11: Backtracing from 0x55715ed727b0... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000001808 ***
Thread 0 "swift-frontend" crashed:
0 0x000055715ed727b0 swift::ASTContext::getClangModuleLoader() const in swift-frontend
1 [ra] 0x00007ffcca6e3aee
Registers:
rax 0x0000557166779ee8 f0 c9 77 66 71 55 00 00 08 ca 77 66 71 55 00 00 ðÉwfqU···ÊwfqU··
rdx 0x0000000000000000 0
rcx 0x0000000000000005 5
rbx 0x0000000000000000 0
rsi 0x0000000000000000 0
rdi 0x0000000000000000 0
rbp 0x00007ffcca6e2350 cd 3a 6e ca fc 7f 00 00 ee 3a 6e ca fc 7f 00 00 Í:nÊü···î:nÊü···
rsp 0x00007ffcca6def58 6f 50 92 5d 71 55 00 00 00 00 00 00 00 00 00 00 oP·]qU··········
r8 0x0000000000000000 0
r9 0x0000000000000001 1
r10 0x00007f3108c30f01 0e c3 08 31 7f 00 00 f0 0e c3 08 31 7f 00 00 00 ·Ã·1···ð·Ã·1····
r11 0x0000000000000001 1
r12 0x0000557166778100 d0 6b 76 66 71 55 00 00 18 00 00 00 00 00 00 00 ÐkvfqU··········
r13 0x00007ffcca6e2350 cd 3a 6e ca fc 7f 00 00 ee 3a 6e ca fc 7f 00 00 Í:nÊü···î:nÊü···
r14 0x00005571667787f0 40 9d 70 66 71 55 00 00 50 a0 70 66 71 55 00 00 @·pfqU··P pfqU··
r15 0x0000557166709d80 00 71 70 66 71 55 00 00 40 5a 70 66 71 55 00 00 ·qpfqU··@ZpfqU··
rip 0x000055715ed727b0 48 8b 87 08 18 00 00 c3 0f 1f 84 00 00 00 00 00 H······Ã········
rflags 0x0000000000010293 SF AF CF
cs 0x0033 fs 0x0000 gs 0x0000
Images (24 omitted):
0x000055715cc52000–0x000055716402a908 7d4c7708a94b8a6bc2c718a6901cd09261a59503 swift-frontend /usr/bin/swift-frontend
Backtrace took 0.38s
[247/898] Emitting module InternalCollectionsUtilities
[248/898] Compiling SwiftSyntax TokenSequence.swift
[249/898] Compiling SwiftSyntax TokenSyntax.swift
[250/898] Compiling SwiftSyntax Trivia.swift
[251/898] Compiling SwiftSyntax Utils.swift
[252/898] Compiling SwiftSyntax ChildNameForKeyPath.swift
/host/spi-builder-workspace/Sources/PackageDescription/SupportedPlatforms.swift:734:20: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
732 | public struct CustomPlatformVersion: AppleOSVersion {
733 | /// The name of the custom platform.
734 | static var name: String = "custom platform"
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
735 | /// The minimum valid major version number.
736 | static var minimumMajorVersion = 0
/host/spi-builder-workspace/Sources/PackageDescription/SupportedPlatforms.swift:736:20: warning: static property 'minimumMajorVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
734 | static var name: String = "custom platform"
735 | /// The minimum valid major version number.
736 | static var minimumMajorVersion = 0
| |- warning: static property 'minimumMajorVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minimumMajorVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minimumMajorVersion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
737 |
738 | fileprivate init(uncheckedVersion version: String) {
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:552:5: warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
550 | }
551 |
552 | var errors: [String] = []
| |- warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'errors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
553 |
554 | #if os(Windows)
/host/spi-builder-workspace/Sources/PackageDescription/SupportedPlatforms.swift:734:20: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
732 | public struct CustomPlatformVersion: AppleOSVersion {
733 | /// The name of the custom platform.
734 | static var name: String = "custom platform"
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
735 | /// The minimum valid major version number.
736 | static var minimumMajorVersion = 0
/host/spi-builder-workspace/Sources/PackageDescription/SupportedPlatforms.swift:736:20: warning: static property 'minimumMajorVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
734 | static var name: String = "custom platform"
735 | /// The minimum valid major version number.
736 | static var minimumMajorVersion = 0
| |- warning: static property 'minimumMajorVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minimumMajorVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minimumMajorVersion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
737 |
738 | fileprivate init(uncheckedVersion version: String) {
/host/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:552:5: warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
550 | }
551 |
552 | var errors: [String] = []
| |- warning: var 'errors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'errors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
553 |
554 | #if os(Windows)
[254/898] Wrapping AST for llbuildSwift for debugging
[254/898] Wrapping AST for SwiftASN1 for debugging
BUILD FAILURE 6.0 linux