Build Information
Successful build of swift-profile-recorder, reference 0.3.24 (45b2e7), with Swift 6.3 for Linux on 20 Nov 2026 16:55:45 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-profile-recorder.git
Reference: 0.3.24
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/apple/swift-profile-recorder
* tag 0.3.24 -> FETCH_HEAD
HEAD is now at 45b2e71 Run the Main workflow's macOS tests on the general pool unless scheduled (#82)
Cloned https://github.com/apple/swift-profile-recorder.git
Revision (git rev-parse @):
45b2e712d6fd1fc23b35bbaae5341959addbb14b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-profile-recorder.git at 0.3.24
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/apple/swift-profile-recorder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:2d5b74478f792f87932467cb1c47b1b25df4173cb6dae554d34910d5911b073a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-system.git
[1/4246] Fetching swift-configuration
[256/11027] Fetching swift-configuration, swift-nio-extras
[11028/18646] Fetching swift-configuration, swift-nio-extras, swift-system
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.59s)
Fetching https://github.com/apple/swift-atomics.git
[6075/11865] Fetching swift-configuration, swift-system
[11866/28595] Fetching swift-configuration, swift-system, async-http-client
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
Fetching https://github.com/apple/swift-log.git
[4414/20976] Fetching swift-configuration, async-http-client
[20810/78461] Fetching swift-configuration, async-http-client, swift-protobuf
[24427/165411] Fetching swift-configuration, async-http-client, swift-protobuf, swift-nio
[25002/167347] Fetching swift-configuration, async-http-client, swift-protobuf, swift-nio, swift-atomics
Fetched https://github.com/swift-server/async-http-client.git from cache (1.05s)
Fetching https://github.com/apple/swift-argument-parser.git
[14835/159161] Fetching swift-configuration, swift-protobuf, swift-nio, swift-atomics, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
[17302/157225] Fetching swift-configuration, swift-protobuf, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
[33752/148681] Fetching swift-configuration, swift-protobuf, swift-nio
[84068/168119] Fetching swift-configuration, swift-protobuf, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.27s)
[132456/148681] Fetching swift-configuration, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-configuration.git from cache (3.97s)
Fetched https://github.com/apple/swift-nio.git from cache (4.01s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.74s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.90s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (0.81s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2898] Fetching swift-service-lifecycle
[2899/33243] Fetching swift-service-lifecycle, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (1.24s)
Fetched https://github.com/apple/swift-collections from cache (1.25s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (1.41s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6904] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.60s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.80s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.25s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.28s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.19s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.19s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.37.0 (0.19s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1552] Fetching swift-service-context
[1367/4433] Fetching swift-service-context, swift-nio-transport-services
[2072/11158] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing
[2736/17346] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing, swift-algorithms
[5153/34312] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing, swift-algorithms, swift-nio-ssl
[19383/46750] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing, swift-algorithms, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-service-context.git from cache (1.06s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.23s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.23s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.23s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.23s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.24s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.68s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.16s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.15s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (0.16s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.17s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.20s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.42s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
[1/1284] Fetching swift-http-structured-headers
[27/3363] Fetching swift-http-structured-headers, swift-asn1
[488/5353] Fetching swift-http-structured-headers, swift-asn1, swift-http-types
[5354/13033] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.61s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.61s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.61s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.61s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.78s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.18s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.19s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.22s)
Fetching https://github.com/apple/swift-crypto.git
[1/18977] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (1.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.15s)
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.2
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.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.8.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.37.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.6
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/90] Write sources
[23/90] Compiling _AtomicsShims.c
[24/90] Write sources
[31/90] Compiling CProfileRecorderDarwin empty.c
[32/90] Compiling CProfileRecorderSwiftELF empty.c
[33/90] Compiling CProfileRecorderSampler os_dep_darwin.c
[34/90] Compiling CNIOWindows shim.c
[35/90] Compiling CNIOWindows WSAStartup.c
[35/90] Compiling CNIOWASI CNIOWASI.c
[37/90] Compiling CNIOPosix event_loop_id.c
[38/90] Compiling CSystem shims.c
[39/90] Write swift-version-24593BA9C3E375BF.txt
[40/90] Compiling CNIOOpenBSD shim.c
[41/90] Compiling CNIOLinux liburing_shims.c
[42/90] Compiling CProfileRecorderSampler fp_unwinder.c
[43/90] Compiling CProfileRecorderSampler sampler.c
[44/90] Compiling CProfileRecorderSampler os_dep_linux.c
[45/90] Compiling CNIOLinux shim.c
[46/106] Compiling CNIOLLHTTP c_nio_http.c
[47/177] Compiling CNIOLLHTTP c_nio_api.c
[48/205] Compiling CNIOFreeBSD shim.c
[49/221] Compiling CNIODarwin shim.c
[50/260] Compiling CNIOLLHTTP c_nio_llhttp.c
[52/260] Emitting module _NIODataStructures
[53/260] Emitting module Logging
[53/261] Compiling c-nioatomics.c
[54/261] Write sources
[57/279] Emitting module SystemPackage
[57/284] Compiling c-atomics.c
[59/286] Emitting module Atomics
[60/288] Compiling Atomics Primitives.native.swift
[61/288] Compiling Atomics ManagedAtomic.swift
[62/288] Compiling Atomics ManagedAtomicLazyReference.swift
[63/288] Compiling Atomics AtomicStorage.swift
[64/288] Compiling Atomics DoubleWord.swift
[65/288] Compiling Atomics IntegerOperations.swift
[66/288] Compiling Atomics Unmanaged extensions.swift
[67/288] Compiling SwiftProtobuf SwiftProtobufError.swift
[68/291] Compiling SystemPackage SystemString.swift
[69/291] Compiling SystemPackage Util+StringArray.swift
[70/291] Compiling SystemPackage Util.swift
[71/291] Compiling SystemPackage UtilConsumers.swift
[72/291] Compiling SystemPackage WinSDK+Overlay.swift
[73/291] Compiling Atomics AtomicMemoryOrderings.swift
[75/291] Compiling Atomics OptionalRawRepresentable.swift
[76/291] Compiling Atomics RawRepresentable.swift
[77/291] Compiling Atomics AtomicBool.swift
[78/291] Emitting module _NIOBase64
[79/291] Compiling _NIOBase64 Base64.swift
[80/292] Compiling Logging LoggingSystem.swift
[81/292] Compiling Atomics AtomicValue.swift
[82/292] Compiling Atomics UnsafeAtomic.swift
[83/292] Compiling Atomics UnsafeAtomicLazyReference.swift
[85/292] Emitting module InternalCollectionsUtilities
[87/292] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[88/292] Compiling InternalCollectionsUtilities _SortedCollection.swift
[89/292] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[90/292] Compiling Atomics AtomicInteger.swift
[91/292] Compiling Atomics AtomicOptionalWrappable.swift
[96/292] Compiling Atomics AtomicReference.swift
[99/298] Compiling Atomics IntegerConformances.swift
[100/298] Compiling Atomics PointerConformances.swift
[107/299] Compiling Logging Logger+Attributes.swift
[124/299] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[125/299] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[126/299] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[127/299] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[128/299] Compiling SwiftProtobuf TextFormatDecoder.swift
[129/299] Compiling SwiftProtobuf TextFormatDecodingError.swift
[130/299] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[131/299] Compiling SwiftProtobuf TextFormatEncoder.swift
[136/301] Compiling _NIODataStructures PriorityQueue.swift
[137/301] Compiling _NIODataStructures _TinyArray.swift
[137/301] Wrapping AST for _NIOBase64 for debugging
[139/305] Wrapping AST for InternalCollectionsUtilities for debugging
[141/305] Emitting module SpanPreview
[142/305] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[142/305] Wrapping AST for Atomics for debugging
[143/305] Write sources
[145/305] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[146/305] Compiling SpanPreview InputSpan.swift
[148/306] Compiling Logging Logger+With.swift
[149/306] Compiling Logging Logger.swift
[150/306] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[150/306] Wrapping AST for SpanPreview for debugging
[152/307] Compiling ArgumentParserToolInfo ToolInfo.swift
[153/307] Emitting module ArgumentParserToolInfo
[154/349] Wrapping AST for ArgumentParserToolInfo for debugging
[156/396] Emitting module SwiftProtobuf
[157/407] Compiling ArgumentParser CommandParser.swift
[158/407] Compiling ArgumentParser InputKey.swift
[159/407] Compiling ArgumentParser InputOrigin.swift
[160/407] Compiling ArgumentParser ArgumentVisibility.swift
[161/407] Compiling ArgumentParser CompletionKind.swift
[162/407] Compiling ArgumentParser Errors.swift
[163/412] Compiling ArgumentParser BashCompletionsGenerator.swift
[164/412] Compiling ArgumentParser CompletionsGenerator.swift
[165/412] Compiling ArgumentParser Argument.swift
[166/412] Compiling ArgumentParser ArgumentDiscussion.swift
[167/412] Emitting module NIOConcurrencyHelpers
[168/412] Compiling NIOConcurrencyHelpers lock.swift
[169/412] Compiling Logging MetadataProvider.swift
[170/413] Compiling ArgumentParser HelpCommand.swift
[171/413] Compiling ArgumentParser HelpGenerator.swift
[172/413] Compiling ArgumentParser MessageInfo.swift
[173/413] Compiling ArgumentParser UsageGenerator.swift
[174/413] Compiling ArgumentParser CollectionExtensions.swift
[175/413] Compiling ArgumentParser Name.swift
[176/413] Compiling ArgumentParser Parsed.swift
[177/413] Compiling ArgumentParser ParsedValues.swift
[178/413] Compiling ArgumentParser ParserError.swift
[179/413] Compiling ArgumentParser SplitArguments.swift
[180/413] Compiling ArgumentParser DumpHelpGenerator.swift
[181/413] Compiling ArgumentParser Flag.swift
[182/413] Compiling ArgumentParser NameSpecification.swift
[183/413] Compiling ArgumentParser Option.swift
[184/413] Compiling ArgumentParser OptionGroup.swift
[187/413] Compiling ArgumentParser ExpressibleByArgument.swift
[188/413] Compiling ArgumentParser ParsableArguments.swift
[189/413] Compiling ArgumentParser ParsableCommand.swift
[190/413] Compiling ArgumentParser ArgumentDecoder.swift
[191/413] Compiling ArgumentParser ArgumentDefinition.swift
[192/413] Compiling ArgumentParser ArgumentSet.swift
[204/413] Compiling _NIODataStructures Heap.swift
[205/414] Compiling SwiftProtobuf BytecodeInterpreter.swift
[206/414] Compiling SwiftProtobuf BytecodeReader.swift
[207/414] Compiling SwiftProtobuf CustomJSONCodable.swift
[208/414] Compiling SwiftProtobuf Decoder.swift
[209/414] Compiling SwiftProtobuf DoubleParser.swift
[210/414] Compiling SwiftProtobuf Enum.swift
[211/414] Compiling SwiftProtobuf ExtensibleMessage.swift
[212/414] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[213/414] Compiling SwiftProtobuf ExtensionFields.swift
[214/414] Compiling SwiftProtobuf ExtensionMap.swift
[215/414] Compiling SwiftProtobuf FieldTag.swift
[216/414] Compiling SwiftProtobuf FieldTypes.swift
[220/414] Compiling ArgumentParser Foundation.swift
[221/414] Compiling ArgumentParser Mutex.swift
[222/414] Compiling DequeModule UniqueDeque+Replacements.swift
[223/414] Compiling DequeModule UniqueDeque.swift
[224/414] Compiling DequeModule _DequeSlot.swift
[225/414] Compiling DequeModule _UnsafeDequeHandle.swift
[226/414] Compiling DequeModule _UnsafeDequeSegments.swift
[227/414] Compiling SwiftProtobuf PathDecoder.swift
[228/414] Compiling SwiftProtobuf PathVisitor.swift
[247/414] Wrapping AST for Logging for debugging
[248/414] Wrapping AST for _NIODataStructures for debugging
[250/414] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[251/414] Compiling NIOConcurrencyHelpers atomics.swift
[252/414] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[253/414] Compiling NIOConcurrencyHelpers NIOLock.swift
[272/415] Wrapping AST for NIOConcurrencyHelpers for debugging
[274/415] Compiling ArgumentParser ArgumentHelp.swift
[275/415] Compiling ArgumentParser ParentCommand.swift
[276/415] Compiling ArgumentParser AsyncParsableCommand.swift
[277/415] Compiling ArgumentParser CommandConfiguration.swift
[278/415] Compiling ArgumentParser CommandGroup.swift
[279/415] Compiling ArgumentParser EnumerableFlag.swift
[280/415] Emitting module ArgumentParser
[283/421] Compiling ArgumentParser FishCompletionsGenerator.swift
[284/421] Compiling ArgumentParser ZshCompletionsGenerator.swift
[294/421] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[295/421] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[296/421] Compiling SwiftProtobuf TextFormatScanner.swift
[297/421] Compiling SwiftProtobuf TimeUtils.swift
[298/421] Compiling SwiftProtobuf UnknownStorage.swift
[299/421] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[300/421] Compiling SwiftProtobuf Varint.swift
[301/421] Compiling SwiftProtobuf Version.swift
[302/421] Compiling SwiftProtobuf Visitor.swift
[303/421] Compiling SwiftProtobuf WireFormat.swift
[304/421] Compiling SwiftProtobuf ZigZag.swift
[311/421] Compiling ArgumentParser NonsenseFlagsValidator.swift
[312/421] Compiling ArgumentParser ParsableArgumentsValidation.swift
[313/421] Compiling ArgumentParser PositionalArgumentsValidator.swift
[314/421] Compiling ArgumentParser UniqueNamesValidator.swift
[315/421] Compiling SwiftProtobuf JSONEncodingError.swift
[316/421] Compiling SwiftProtobuf JSONEncodingOptions.swift
[317/421] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[318/421] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[319/421] Compiling SwiftProtobuf JSONScanner.swift
[320/421] Compiling SwiftProtobuf MathUtils.swift
[321/421] Compiling SwiftProtobuf Message+AnyAdditions.swift
[322/421] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[330/421] Compiling ArgumentParser AsyncCompletionsValidator.swift
[331/421] Compiling ArgumentParser CodingKeyValidator.swift
[360/422] Wrapping AST for SystemPackage for debugging
[374/422] Emitting module DequeModule
[387/424] Wrapping AST for DequeModule for debugging
[389/531] Wrapping AST for ArgumentParser for debugging
[391/531] Compiling Configuration Deprecations.swift
[392/531] Compiling Configuration ExpressibleByConfigInt.swift
[393/531] Compiling Configuration ExpressibleByConfigString.swift
[394/531] Compiling Configuration CLIKeyEncoder.swift
[395/531] Compiling Configuration ConfigKeyEncoder.swift
[396/531] Compiling Configuration DotSeparatorKeyDecoder.swift
[397/536] Compiling Configuration SeparatorKeyEncoder.swift
[398/536] Compiling Configuration MultiProvider.swift
[399/536] Compiling Configuration CLIArgumentParser.swift
[400/536] Compiling Configuration CLISnapshot.swift
[401/536] Compiling Configuration CommandLineArgumentsProvider.swift
[402/536] Compiling Configuration EnvironmentFileParser.swift
[403/536] Compiling Configuration JSONSnapshot.swift
[404/536] Compiling Configuration PropertyListSnapshot.swift
[405/536] Compiling Configuration ReloadingFileProvider.swift
[406/536] Compiling Configuration ReloadingFileProviderMetrics.swift
[407/536] Compiling Configuration YAMLSnapshot.swift
[408/536] Compiling Configuration InMemoryProvider.swift
[409/536] Emitting module Configuration
[410/536] Compiling NIOCore NIOCoreSendableMetatype.swift
[411/536] Compiling NIOCore NIODecodedAsyncSequence.swift
[412/536] Compiling NIOCore NIOLoopBound.swift
[413/536] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[414/536] Compiling NIOCore NIOScheduledCallback.swift
[415/536] Compiling NIOCore NIOSendable.swift
[416/536] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[417/536] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[418/536] Compiling NIOCore RecvByteBufferAllocator.swift
[419/544] Compiling Configuration MutableInMemoryProvider.swift
[420/544] Compiling Configuration ConfigProvider+Operators.swift
[421/544] Compiling Configuration KeyMappingProvider.swift
[422/544] Compiling Configuration SecretsSpecifier.swift
[423/544] Compiling Configuration AsyncCombineLatestManySequence.swift
[424/544] Compiling Configuration CombineLatestManyStateMachine.swift
[425/544] Compiling Configuration EnvironmentKeyEncoder.swift
[426/544] Compiling Configuration EnvironmentVariablesProvider.swift
[427/544] Compiling Configuration CommonProviderFileSystem.swift
[428/544] Compiling Configuration DirectoryFilesProvider.swift
[429/544] Compiling Configuration FileProvider.swift
[430/544] Compiling Configuration FileProviderSnapshot.swift
[431/544] Compiling Configuration CombineLatestManyStorage.swift
[432/544] Compiling Configuration AsyncSequences.swift
[433/544] Compiling Configuration FoundationExtensions.swift
[434/544] Compiling Configuration Span.swift
[435/544] Compiling Configuration ConfigBytesFromStringDecoder.swift
[436/544] Compiling Configuration AccessReporter.swift
[437/544] Compiling Configuration AccessLogger.swift
[438/544] Compiling Configuration FileAccessLogger.swift
[439/544] Compiling Configuration ConfigContext.swift
[440/544] Compiling Configuration ConfigKey.swift
[441/544] Compiling Configuration ConfigProvider.swift
[444/544] Compiling NIOCore IntegerTypes.swift
[445/544] Compiling NIOCore Interfaces.swift
[446/544] Compiling NIOCore Linux.swift
[447/544] Compiling NIOCore MarkedCircularBuffer.swift
[448/544] Compiling NIOCore MulticastChannel.swift
[449/544] Compiling NIOCore NIOAny.swift
[450/544] Compiling NIOCore NIOCloseOnErrorHandler.swift
[478/544] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[479/544] Compiling NIOCore SocketAddresses.swift
[480/544] Compiling NIOCore SocketOptionProvider.swift
[481/544] Compiling NIOCore SystemCallHelpers.swift
[482/544] Compiling NIOCore TimeAmount+Duration.swift
[483/544] Compiling NIOCore TypeAssistedChannelHandler.swift
[484/544] Compiling NIOCore UniversalBootstrapSupport.swift
[485/544] Compiling NIOCore Utilities.swift
[486/544] Compiling Configuration ConfigProviderHelpers.swift
[487/544] Compiling Configuration ConfigReader+internalHelpers.swift
[488/544] Compiling Configuration ConfigReader+methods.swift
[489/544] Compiling Configuration ConfigReader.swift
[490/544] Compiling Configuration ConfigSnapshotReader+methods.swift
[491/544] Compiling Configuration ConfigSnapshotReader.swift
[501/545] Wrapping AST for Configuration for debugging
[503/545] Compiling SwiftProtobuf any.pb.swift
[504/545] Compiling SwiftProtobuf api.pb.swift
[505/545] Compiling SwiftProtobuf descriptor.pb.swift
[506/545] Compiling SwiftProtobuf duration.pb.swift
[507/545] Compiling SwiftProtobuf empty.pb.swift
[508/545] Compiling SwiftProtobuf field_mask.pb.swift
[509/545] Compiling SwiftProtobuf source_context.pb.swift
[510/545] Compiling SwiftProtobuf struct.pb.swift
[511/545] Compiling SwiftProtobuf timestamp.pb.swift
[512/545] Compiling SwiftProtobuf type.pb.swift
[513/545] Compiling SwiftProtobuf wrappers.pb.swift
[514/546] Wrapping AST for SwiftProtobuf for debugging
[525/546] Emitting module NIOCore
[526/551] Wrapping AST for NIOCore for debugging
[528/604] Emitting module NIOEmbedded
[529/604] Compiling NIOEmbedded AsyncTestingChannel.swift
[530/604] Compiling NIOFoundationEssentialsCompat ByteBuffer-foundation.swift
[531/604] Emitting module NIOFoundationEssentialsCompat
[532/604] Compiling NIOFoundationEssentialsCompat Codable+ByteBuffer.swift
[533/605] Wrapping AST for NIOFoundationEssentialsCompat for debugging
[535/605] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[536/605] Compiling NIOEmbedded Embedded.swift
[537/606] Wrapping AST for NIOEmbedded for debugging
[539/606] Emitting module NIOPosix
[540/613] Compiling NIOPosix SelectorWSAPoll.swift
[541/613] Compiling NIOPosix ServerSocket.swift
[542/613] Compiling NIOPosix Socket.swift
[543/613] Compiling NIOPosix SocketChannel.swift
[544/613] Compiling NIOPosix SocketProtocols.swift
[545/613] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[546/613] Compiling NIOPosix System.swift
[547/613] Compiling NIOPosix Selectable.swift
[548/613] Compiling NIOPosix SelectableChannel.swift
[549/613] Compiling NIOPosix SelectableEventLoop.swift
[550/613] Compiling NIOPosix SelectorEpoll.swift
[551/613] Compiling NIOPosix SelectorGeneric.swift
[552/613] Compiling NIOPosix SelectorKqueue.swift
[553/613] Compiling NIOPosix SelectorUring.swift
[554/613] Compiling NIOPosix BSDSocketAPICommon.swift
[555/613] Compiling NIOPosix BSDSocketAPIPosix.swift
[556/613] Compiling NIOPosix BSDSocketAPIWindows.swift
[557/613] Compiling NIOPosix BaseSocket.swift
[558/613] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[559/613] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[560/613] Compiling NIOPosix BaseSocketChannel.swift
[561/613] Compiling NIOPosix PipeChannel.swift
[562/613] Compiling NIOPosix PipePair.swift
[563/613] Compiling NIOPosix Pool.swift
[564/613] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[565/613] Compiling NIOPosix PosixSingletons.swift
[566/613] Compiling NIOPosix RawSocketBootstrap.swift
[567/613] Compiling NIOPosix Resolver.swift
[568/613] Compiling NIOPosix Thread.swift
[569/613] Compiling NIOPosix ThreadPosix.swift
[570/613] Compiling NIOPosix ThreadWindows.swift
[571/613] Compiling NIOPosix Utilities.swift
[572/613] Compiling NIOPosix VsockAddress.swift
[573/613] Compiling NIOPosix VsockChannelEvents.swift
[574/613] Compiling NIOPosix Windows.swift
[575/613] Compiling NIOPosix BaseStreamSocketChannel.swift
[576/613] Compiling NIOPosix Bootstrap.swift
[577/613] Compiling NIOPosix ControlMessage.swift
[578/613] Compiling NIOPosix DatagramVectorReadManager.swift
[579/613] Compiling NIOPosix Errors+Any.swift
[580/613] Compiling NIOPosix FileDescriptor.swift
[581/613] Compiling NIOPosix GetaddrinfoResolver.swift
[582/613] Compiling NIOPosix HappyEyeballs.swift
[583/613] Compiling NIOPosix IO.swift
[584/613] Compiling NIOPosix IntegerBitPacking.swift
[585/613] Compiling NIOPosix IntegerTypes.swift
[586/613] Compiling NIOPosix Linux.swift
[587/613] Compiling NIOPosix LinuxCPUSet.swift
[588/613] Compiling NIOPosix LinuxUring.swift
[589/613] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[590/613] Compiling NIOPosix NIOPosixSendableMetatype.swift
[591/613] Compiling NIOPosix NIORandomizedDNSResolver.swift
[592/613] Compiling NIOPosix NIOThreadPool.swift
[593/613] Compiling NIOPosix NonBlockingFileIO.swift
[594/613] Compiling NIOPosix PendingDatagramWritesManager.swift
[595/613] Compiling NIOPosix PendingWritesManager.swift
[596/614] Wrapping AST for NIOPosix for debugging
[598/616] Compiling NIO Exports.swift
[599/616] Emitting module NIO
[600/654] Wrapping AST for NIO for debugging
[602/674] Compiling NIOFoundationCompat Exports.swift
[603/674] Emitting module NIOFoundationCompat
[604/674] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[605/674] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[606/675] Wrapping AST for NIOFoundationCompat for debugging
[608/675] Compiling _NIOFileSystem ParallelRemoval.swift
[609/675] Compiling _NIOFileSystem String+UnsafeUnititializedCapacity.swift
[610/675] Compiling _NIOFileSystem CInterop.swift
[611/675] Compiling _NIOFileSystem Errno.swift
[612/675] Compiling _NIOFileSystem FileDescriptor+Syscalls.swift
[613/680] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[614/680] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[615/680] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[616/680] Compiling NIOHTTP1 ByteCollectionUtils.swift
[617/680] Compiling NIOHTTP1 HTTPDecoder.swift
[618/680] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[619/680] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[620/682] Compiling _NIOFileSystem Utilities.swift
[621/682] Compiling _NIOFileSystem NIOFilePath.swift
[622/682] Compiling _NIOFileSystem NIOFileSystemSendableMetatype.swift
[623/682] Compiling _NIOFileSystem OpenOptions.swift
[624/682] Compiling _NIOFileSystem String+FileSystem.swift
[625/682] Emitting module NIOHTTP1
[626/682] Compiling NIOHTTP1 HTTPEncoder.swift
[627/682] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[628/682] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[631/682] Compiling _NIOFileSystem BufferedOrAnyStream.swift
[632/682] Compiling _NIOFileSystem BufferedStream.swift
[633/682] Compiling _NIOFileSystem Cancellation.swift
[634/682] Compiling _NIOFileSystem TokenBucket.swift
[635/682] Compiling _NIOFileSystem ParallelDirCopy.swift
[636/682] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[637/682] Compiling NIOHTTP1 HTTPTypes.swift
[638/682] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[639/682] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[640/682] Compiling NIOHTTP1 HTTPServerRequestMethodQueue.swift
[641/682] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[650/682] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[651/682] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[652/683] Wrapping AST for NIOHTTP1 for debugging
[654/701] Compiling NIOExtras DebugInboundEventsHandler.swift
[655/701] Compiling NIOExtras DebugOutboundEventsHandler.swift
[656/701] Compiling NIOExtras FixedLengthFrameDecoder.swift
[657/703] Compiling NIOExtras RequestResponseHandler.swift
[658/703] Compiling NIOExtras RequestResponseHandlers+State.swift
[659/703] Emitting module NIOExtras
[660/703] Compiling NIOExtras PCAPRingBuffer.swift
[661/703] Compiling NIOExtras QuiescingHelper.swift
[662/703] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[663/703] Compiling NIOExtras NIOExtrasError.swift
[664/703] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[665/703] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[666/703] Compiling NIOExtras JSONRPCFraming.swift
[667/703] Compiling NIOExtras NIOLengthFieldBitLength.swift
[668/703] Compiling NIOExtras NIORequestIdentifiable.swift
[669/703] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[670/703] Compiling NIOExtras LengthFieldPrepender.swift
[671/703] Compiling NIOExtras LineBasedFrameDecoder.swift
[672/703] Emitting module _NIOFileSystem
[675/703] Compiling NIOExtras RequestResponseWithIDHandler.swift
[676/703] Compiling NIOExtras WritePCAPHandler.swift
[677/703] Compiling _NIOFileSystem Exports.swift
[678/703] Compiling _NIOFileSystem FileChunks.swift
[679/703] Compiling _NIOFileSystem FileHandle.swift
[680/703] Compiling _NIOFileSystem FileHandleProtocol.swift
[681/703] Compiling _NIOFileSystem FileInfo.swift
[682/703] Compiling _NIOFileSystem FileSystem.swift
[688/704] Wrapping AST for _NIOFileSystem for debugging
[690/706] Emitting module NIOFileSystem
[691/706] Compiling NIOFileSystem Exports.swift
[694/708] Wrapping AST for NIOFileSystem for debugging
[696/710] Wrapping AST for NIOExtras for debugging
[698/710] Emitting module ProfileRecorderHelpers
[699/710] Compiling ProfileRecorderHelpers Helpers.swift
[700/711] Wrapping AST for ProfileRecorderHelpers for debugging
[702/715] Compiling ProfileRecorder ProfileRecorderSampler.swift
/host/spi-builder-workspace/Sources/ProfileRecorder/ProfileRecorderSampler.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'ProfileRecorder' may lead to instability during execution [#ImplementationOnlyDeprecated]
23 | import Dispatch
24 | #if canImport(CProfileRecorderSampler) // only on macOS & Linux
25 | @_implementationOnly import CProfileRecorderSampler
| `- warning: using '@_implementationOnly' without enabling library evolution for 'ProfileRecorder' may lead to instability during execution [#ImplementationOnlyDeprecated]
26 | #endif
27 |
/host/spi-builder-workspace/Sources/ProfileRecorder/ProfileRecorderSampler.swift:215:38: 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
213 | if outputFilePath == "-" {
214 | return self.requestSamples(
215 | output: CFilePointer(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
216 | count: count,
217 | timeBetweenSamples: timeBetweenSamples,
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[703/715] Emitting module ProfileRecorder
/host/spi-builder-workspace/Sources/ProfileRecorder/ProfileRecorderSampler.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'ProfileRecorder' may lead to instability during execution [#ImplementationOnlyDeprecated]
23 | import Dispatch
24 | #if canImport(CProfileRecorderSampler) // only on macOS & Linux
25 | @_implementationOnly import CProfileRecorderSampler
| `- warning: using '@_implementationOnly' without enabling library evolution for 'ProfileRecorder' may lead to instability during execution [#ImplementationOnlyDeprecated]
26 | #endif
27 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[704/716] Wrapping AST for ProfileRecorder for debugging
[706/716] Emitting module ProfileRecorderPprofFormat
[707/716] Compiling ProfileRecorderPprofFormat profile.pb.swift
[708/717] Wrapping AST for ProfileRecorderPprofFormat for debugging
[710/760] Compiling _ProfileRecorderSampleConversion MultiStreamFile.swift
[711/760] Compiling _ProfileRecorderSampleConversion NameTableNI.swift
[712/760] Compiling _ProfileRecorderSampleConversion PDBFile+SymbolSource.swift
[713/760] Compiling _ProfileRecorderSampleConversion PDBFile.swift
[714/760] Compiling _ProfileRecorderSampleConversion SectionInfo.swift
[715/760] Compiling _ProfileRecorderSampleConversion String+EncodeAs.swift
[716/765] Compiling _ProfileRecorderSampleConversion Coders.swift
[717/765] Compiling _ProfileRecorderSampleConversion CoreSymbolication.swift
[718/765] Compiling _ProfileRecorderSampleConversion CoreSymbolicationHelper.swift
[719/765] Compiling _ProfileRecorderSampleConversion CoreSymbolicationSymboliser.swift
[720/765] Compiling _ProfileRecorderSampleConversion FakeSymbolizer.swift
[721/765] Compiling _ProfileRecorderSampleConversion HelperFunctions.swift
[722/765] Emitting module _ProfileRecorderSampleConversion
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/BacktracerThreadLocals.swift:60:22: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
58 | }()
59 | #else
60 | private static var key: pthread_key_t = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var theKey = pthread_key_t()
62 | let err = pthread_key_create(
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| `- warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| `- warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
70 |
71 | /// The maximum size of blob we're prepared to decompress
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The maximum size of blob we're prepared to decompress
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:91:13: warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
| |- warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'lzmaHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'lzmaHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:92:13: warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
| |- warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zlibHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zlibHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
94 | #elseif os(Windows)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:93:13: warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
| |- warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zstdHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zstdHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | #elseif os(Windows)
95 | private var lzmaHandle = LoadLibraryA("liblzma.dll")
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| `- warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
248 |
249 | // .. Utilities ................................................................
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| |- note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| `- warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| |- note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| `- warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| `- warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[723/765] Compiling _ProfileRecorderSampleConversion Utils.swift
[724/765] Compiling _ProfileRecorderSampleConversion FlamegraphCollapsed.swift
[725/765] Compiling _ProfileRecorderSampleConversion PerfScript.swift
[726/765] Compiling _ProfileRecorderSampleConversion Pprof.swift
[727/765] Compiling _ProfileRecorderSampleConversion RendererTypes.swift
[728/765] Compiling _ProfileRecorderSampleConversion ProfileRecorderAddtions+Types.swift
[729/765] Compiling _ProfileRecorderSampleConversion NIOTimeAmount+PrettyPrint.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/BacktracerThreadLocals.swift:60:22: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
58 | }()
59 | #else
60 | private static var key: pthread_key_t = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var theKey = pthread_key_t()
62 | let err = pthread_key_create(
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| `- warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| `- warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
70 |
71 | /// The maximum size of blob we're prepared to decompress
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The maximum size of blob we're prepared to decompress
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:91:13: warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
| |- warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'lzmaHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'lzmaHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:92:13: warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
| |- warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zlibHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zlibHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
94 | #elseif os(Windows)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:93:13: warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
| |- warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zstdHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zstdHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | #elseif os(Windows)
95 | private var lzmaHandle = LoadLibraryA("liblzma.dll")
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[730/765] Compiling _ProfileRecorderSampleConversion AggregatingSymbolSource.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/BacktracerThreadLocals.swift:60:22: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
58 | }()
59 | #else
60 | private static var key: pthread_key_t = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var theKey = pthread_key_t()
62 | let err = pthread_key_create(
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| `- warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| `- warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
70 |
71 | /// The maximum size of blob we're prepared to decompress
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The maximum size of blob we're prepared to decompress
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:91:13: warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
| |- warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'lzmaHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'lzmaHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:92:13: warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
| |- warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zlibHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zlibHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
94 | #elseif os(Windows)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:93:13: warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
| |- warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zstdHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zstdHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | #elseif os(Windows)
95 | private var lzmaHandle = LoadLibraryA("liblzma.dll")
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[731/765] Compiling _ProfileRecorderSampleConversion BacktracerThreadLocals.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/BacktracerThreadLocals.swift:60:22: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
58 | }()
59 | #else
60 | private static var key: pthread_key_t = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var theKey = pthread_key_t()
62 | let err = pthread_key_create(
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| `- warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| `- warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
70 |
71 | /// The maximum size of blob we're prepared to decompress
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The maximum size of blob we're prepared to decompress
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:91:13: warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
| |- warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'lzmaHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'lzmaHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:92:13: warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
| |- warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zlibHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zlibHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
94 | #elseif os(Windows)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:93:13: warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
| |- warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zstdHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zstdHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | #elseif os(Windows)
95 | private var lzmaHandle = LoadLibraryA("liblzma.dll")
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[732/765] Compiling _ProfileRecorderSampleConversion ByteSwapping.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/BacktracerThreadLocals.swift:60:22: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
58 | }()
59 | #else
60 | private static var key: pthread_key_t = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var theKey = pthread_key_t()
62 | let err = pthread_key_create(
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| `- warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| `- warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
70 |
71 | /// The maximum size of blob we're prepared to decompress
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The maximum size of blob we're prepared to decompress
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:91:13: warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
| |- warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'lzmaHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'lzmaHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:92:13: warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
| |- warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zlibHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zlibHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
94 | #elseif os(Windows)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:93:13: warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
| |- warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zstdHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zstdHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | #elseif os(Windows)
95 | private var lzmaHandle = LoadLibraryA("liblzma.dll")
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[733/765] Compiling _ProfileRecorderSampleConversion Compression.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/BacktracerThreadLocals.swift:60:22: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
58 | }()
59 | #else
60 | private static var key: pthread_key_t = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var theKey = pthread_key_t()
62 | let err = pthread_key_create(
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| `- warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| `- warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
70 |
71 | /// The maximum size of blob we're prepared to decompress
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The maximum size of blob we're prepared to decompress
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:91:13: warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
| |- warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'lzmaHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'lzmaHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:92:13: warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
| |- warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zlibHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zlibHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
94 | #elseif os(Windows)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:93:13: warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
| |- warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zstdHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zstdHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | #elseif os(Windows)
95 | private var lzmaHandle = LoadLibraryA("liblzma.dll")
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[734/765] Compiling _ProfileRecorderSampleConversion DefaultSymbolLocator.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/BacktracerThreadLocals.swift:60:22: warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
58 | }()
59 | #else
60 | private static var key: pthread_key_t = {
| |- warning: static property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var theKey = pthread_key_t()
62 | let err = pthread_key_create(
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| `- warning: let 'SWIPR_zlib_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_z_stream' (aka '() -> SWIPR_z_stream_s') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
66 | }
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
70 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| `- warning: let 'SWIPR_lzma_stream_init' is not concurrency-safe because non-'Sendable' type '() -> SWIPR_lzma_stream' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
70 |
71 | /// The maximum size of blob we're prepared to decompress
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
67 |
68 | let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
69 | let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
| |- note: add '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The maximum size of blob we're prepared to decompress
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:91:13: warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
| |- warning: var 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'lzmaHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'lzmaHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:92:13: warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
| |- warning: var 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zlibHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zlibHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
94 | #elseif os(Windows)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:93:13: warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
92 | private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
93 | private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
| |- warning: var 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'zstdHandle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'zstdHandle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | #elseif os(Windows)
95 | private var lzmaHandle = LoadLibraryA("liblzma.dll")
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[735/765] Compiling _ProfileRecorderSampleConversion ProfileRecorderSampleConverter.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:147:43: 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
145 | var accumulatedErrors: [any Swift.Error] = []
146 | do {
147 | let input = fromPath == "-" ? stdin : fopen(fromPath, "r")
| `- 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
148 | guard let input = input else {
149 | throw Error(message: "Could not open \(fromPath), errno: \(errno)")
/usr/include/stdio.h:149:14: note: var declared here
147 |
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
| `- note: var declared here
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:156:42: 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
154 | }
155 | }
156 | let output = toPath == "-" ? stdout : fopen(toPath, "w")
| `- 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
157 | guard let output = output else {
158 | throw Error(message: "Could not open \(toPath), errno: \(errno)")
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
[736/765] Compiling _ProfileRecorderSampleConversion SampleAggregator.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:147:43: 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
145 | var accumulatedErrors: [any Swift.Error] = []
146 | do {
147 | let input = fromPath == "-" ? stdin : fopen(fromPath, "r")
| `- 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
148 | guard let input = input else {
149 | throw Error(message: "Could not open \(fromPath), errno: \(errno)")
/usr/include/stdio.h:149:14: note: var declared here
147 |
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
| `- note: var declared here
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:156:42: 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
154 | }
155 | }
156 | let output = toPath == "-" ? stdout : fopen(toPath, "w")
| `- 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
157 | guard let output = output else {
158 | throw Error(message: "Could not open \(toPath), errno: \(errno)")
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
[737/765] Compiling _ProfileRecorderSampleConversion Sampler+Conversion.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:147:43: 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
145 | var accumulatedErrors: [any Swift.Error] = []
146 | do {
147 | let input = fromPath == "-" ? stdin : fopen(fromPath, "r")
| `- 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
148 | guard let input = input else {
149 | throw Error(message: "Could not open \(fromPath), errno: \(errno)")
/usr/include/stdio.h:149:14: note: var declared here
147 |
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
| `- note: var declared here
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:156:42: 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
154 | }
155 | }
156 | let output = toPath == "-" ? stdout : fopen(toPath, "w")
| `- 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
157 | guard let output = output else {
158 | throw Error(message: "Could not open \(toPath), errno: \(errno)")
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
[738/765] Compiling _ProfileRecorderSampleConversion Symboliser.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:147:43: 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
145 | var accumulatedErrors: [any Swift.Error] = []
146 | do {
147 | let input = fromPath == "-" ? stdin : fopen(fromPath, "r")
| `- 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
148 | guard let input = input else {
149 | throw Error(message: "Could not open \(fromPath), errno: \(errno)")
/usr/include/stdio.h:149:14: note: var declared here
147 |
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
| `- note: var declared here
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:156:42: 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
154 | }
155 | }
156 | let output = toPath == "-" ? stdout : fopen(toPath, "w")
| `- 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
157 | guard let output = output else {
158 | throw Error(message: "Could not open \(toPath), errno: \(errno)")
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
[739/765] Compiling _ProfileRecorderSampleConversion Types.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:147:43: 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
145 | var accumulatedErrors: [any Swift.Error] = []
146 | do {
147 | let input = fromPath == "-" ? stdin : fopen(fromPath, "r")
| `- 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
148 | guard let input = input else {
149 | throw Error(message: "Could not open \(fromPath), errno: \(errno)")
/usr/include/stdio.h:149:14: note: var declared here
147 |
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
| `- note: var declared here
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:156:42: 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
154 | }
155 | }
156 | let output = toPath == "-" ? stdout : fopen(toPath, "w")
| `- 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
157 | guard let output = output else {
158 | throw Error(message: "Could not open \(toPath), errno: \(errno)")
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
[740/765] Compiling _ProfileRecorderSampleConversion MemoryReader.swift
[741/765] Compiling _ProfileRecorderSampleConversion Bitset.swift
[742/765] Compiling _ProfileRecorderSampleConversion FunctionInfo.swift
[743/765] Compiling _ProfileRecorderSampleConversion Hashes.swift
[744/765] Compiling _ProfileRecorderSampleConversion ISO8859-1.swift
[745/765] Compiling _ProfileRecorderSampleConversion Module.swift
[746/765] Compiling _ProfileRecorderSampleConversion Windows1252.swift
[747/765] Compiling _ProfileRecorderSampleConversion PDBCache.swift
[748/765] Compiling _ProfileRecorderSampleConversion PeCoff.swift
[749/765] Compiling _ProfileRecorderSampleConversion PeImageCache.swift
[750/765] Compiling _ProfileRecorderSampleConversion Registers.swift
[751/765] Compiling _ProfileRecorderSampleConversion SymbolLocator.swift
[752/765] Compiling _ProfileRecorderSampleConversion Dwarf.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| `- warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
248 |
249 | // .. Utilities ................................................................
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| |- note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| `- warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| |- note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| `- warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| `- warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[753/765] Compiling _ProfileRecorderSampleConversion Elf.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| `- warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
248 |
249 | // .. Utilities ................................................................
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| |- note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| `- warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| |- note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| `- warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| `- warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[754/765] Compiling _ProfileRecorderSampleConversion ElfImageCache.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| `- warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
248 |
249 | // .. Utilities ................................................................
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| |- note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| `- warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| |- note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| `- warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| `- warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[755/765] Compiling _ProfileRecorderSampleConversion Image.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| `- warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
248 |
249 | // .. Utilities ................................................................
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| |- note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| `- warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| |- note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| `- warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| `- warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[756/765] Compiling _ProfileRecorderSampleConversion ImageSource.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| `- warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
248 |
249 | // .. Utilities ................................................................
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| |- note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| `- warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| |- note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| `- warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| `- warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[757/765] Compiling _ProfileRecorderSampleConversion Libc.swift
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| `- warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
248 |
249 | // .. Utilities ................................................................
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
246 |
247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
| |- note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| `- warning: let 'SWIPR_swift_open' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
34 | import CProfileRecorderSwiftELF
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
| |- note: add '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| `- warning: let 'SWIPR_swift_get_errno' is not concurrency-safe because non-'Sendable' type '() -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
35 |
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
39 |
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| `- warning: let 'SWIPR_swift_set_errno' is not concurrency-safe because non-'Sendable' type '(Int32) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
39 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
36 | let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
37 | let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
38 | let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
| |- note: add '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[758/766] Wrapping AST for _ProfileRecorderSampleConversion for debugging
[760/774] Compiling swipr_sample_conv LLVMStackFrameEncoderHandler.swift
[761/774] Emitting module swipr_sample_conv
[762/774] Compiling swipr_sample_conv LLVMSymbolizer.swift
[763/774] Compiling swipr_sample_conv LLVMJSONOutputParserHandler.swift
[764/774] Compiling swipr_sample_conv LLVMOutputParserHandler.swift
[765/774] Compiling swipr_sample_conv MainFile.swift
[766/775] Wrapping AST for swipr-sample-conv for debugging
[767/775] Write Objects.LinkFileList
[769/775] Emitting module ProfileRecorderServer
[770/775] Compiling ProfileRecorderServer Server.swift
/host/spi-builder-workspace/Sources/ProfileRecorderServer/Server.swift:411:48: warning: value 'remoteAddress' was defined but never used; consider replacing with boolean test [#no-usage]
409 | childGroup.addTask {
410 | var logger = logger
411 | if let remoteAddress = child.channel.remoteAddress {
| `- warning: value 'remoteAddress' was defined but never used; consider replacing with boolean test [#no-usage]
412 | logger[metadataKey: "peer"] = "\(child.channel.remoteAddress!)"
413 | }
[770/776] Linking swipr-sample-conv
[772/776] Wrapping AST for ProfileRecorderServer for debugging
[774/778] Emitting module swipr_mini_demo
[775/778] Compiling swipr_mini_demo Main.swift
/host/spi-builder-workspace/Sources/swipr-mini-demo/Main.swift:121:16: 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
119 | }
120 | print("DONE")
121 | fflush(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
122 | }
123 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
[776/779] Wrapping AST for swipr-mini-demo for debugging
[777/779] Write Objects.LinkFileList
[778/779] Linking swipr-mini-demo
Build complete! (55.81s)
Build complete.
{
"cxx_language_standard" : "c++14",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.99.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.31.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.25.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-configuration",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-configuration.git"
}
],
"manifest_display_name" : "swift-profile-recorder",
"name" : "swift-profile-recorder",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ProfileRecorder",
"targets" : [
"ProfileRecorder"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ProfileRecorderServer",
"targets" : [
"ProfileRecorderServer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swipr-sample-conv",
"targets" : [
"swipr-sample-conv"
],
"type" : {
"executable" : null
}
},
{
"name" : "_ProfileRecorderSampleConversion",
"targets" : [
"_ProfileRecorderSampleConversion"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swipr-mini-demo",
"targets" : [
"swipr-mini-demo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swipr_sample_conv",
"module_type" : "SwiftTarget",
"name" : "swipr-sample-conv",
"path" : "Sources/swipr-sample-conv",
"product_dependencies" : [
"ArgumentParser",
"NIOFoundationCompat",
"Logging"
],
"product_memberships" : [
"swipr-sample-conv"
],
"sources" : [
"LLVMJSONOutputParserHandler.swift",
"LLVMOutputParserHandler.swift",
"LLVMStackFrameEncoderHandler.swift",
"LLVMSymbolizer.swift",
"MainFile.swift"
],
"target_dependencies" : [
"CProfileRecorderSwiftELF",
"_ProfileRecorderSampleConversion",
"ProfileRecorderHelpers",
"ProfileRecorder"
],
"type" : "executable"
},
{
"c99name" : "swipr_mini_demo",
"module_type" : "SwiftTarget",
"name" : "swipr-mini-demo",
"path" : "Sources/swipr-mini-demo",
"product_dependencies" : [
"ArgumentParser",
"NIO",
"Logging"
],
"product_memberships" : [
"swipr-mini-demo"
],
"sources" : [
"Main.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"ProfileRecorderServer",
"ProfileRecorderHelpers"
],
"type" : "executable"
},
{
"c99name" : "_ProfileRecorderSampleConversion",
"module_type" : "SwiftTarget",
"name" : "_ProfileRecorderSampleConversion",
"path" : "Sources/ProfileRecorderSampleConversion",
"product_dependencies" : [
"NIO",
"Logging",
"NIOExtras"
],
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"Coders.swift",
"CoreSymbolication/CoreSymbolication.swift",
"CoreSymbolication/CoreSymbolicationHelper.swift",
"CoreSymbolication/CoreSymbolicationSymboliser.swift",
"FakeSymbolizer.swift",
"HelperFunctions.swift",
"NIOTimeAmount+PrettyPrint.swift",
"NativeELFSymboliser/AggregatingSymbolSource.swift",
"NativeELFSymboliser/BacktracerThreadLocals.swift",
"NativeELFSymboliser/ByteSwapping.swift",
"NativeELFSymboliser/Compression.swift",
"NativeELFSymboliser/DefaultSymbolLocator.swift",
"NativeELFSymboliser/Dwarf.swift",
"NativeELFSymboliser/Elf.swift",
"NativeELFSymboliser/ElfImageCache.swift",
"NativeELFSymboliser/Image.swift",
"NativeELFSymboliser/ImageSource.swift",
"NativeELFSymboliser/Libc.swift",
"NativeELFSymboliser/MemoryReader.swift",
"NativeELFSymboliser/PDB/Bitset.swift",
"NativeELFSymboliser/PDB/FunctionInfo.swift",
"NativeELFSymboliser/PDB/Hashes.swift",
"NativeELFSymboliser/PDB/ISO8859-1.swift",
"NativeELFSymboliser/PDB/Module.swift",
"NativeELFSymboliser/PDB/MultiStreamFile.swift",
"NativeELFSymboliser/PDB/NameTableNI.swift",
"NativeELFSymboliser/PDB/PDBFile+SymbolSource.swift",
"NativeELFSymboliser/PDB/PDBFile.swift",
"NativeELFSymboliser/PDB/SectionInfo.swift",
"NativeELFSymboliser/PDB/String+EncodeAs.swift",
"NativeELFSymboliser/PDB/Windows1252.swift",
"NativeELFSymboliser/PDBCache.swift",
"NativeELFSymboliser/PeCoff.swift",
"NativeELFSymboliser/PeImageCache.swift",
"NativeELFSymboliser/Registers.swift",
"NativeELFSymboliser/SymbolLocator.swift",
"NativeELFSymboliser/Utils.swift",
"OutputFormatRendering/FlamegraphCollapsed.swift",
"OutputFormatRendering/PerfScript.swift",
"OutputFormatRendering/Pprof.swift",
"OutputFormatRendering/RendererTypes.swift",
"ProfileRecorderAddtions+Types.swift",
"ProfileRecorderSampleConverter.swift",
"SampleAggregator.swift",
"Sampler+Conversion.swift",
"Symboliser.swift",
"Types.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"CProfileRecorderSwiftELF",
"CProfileRecorderDarwin",
"ProfileRecorderPprofFormat",
"ProfileRecorderHelpers"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorderTests",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderTests",
"path" : "Tests/ProfileRecorderTests",
"product_dependencies" : [
"Atomics",
"NIO",
"Logging",
"_NIOFileSystem",
"SystemPackage"
],
"sources" : [
"ProfileRecorderTests.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"_ProfileRecorderSampleConversion",
"ProfileRecorderHelpers"
],
"type" : "test"
},
{
"c99name" : "ProfileRecorderServerTests",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderServerTests",
"path" : "Tests/ProfileRecorderServerTests",
"product_dependencies" : [
"Atomics",
"NIO",
"Logging",
"_NIOFileSystem",
"AsyncHTTPClient"
],
"sources" : [
"ProfileRecorderConfigurationTests.swift",
"ProfileRecorderServerTests.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"ProfileRecorderServer",
"_ProfileRecorderSampleConversion",
"ProfileRecorderHelpers"
],
"type" : "test"
},
{
"c99name" : "ProfileRecorderServer",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderServer",
"path" : "Sources/ProfileRecorderServer",
"product_dependencies" : [
"NIO",
"NIOHTTP1",
"NIOFoundationEssentialsCompat",
"_NIOFileSystem",
"Logging",
"Configuration"
],
"product_memberships" : [
"ProfileRecorderServer",
"swipr-mini-demo"
],
"sources" : [
"Server.swift"
],
"target_dependencies" : [
"ProfileRecorderHelpers",
"ProfileRecorder",
"_ProfileRecorderSampleConversion",
"ProfileRecorderPprofFormat"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorderSampleConversionTests",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderSampleConversionTests",
"path" : "Tests/ProfileRecorderSampleConversionTests",
"product_dependencies" : [
"Atomics",
"NIO",
"Logging",
"_NIOFileSystem"
],
"sources" : [
"CachedSymbolizerTests.swift",
"FlamegraphCollapsedTests.swift",
"Helpers.swift",
"NativeELFSymboliserTests.swift",
"PerfScriptTests.swift",
"PprofTests.swift",
"SampleConversionTests.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"_ProfileRecorderSampleConversion",
"ProfileRecorderPprofFormat",
"ProfileRecorderHelpers"
],
"type" : "test"
},
{
"c99name" : "ProfileRecorderPprofFormat",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderPprofFormat",
"path" : "Sources/ProfileRecorderPprofFormat",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"profile.pb.swift"
],
"target_dependencies" : [
"ProfileRecorderHelpers"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorderHelpers",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderHelpers",
"path" : "Sources/ProfileRecorderHelpers",
"product_dependencies" : [
"NIO",
"_NIOFileSystem"
],
"product_memberships" : [
"ProfileRecorder",
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"Helpers.swift"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorder",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorder",
"path" : "Sources/ProfileRecorder",
"product_dependencies" : [
"NIO",
"_NIOFileSystem"
],
"product_memberships" : [
"ProfileRecorder",
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"ProfileRecorderSampler.swift"
],
"target_dependencies" : [
"ProfileRecorderHelpers",
"CProfileRecorderSampler"
],
"type" : "library"
},
{
"c99name" : "CProfileRecorderSwiftELF",
"module_type" : "ClangTarget",
"name" : "CProfileRecorderSwiftELF",
"path" : "Sources/CProfileRecorderSwiftELF",
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"empty.c"
],
"type" : "library"
},
{
"c99name" : "CProfileRecorderSampler",
"module_type" : "ClangTarget",
"name" : "CProfileRecorderSampler",
"path" : "Sources/CProfileRecorderSampler",
"product_memberships" : [
"ProfileRecorder",
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"fp_unwinder.c",
"os_dep_darwin.c",
"os_dep_linux.c",
"sampler.c"
],
"type" : "library"
},
{
"c99name" : "CProfileRecorderDarwin",
"module_type" : "ClangTarget",
"name" : "CProfileRecorderDarwin",
"path" : "Sources/CProfileRecorderDarwin",
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"empty.c"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:2d5b74478f792f87932467cb1c47b1b25df4173cb6dae554d34910d5911b073a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Done.