Build Information
Successful build of swift-profile-recorder, reference main (45b2e7), with Swift 6.3 for Linux on 20 Nov 2026 17:09:57 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/apple/swift-profile-recorder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-53886768-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-configuration.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
[1/4246] Fetching swift-configuration
[256/11027] Fetching swift-configuration, swift-nio-extras
Fetched https://github.com/apple/swift-configuration.git from cache (0.51s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.57s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/7619] Fetching swift-system
[7620/24349] Fetching swift-system, async-http-client
[24350/26285] Fetching swift-system, async-http-client, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
Fetching https://github.com/apple/swift-log.git
[1/19438] Fetching swift-argument-parser
[19439/76923] Fetching swift-argument-parser, swift-protobuf
[23463/85467] Fetching swift-argument-parser, swift-protobuf, swift-log
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
[5198/66029] Fetching swift-protobuf, swift-log
[5540/152979] Fetching swift-protobuf, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
[10966/144435] Fetching swift-protobuf, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (4.79s)
Fetched https://github.com/apple/swift-system.git from cache (5.18s)
Fetched https://github.com/apple/swift-nio.git from cache (5.23s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.24s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (5.39s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (0.82s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
[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.27s)
Fetched https://github.com/apple/swift-collections from cache (1.28s)
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.43s)
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.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.27s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.18s)
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.17s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
[1/2881] Fetching swift-nio-transport-services
[549/19847] Fetching swift-nio-transport-services, swift-nio-ssl
[550/26035] Fetching swift-nio-transport-services, swift-nio-ssl, swift-algorithms
[3045/32760] Fetching swift-nio-transport-services, swift-nio-ssl, swift-algorithms, swift-distributed-tracing
Fetched https://github.com/apple/swift-algorithms.git from cache (0.55s)
[11303/26572] Fetching swift-nio-transport-services, swift-nio-ssl, swift-distributed-tracing
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.58s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.58s)
[2715/16966] Fetching swift-nio-ssl
[4243/29404] Fetching swift-nio-ssl, swift-nio-http2
[29405/30956] Fetching swift-nio-ssl, swift-nio-http2, swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (1.12s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.12s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.23s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.12s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.74s)
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.16s)
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.19s)
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.41s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
[1/2079] Fetching swift-asn1
[376/4069] Fetching swift-asn1, swift-http-types
[2015/5353] Fetching swift-asn1, swift-http-types, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-types.git from cache (0.45s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
[1/7680] Fetching swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.64s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.64s)
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.80s)
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.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18977] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.31s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (1.56s)
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.16s)
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-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-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-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-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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
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/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-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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.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/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-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-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-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-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-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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.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-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.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-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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.0
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/90] Write sources
[30/90] Compiling _AtomicsShims.c
[31/90] Compiling CProfileRecorderSwiftELF empty.c
[32/90] Compiling CProfileRecorderSampler os_dep_darwin.c
[33/90] Compiling CProfileRecorderDarwin empty.c
[34/90] Compiling CNIOWindows shim.c
[35/90] Compiling CNIOWindows WSAStartup.c
[36/90] Compiling CNIOWASI CNIOWASI.c
[37/90] Compiling CNIOPosix event_loop_id.c
[38/90] Compiling CNIOOpenBSD shim.c
[39/90] Compiling CSystem shims.c
[40/90] Write swift-version-24593BA9C3E375BF.txt
[41/90] Compiling CNIOLinux liburing_shims.c
[42/90] Compiling CProfileRecorderSampler fp_unwinder.c
[43/90] Compiling CProfileRecorderSampler sampler.c
[44/90] Compiling CNIOLLHTTP c_nio_http.c
[45/90] Compiling CProfileRecorderSampler os_dep_linux.c
[46/90] Compiling CNIOLinux shim.c
[47/90] Compiling CNIOLLHTTP c_nio_api.c
[48/96] Compiling CNIOFreeBSD shim.c
[49/107] Compiling CNIODarwin shim.c
[50/260] Compiling CNIOLLHTTP c_nio_llhttp.c
[52/260] Emitting module SystemPackage
[52/265] Compiling c-nioatomics.c
[53/265] Write sources
[55/283] Compiling c-atomics.c
[57/285] Emitting module ArgumentParserToolInfo
[58/285] Emitting module InternalCollectionsUtilities
[59/285] Compiling Atomics OptionalRawRepresentable.swift
[60/285] Compiling Atomics RawRepresentable.swift
[61/285] Compiling Atomics AtomicBool.swift
[62/285] Compiling Atomics AtomicStorage.swift
[63/288] Compiling _NIOBase64 Base64.swift
[64/288] Emitting module _NIOBase64
[68/291] Compiling Atomics AtomicMemoryOrderings.swift
[69/291] Compiling Atomics DoubleWord.swift
[72/291] Compiling Atomics AtomicValue.swift
[73/291] Compiling Atomics ManagedAtomic.swift
[74/291] Compiling Atomics ManagedAtomicLazyReference.swift
[75/291] Compiling Atomics IntegerOperations.swift
[76/291] Compiling Atomics Unmanaged extensions.swift
[77/291] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[78/291] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[79/291] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[80/291] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[81/291] Compiling Atomics AtomicReference.swift
[85/291] Compiling Logging Logger+With.swift
[86/291] Compiling SystemPackage SystemString.swift
[87/291] Compiling SystemPackage Util+StringArray.swift
[88/291] Compiling SystemPackage Util.swift
[89/291] Compiling SystemPackage UtilConsumers.swift
[90/291] Compiling SystemPackage WinSDK+Overlay.swift
[92/299] Compiling Atomics IntegerConformances.swift
[93/299] Compiling Atomics PointerConformances.swift
[94/299] Compiling Atomics Primitives.native.swift
[99/299] Compiling Atomics UnsafeAtomic.swift
[100/299] Compiling Atomics UnsafeAtomicLazyReference.swift
[101/299] Compiling Atomics AtomicInteger.swift
[102/299] Compiling Atomics AtomicOptionalWrappable.swift
[106/299] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[107/299] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[108/299] Compiling InternalCollectionsUtilities _SortedCollection.swift
[109/299] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[110/299] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[111/299] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[112/299] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[113/299] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[116/300] Compiling Logging Logger+Attributes.swift
[117/300] Compiling Logging LoggingSystem.swift
[119/300] Compiling _NIODataStructures _TinyArray.swift
[125/300] Emitting module Atomics
[125/300] Wrapping AST for _NIOBase64 for debugging
[127/300] Compiling Logging Logger.swift
[128/304] Emitting module SpanPreview
[131/304] Compiling SpanPreview InputSpan.swift
[132/304] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[133/304] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[134/305] Wrapping AST for InternalCollectionsUtilities for debugging
[136/325] Emitting module SwiftProtobuf
[137/358] Compiling ArgumentParserToolInfo ToolInfo.swift
[138/359] Compiling DequeModule Deque._Storage.swift
[139/359] Compiling DequeModule Deque._UnsafeHandle.swift
[140/359] Compiling DequeModule Deque.swift
[141/360] Wrapping AST for SpanPreview for debugging
[143/360] Compiling DequeModule Deque+Codable.swift
[144/360] Compiling DequeModule Deque+Collection.swift
[145/360] Compiling DequeModule Deque+CustomReflectable.swift
[146/360] Compiling DequeModule Deque+Descriptions.swift
[147/360] Compiling DequeModule Deque+Equatable.swift
[148/360] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[150/360] Compiling NIOConcurrencyHelpers lock.swift
[153/360] Compiling DequeModule UniqueDeque+Removals.swift
[154/360] Compiling DequeModule UniqueDeque+Consumption.swift
[155/360] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[156/360] Compiling DequeModule UniqueDeque+Deprecations.swift
[157/360] Compiling DequeModule UniqueDeque+Descriptions.swift
[158/360] Compiling NIOConcurrencyHelpers NIOLock.swift
[159/360] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[160/360] Emitting module NIOConcurrencyHelpers
[160/360] Write sources
[162/360] Compiling Logging MetadataProvider.swift
[162/360] Wrapping AST for ArgumentParserToolInfo for debugging
[164/360] Emitting module Logging
[166/360] Wrapping AST for Atomics for debugging
[169/361] Compiling DequeModule Deque+Extras.swift
[170/361] Compiling DequeModule Deque+Hashable.swift
[171/361] Compiling DequeModule Deque+Testing.swift
[175/361] Compiling DequeModule _DequeBuffer.swift
[176/361] Compiling DequeModule _DequeBufferHeader.swift
[177/361] Compiling DequeModule RigidDeque+Append.swift
[178/361] Compiling DequeModule RigidDeque+Consumption.swift
[179/361] Compiling DequeModule RigidDeque+ContainerOperations.swift
[180/369] Compiling _NIODataStructures PriorityQueue.swift
[181/369] Emitting module _NIODataStructures
[182/369] Compiling _NIODataStructures Heap.swift
[187/391] Compiling DequeModule UniqueDeque+Equatable.swift
[188/391] Compiling DequeModule UniqueDeque+Hashable.swift
[189/414] Wrapping AST for Logging for debugging
[190/414] Wrapping AST for _NIODataStructures for debugging
[192/414] Compiling ArgumentParser ParserError.swift
[193/414] Compiling ArgumentParser SplitArguments.swift
[194/414] Compiling ArgumentParser DumpHelpGenerator.swift
[195/414] Compiling ArgumentParser ArgumentVisibility.swift
[196/414] Compiling ArgumentParser CompletionKind.swift
[197/414] Compiling ArgumentParser Errors.swift
[198/414] Compiling ArgumentParser Flag.swift
[199/414] Compiling ArgumentParser NameSpecification.swift
[200/414] Compiling ArgumentParser Option.swift
[201/414] Compiling ArgumentParser OptionGroup.swift
[202/414] Compiling SwiftProtobuf PathDecoder.swift
[203/414] Compiling SwiftProtobuf PathVisitor.swift
[204/414] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[205/414] Compiling NIOConcurrencyHelpers atomics.swift
[206/414] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[208/415] Compiling ArgumentParser StringExtensions.swift
[209/415] Compiling ArgumentParser SwiftExtensions.swift
[210/415] Compiling ArgumentParser Tree.swift
[211/415] Compiling ArgumentParser Name.swift
[212/415] Compiling ArgumentParser Parsed.swift
[213/415] Compiling ArgumentParser ExpressibleByArgument.swift
[214/415] Compiling ArgumentParser ParsableArguments.swift
[215/415] Compiling ArgumentParser ParsableCommand.swift
[216/415] Compiling ArgumentParser ArgumentDecoder.swift
[217/415] Compiling ArgumentParser ArgumentDefinition.swift
[218/415] Compiling ArgumentParser ArgumentSet.swift
[219/415] Compiling ArgumentParser CommandParser.swift
[220/415] Compiling ArgumentParser InputKey.swift
[221/415] Compiling ArgumentParser InputOrigin.swift
[222/415] Compiling ArgumentParser HelpCommand.swift
[223/415] Compiling ArgumentParser HelpGenerator.swift
[224/415] Compiling ArgumentParser MessageInfo.swift
[224/415] Wrapping AST for NIOConcurrencyHelpers for debugging
[226/415] Compiling ArgumentParser UsageGenerator.swift
[227/415] Compiling ArgumentParser CollectionExtensions.swift
[228/415] Compiling ArgumentParser Foundation.swift
[229/415] Compiling ArgumentParser Mutex.swift
[230/415] Compiling ArgumentParser Platform.swift
[231/415] Compiling ArgumentParser SequenceExtensions.swift
[255/415] Compiling ArgumentParser ParsedValues.swift
[256/415] Compiling ArgumentParser BashCompletionsGenerator.swift
[257/415] Compiling ArgumentParser CompletionsGenerator.swift
[258/415] Compiling ArgumentParser FishCompletionsGenerator.swift
[259/415] Compiling ArgumentParser ZshCompletionsGenerator.swift
[260/415] Compiling ArgumentParser Argument.swift
[261/415] Compiling ArgumentParser ArgumentDiscussion.swift
[262/415] Compiling ArgumentParser ArgumentHelp.swift
[263/415] Compiling ArgumentParser ParentCommand.swift
[264/415] Compiling ArgumentParser AsyncParsableCommand.swift
[265/415] Compiling ArgumentParser CommandConfiguration.swift
[266/415] Compiling ArgumentParser CommandGroup.swift
[267/415] Compiling ArgumentParser EnumerableFlag.swift
[275/421] Compiling ArgumentParser NonsenseFlagsValidator.swift
[276/421] Compiling ArgumentParser ParsableArgumentsValidation.swift
[277/421] Compiling ArgumentParser PositionalArgumentsValidator.swift
[278/421] Compiling ArgumentParser UniqueNamesValidator.swift
[279/421] Compiling SwiftProtobuf UnknownStorage.swift
[280/421] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[281/421] Compiling SwiftProtobuf Varint.swift
[282/421] Compiling SwiftProtobuf Version.swift
[283/421] Compiling SwiftProtobuf Visitor.swift
[284/421] Compiling SwiftProtobuf WireFormat.swift
[285/421] Compiling SwiftProtobuf ZigZag.swift
[286/421] Compiling SwiftProtobuf ProtoNameProviding.swift
[287/421] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[288/421] Compiling SwiftProtobuf ProtobufMap.swift
[289/421] Compiling SwiftProtobuf SelectiveVisitor.swift
[290/421] Compiling SwiftProtobuf SimpleExtensionMap.swift
[291/421] Compiling SwiftProtobuf StringUtils.swift
[292/421] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[293/421] Compiling SwiftProtobuf SwiftProtobufError.swift
[294/421] Compiling SwiftProtobuf TextFormatDecoder.swift
[295/421] Compiling SwiftProtobuf TextFormatDecodingError.swift
[296/421] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[297/421] Compiling SwiftProtobuf TextFormatEncoder.swift
[298/421] Compiling SwiftProtobuf JSONDecoder.swift
[299/421] Compiling SwiftProtobuf JSONDecodingError.swift
[300/421] Compiling SwiftProtobuf JSONDecodingOptions.swift
[301/421] Compiling SwiftProtobuf JSONEncoder.swift
[302/421] Compiling SwiftProtobuf JSONEncodingError.swift
[303/421] Compiling SwiftProtobuf JSONEncodingOptions.swift
[304/421] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[305/421] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[306/421] Compiling SwiftProtobuf JSONScanner.swift
[307/421] Compiling SwiftProtobuf MathUtils.swift
[308/421] Compiling SwiftProtobuf Message+AnyAdditions.swift
[309/421] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[322/421] Compiling ArgumentParser AsyncCompletionsValidator.swift
[323/421] Compiling ArgumentParser CodingKeyValidator.swift
[345/422] Wrapping AST for SystemPackage for debugging
[354/422] Emitting module ArgumentParser
[374/423] Wrapping AST for ArgumentParser for debugging
[376/423] Emitting module DequeModule
[377/424] Wrapping AST for DequeModule for debugging
[379/512] Compiling NIOCore AddressedEnvelope.swift
[380/512] Compiling NIOCore AsyncAwaitSupport.swift
[381/512] Compiling NIOCore AsyncChannel.swift
[382/512] Compiling NIOCore AsyncChannelHandler.swift
[383/512] Compiling NIOCore AsyncChannelInboundStream.swift
[384/512] Compiling NIOCore AsyncChannelOutboundWriter.swift
[385/512] Compiling NIOCore NIOAsyncSequenceProducer.swift
[386/512] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[387/512] Compiling NIOCore NIOAsyncWriter.swift
[388/512] Compiling NIOCore EventLoopFuture+Deprecated.swift
[389/512] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[390/512] Compiling NIOCore EventLoopFuture.swift
[391/531] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[392/531] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[393/531] Compiling NIOCore RecvByteBufferAllocator.swift
[394/531] Compiling NIOCore IPProtocol.swift
[395/531] Compiling NIOCore IntegerBitPacking.swift
[396/531] Compiling NIOCore IntegerTypes.swift
[397/536] Compiling NIOCore NIOCoreSendableMetatype.swift
[398/536] Compiling NIOCore NIODecodedAsyncSequence.swift
[399/536] Compiling NIOCore NIOLoopBound.swift
[400/536] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[401/536] Compiling NIOCore NIOScheduledCallback.swift
[402/536] Compiling NIOCore NIOSendable.swift
[403/536] Emitting module Configuration
[404/536] Compiling NIOCore Interfaces.swift
[405/536] Compiling NIOCore Linux.swift
[406/536] Compiling NIOCore MarkedCircularBuffer.swift
[407/536] Compiling NIOCore MulticastChannel.swift
[408/536] Compiling NIOCore NIOAny.swift
[409/536] Compiling NIOCore NIOCloseOnErrorHandler.swift
[425/544] Compiling NIOCore FileDescriptor.swift
[426/544] Compiling NIOCore FileHandle.swift
[427/544] Compiling NIOCore FileRegion.swift
[428/544] Compiling NIOCore GlobalSingletons.swift
[429/544] Compiling NIOCore IO.swift
[430/544] Compiling NIOCore IOData.swift
[431/544] Compiling NIOCore ByteBuffer-multi-int.swift
[432/544] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[433/544] Compiling NIOCore ByteBuffer-views.swift
[434/544] Compiling NIOCore Channel.swift
[435/544] Compiling NIOCore ChannelHandler.swift
[436/544] Compiling NIOCore ChannelHandlers.swift
[437/544] Compiling Configuration CombineLatestManyStorage.swift
[438/544] Compiling Configuration AsyncSequences.swift
[439/544] Compiling Configuration FoundationExtensions.swift
[440/544] Compiling Configuration Span.swift
[441/544] Compiling Configuration ConfigBytesFromStringDecoder.swift
[451/544] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[452/544] Compiling NIOCore SocketAddresses.swift
[453/544] Compiling NIOCore SocketOptionProvider.swift
[454/544] Compiling NIOCore SystemCallHelpers.swift
[455/544] Compiling NIOCore TimeAmount+Duration.swift
[456/544] Compiling NIOCore TypeAssistedChannelHandler.swift
[457/544] Compiling NIOCore UniversalBootstrapSupport.swift
[458/544] Compiling NIOCore Utilities.swift
[459/544] Compiling NIOCore CircularBuffer.swift
[460/544] Compiling NIOCore Codec.swift
[461/544] Compiling NIOCore ConvenienceOptionSupport.swift
[462/544] Compiling NIOCore DeadChannel.swift
[463/544] Compiling NIOCore DispatchQueue+WithFuture.swift
[464/544] Compiling NIOCore EventLoop+Deprecated.swift
[465/544] Compiling NIOCore EventLoop+SerialExecutor.swift
[466/544] Compiling NIOCore EventLoop.swift
[467/544] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[474/545] Wrapping AST for Configuration for debugging
[478/545] Compiling NIOCore ByteBuffer-aux.swift
[479/545] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[480/545] Compiling NIOCore ByteBuffer-conversions.swift
[481/545] Compiling NIOCore ByteBuffer-core.swift
[482/545] Compiling NIOCore ByteBuffer-hex.swift
[483/545] Compiling NIOCore ByteBuffer-int.swift
[484/545] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[485/545] Compiling SwiftProtobuf any.pb.swift
[486/545] Compiling SwiftProtobuf api.pb.swift
[487/545] Compiling SwiftProtobuf descriptor.pb.swift
[488/545] Compiling SwiftProtobuf duration.pb.swift
[489/545] Compiling SwiftProtobuf empty.pb.swift
[490/545] Compiling SwiftProtobuf field_mask.pb.swift
[491/545] Compiling SwiftProtobuf source_context.pb.swift
[492/545] Compiling SwiftProtobuf struct.pb.swift
[493/545] Compiling SwiftProtobuf timestamp.pb.swift
[494/545] Compiling SwiftProtobuf type.pb.swift
[495/545] Compiling SwiftProtobuf wrappers.pb.swift
[496/546] Wrapping AST for SwiftProtobuf for debugging
[498/546] Emitting module NIOCore
[526/548] Wrapping AST for NIOCore for debugging
[528/604] Emitting module NIOFoundationEssentialsCompat
[529/604] Compiling NIOFoundationEssentialsCompat Codable+ByteBuffer.swift
[530/604] Compiling NIOFoundationEssentialsCompat ByteBuffer-foundation.swift
[531/605] Wrapping AST for NIOFoundationEssentialsCompat for debugging
[533/605] Emitting module NIOEmbedded
[534/605] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[535/605] Compiling NIOEmbedded AsyncTestingChannel.swift
[536/605] Compiling NIOEmbedded Embedded.swift
[537/606] Wrapping AST for NIOEmbedded for debugging
[539/606] Compiling NIOPosix HappyEyeballs.swift
[540/606] Compiling NIOPosix IO.swift
[541/606] Compiling NIOPosix IntegerBitPacking.swift
[542/606] Compiling NIOPosix IntegerTypes.swift
[543/606] Compiling NIOPosix Linux.swift
[544/606] Compiling NIOPosix LinuxCPUSet.swift
[545/606] Compiling NIOPosix LinuxUring.swift
[546/613] Emitting module NIOPosix
[547/613] Compiling NIOPosix BSDSocketAPICommon.swift
[548/613] Compiling NIOPosix BSDSocketAPIPosix.swift
[549/613] Compiling NIOPosix BSDSocketAPIWindows.swift
[550/613] Compiling NIOPosix BaseSocket.swift
[551/613] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[552/613] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[553/613] Compiling NIOPosix BaseSocketChannel.swift
[554/613] Compiling NIOPosix Thread.swift
[555/613] Compiling NIOPosix ThreadPosix.swift
[556/613] Compiling NIOPosix ThreadWindows.swift
[557/613] Compiling NIOPosix Utilities.swift
[558/613] Compiling NIOPosix VsockAddress.swift
[559/613] Compiling NIOPosix VsockChannelEvents.swift
[560/613] Compiling NIOPosix Windows.swift
[561/613] Compiling NIOPosix Selectable.swift
[562/613] Compiling NIOPosix SelectableChannel.swift
[563/613] Compiling NIOPosix SelectableEventLoop.swift
[564/613] Compiling NIOPosix SelectorEpoll.swift
[565/613] Compiling NIOPosix SelectorGeneric.swift
[566/613] Compiling NIOPosix SelectorKqueue.swift
[567/613] Compiling NIOPosix SelectorUring.swift
[568/613] Compiling NIOPosix BaseStreamSocketChannel.swift
[569/613] Compiling NIOPosix Bootstrap.swift
[570/613] Compiling NIOPosix ControlMessage.swift
[571/613] Compiling NIOPosix DatagramVectorReadManager.swift
[572/613] Compiling NIOPosix Errors+Any.swift
[573/613] Compiling NIOPosix FileDescriptor.swift
[574/613] Compiling NIOPosix GetaddrinfoResolver.swift
[575/613] Compiling NIOPosix PipeChannel.swift
[576/613] Compiling NIOPosix PipePair.swift
[577/613] Compiling NIOPosix Pool.swift
[578/613] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[579/613] Compiling NIOPosix PosixSingletons.swift
[580/613] Compiling NIOPosix RawSocketBootstrap.swift
[581/613] Compiling NIOPosix Resolver.swift
[582/613] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[583/613] Compiling NIOPosix NIOPosixSendableMetatype.swift
[584/613] Compiling NIOPosix NIORandomizedDNSResolver.swift
[585/613] Compiling NIOPosix NIOThreadPool.swift
[586/613] Compiling NIOPosix NonBlockingFileIO.swift
[587/613] Compiling NIOPosix PendingDatagramWritesManager.swift
[588/613] Compiling NIOPosix PendingWritesManager.swift
[589/613] Compiling NIOPosix SelectorWSAPoll.swift
[590/613] Compiling NIOPosix ServerSocket.swift
[591/613] Compiling NIOPosix Socket.swift
[592/613] Compiling NIOPosix SocketChannel.swift
[593/613] Compiling NIOPosix SocketProtocols.swift
[594/613] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[595/613] Compiling NIOPosix System.swift
[596/614] Wrapping AST for NIOPosix for debugging
[598/652] Compiling NIO Exports.swift
[599/652] Emitting module NIO
[600/653] Wrapping AST for NIO for debugging
[602/674] Compiling NIOFoundationCompat Exports.swift
[603/674] Emitting module NIOFoundationCompat
[604/674] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[605/674] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[606/675] Emitting module _NIOFileSystem
[607/680] Wrapping AST for NIOFoundationCompat for debugging
[609/680] Compiling NIOHTTP1 HTTPServerRequestMethodQueue.swift
[610/680] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[611/680] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[612/680] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[613/680] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[614/680] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[615/680] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[618/682] Compiling _NIOFileSystem Utilities.swift
[619/682] Compiling _NIOFileSystem NIOFilePath.swift
[620/682] Compiling _NIOFileSystem NIOFileSystemSendableMetatype.swift
[621/682] Compiling _NIOFileSystem OpenOptions.swift
[622/682] Compiling _NIOFileSystem String+FileSystem.swift
[626/682] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[627/682] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[628/682] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[629/682] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[630/682] Compiling _NIOFileSystem FileSystemError+Syscall.swift
[631/682] Compiling _NIOFileSystem FileSystemError.swift
[632/682] Compiling _NIOFileSystem FileSystemProtocol.swift
[633/682] Compiling _NIOFileSystem FileType.swift
[634/682] Compiling _NIOFileSystem IOStrategy.swift
[635/682] Compiling NIOHTTP1 ByteCollectionUtils.swift
[636/682] Compiling NIOHTTP1 HTTPDecoder.swift
[637/682] Compiling NIOHTTP1 HTTPEncoder.swift
[640/682] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[641/682] Compiling NIOHTTP1 HTTPTypes.swift
[647/682] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[648/682] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[652/682] Emitting module NIOHTTP1
[653/683] Compiling _NIOFileSystem Mocking.swift
[654/683] Compiling _NIOFileSystem Syscall.swift
[655/683] Compiling _NIOFileSystem Syscalls.swift
[656/683] Compiling _NIOFileSystem SystemPackage+Windows.swift
[657/683] Compiling _NIOFileSystem SystemFileHandle.swift
[658/683] Wrapping AST for NIOHTTP1 for debugging
[660/701] Compiling NIOExtras DebugInboundEventsHandler.swift
[661/701] Compiling NIOExtras DebugOutboundEventsHandler.swift
[662/701] Compiling NIOExtras FixedLengthFrameDecoder.swift
[663/703] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[664/703] Compiling NIOExtras NIOExtrasError.swift
[665/703] Compiling NIOExtras RequestResponseHandler.swift
[666/703] Compiling NIOExtras RequestResponseHandlers+State.swift
[667/703] Compiling NIOExtras NIOLengthFieldBitLength.swift
[668/703] Compiling NIOExtras NIORequestIdentifiable.swift
[669/703] Compiling NIOExtras PCAPRingBuffer.swift
[670/703] Compiling NIOExtras QuiescingHelper.swift
[671/703] Emitting module NIOExtras
[672/703] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[673/703] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[674/703] Compiling NIOExtras JSONRPCFraming.swift
[675/703] Compiling _NIOFileSystem FileChunks.swift
[676/703] Compiling _NIOFileSystem FileHandle.swift
[677/703] Compiling _NIOFileSystem FileHandleProtocol.swift
[678/703] Compiling _NIOFileSystem FileInfo.swift
[679/703] Compiling _NIOFileSystem FileSystem.swift
[682/703] Compiling NIOExtras RequestResponseWithIDHandler.swift
[683/703] Compiling NIOExtras WritePCAPHandler.swift
[684/703] Compiling _NIOFileSystem FileDescriptor+Syscalls.swift
[685/704] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[686/704] Compiling NIOExtras LengthFieldPrepender.swift
[687/704] Compiling NIOExtras LineBasedFrameDecoder.swift
[688/704] Wrapping AST for _NIOFileSystem for debugging
[690/706] Compiling NIOFileSystem Exports.swift
[691/706] Emitting module NIOFileSystem
[692/707] Wrapping AST for NIOFileSystem for debugging
[694/709] Emitting module ProfileRecorderHelpers
[695/709] Compiling ProfileRecorderHelpers Helpers.swift
[696/710] Wrapping AST for ProfileRecorderHelpers for debugging
[700/715] Wrapping AST for NIOExtras 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] Compiling ProfileRecorderPprofFormat profile.pb.swift
[707/716] Emitting module ProfileRecorderPprofFormat
[708/717] Wrapping AST for ProfileRecorderPprofFormat for debugging
[710/760] Compiling _ProfileRecorderSampleConversion MemoryReader.swift
[711/760] Compiling _ProfileRecorderSampleConversion Bitset.swift
[712/760] Compiling _ProfileRecorderSampleConversion FunctionInfo.swift
[713/760] Compiling _ProfileRecorderSampleConversion Hashes.swift
[714/760] Compiling _ProfileRecorderSampleConversion ISO8859-1.swift
[715/760] Compiling _ProfileRecorderSampleConversion Module.swift
[716/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>
[717/765] Compiling _ProfileRecorderSampleConversion Coders.swift
[718/765] Compiling _ProfileRecorderSampleConversion CoreSymbolication.swift
[719/765] Compiling _ProfileRecorderSampleConversion CoreSymbolicationHelper.swift
[720/765] Compiling _ProfileRecorderSampleConversion CoreSymbolicationSymboliser.swift
[721/765] Compiling _ProfileRecorderSampleConversion FakeSymbolizer.swift
[722/765] Compiling _ProfileRecorderSampleConversion HelperFunctions.swift
[723/765] Compiling _ProfileRecorderSampleConversion MultiStreamFile.swift
[724/765] Compiling _ProfileRecorderSampleConversion NameTableNI.swift
[725/765] Compiling _ProfileRecorderSampleConversion PDBFile+SymbolSource.swift
[726/765] Compiling _ProfileRecorderSampleConversion PDBFile.swift
[727/765] Compiling _ProfileRecorderSampleConversion SectionInfo.swift
[728/765] Compiling _ProfileRecorderSampleConversion String+EncodeAs.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 Utils.swift
[736/765] Compiling _ProfileRecorderSampleConversion FlamegraphCollapsed.swift
[737/765] Compiling _ProfileRecorderSampleConversion PerfScript.swift
[738/765] Compiling _ProfileRecorderSampleConversion Pprof.swift
[739/765] Compiling _ProfileRecorderSampleConversion RendererTypes.swift
[740/765] Compiling _ProfileRecorderSampleConversion ProfileRecorderAddtions+Types.swift
[741/765] Compiling _ProfileRecorderSampleConversion Windows1252.swift
[742/765] Compiling _ProfileRecorderSampleConversion PDBCache.swift
[743/765] Compiling _ProfileRecorderSampleConversion PeCoff.swift
[744/765] Compiling _ProfileRecorderSampleConversion PeImageCache.swift
[745/765] Compiling _ProfileRecorderSampleConversion Registers.swift
[746/765] Compiling _ProfileRecorderSampleConversion SymbolLocator.swift
[747/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. */
[748/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. */
[749/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. */
[750/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. */
[751/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. */
[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 LLVMSymbolizer.swift
[761/774] Compiling swipr_sample_conv LLVMStackFrameEncoderHandler.swift
[762/774] Compiling swipr_sample_conv LLVMOutputParserHandler.swift
[763/774] Compiling swipr_sample_conv LLVMJSONOutputParserHandler.swift
[764/774] Emitting module swipr_sample_conv
[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/775] Linking swipr-sample-conv
[772/776] Wrapping AST for ProfileRecorderServer for debugging
[774/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. */
[775/778] Emitting module swipr_mini_demo
[776/779] Wrapping AST for swipr-mini-demo for debugging
[777/779] Write Objects.LinkFileList
[778/779] Linking swipr-mini-demo
Build complete! (55.49s)
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.