Build Information
Successful build of swift-profile-recorder, reference main (45b2e7), with Swift 6.3 for macOS (SPM) on 20 Nov 2026 17:37:44 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build 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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/apple/swift-profile-recorder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/67] Write sources
[7/67] Write swipr-sample-conv-entitlement.plist
[8/67] Write sources
[12/67] Write swipr-mini-demo-entitlement.plist
[12/67] Write sources
[14/67] Copying PrivacyInfo.xcprivacy
[14/67] Write sources
[17/67] Copying PrivacyInfo.xcprivacy
[17/67] Write sources
[35/67] Compiling CNIOWindows shim.c
[36/67] Compiling CProfileRecorderDarwin empty.c
[37/67] Compiling CProfileRecorderSampler os_dep_linux.c
[38/67] Compiling CNIOWindows WSAStartup.c
[39/67] Compiling CNIOWASI CNIOWASI.c
[40/67] Compiling CNIOOpenBSD shim.c
[41/67] Compiling CProfileRecorderSwiftELF empty.c
[42/67] Write swift-version-69A768CDF2A0BEE1.txt
[43/67] Compiling CNIOLinux shim.c
[44/67] Compiling CNIOLinux liburing_shims.c
[45/73] Compiling _AtomicsShims.c
[46/73] Compiling CSystem shims.c
[47/73] Compiling CNIOLLHTTP c_nio_http.c
[48/73] Compiling CNIOPosix event_loop_id.c
[49/236] Compiling CNIOLLHTTP c_nio_llhttp.c
[50/236] Compiling CNIOLLHTTP c_nio_api.c
[51/236] Compiling CNIOFreeBSD shim.c
[52/236] Compiling CProfileRecorderSampler sampler.c
[53/236] Compiling CProfileRecorderSampler os_dep_darwin.c
[54/236] Compiling CProfileRecorderSampler fp_unwinder.c
[55/236] Write sources
[57/255] Compiling CNIODarwin shim.c
[59/255] Compiling Atomics AtomicStorage.swift
[60/255] Compiling Atomics OptionalRawRepresentable.swift
[61/255] Compiling Atomics RawRepresentable.swift
[62/255] Compiling Atomics Primitives.native.swift
[63/255] Compiling Atomics AtomicInteger.swift
[64/255] Compiling Atomics AtomicOptionalWrappable.swift
[65/255] Compiling Atomics AtomicReference.swift
[66/260] Compiling Logging LoggingSystem.swift
[67/261] Emitting module _NIOBase64
[68/261] Compiling _NIOBase64 Base64.swift
[68/261] Write sources
[70/261] Emitting module InternalCollectionsUtilities
[71/261] Compiling Atomics ManagedAtomicLazyReference.swift
[72/261] Compiling Atomics UnsafeAtomic.swift
[73/261] Compiling Atomics DoubleWord.swift
[74/261] Compiling Atomics AtomicBool.swift
[75/261] Compiling Atomics IntegerConformances.swift
[76/261] Compiling Atomics PointerConformances.swift
[77/261] Compiling Atomics ManagedAtomic.swift
[78/261] Compiling Atomics UnsafeAtomicLazyReference.swift
[79/261] Compiling Atomics IntegerOperations.swift
[80/261] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[81/261] Compiling InternalCollectionsUtilities _SortedCollection.swift
[82/261] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[83/261] Compiling Logging Logger.swift
[84/261] Compiling Atomics AtomicValue.swift
[85/261] Compiling Atomics AtomicMemoryOrderings.swift
[94/262] Compiling SwiftProtobuf BytecodeInterpreter.swift
[95/262] Compiling SwiftProtobuf BytecodeReader.swift
[96/262] Compiling SwiftProtobuf CustomJSONCodable.swift
[99/262] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[100/262] Compiling SwiftProtobuf Decoder.swift
[101/262] Compiling SwiftProtobuf DoubleParser.swift
[102/262] Compiling SwiftProtobuf Enum.swift
[103/262] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[104/262] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[105/262] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[106/262] Compiling Logging MetadataProvider.swift
[107/266] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[108/266] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[109/266] Emitting module SpanPreview
[110/266] Compiling SpanPreview InputSpan.swift
[111/266] Compiling Logging Logger+Attributes.swift
[112/266] Compiling Logging Logger+With.swift
[115/266] Compiling Atomics Unmanaged extensions.swift
[116/266] Compiling Logging LogEvent.swift
[117/266] Compiling Logging Locks.swift
[118/266] Compiling Logging SwiftLogNoOpLogHandler.swift
[119/266] Emitting module Logging
[122/266] Compiling Logging LogHandler.swift
[123/309] Emitting module _NIODataStructures
[124/309] Compiling _NIODataStructures PriorityQueue.swift
[125/309] Compiling _NIODataStructures Heap.swift
[126/309] Compiling _NIODataStructures _TinyArray.swift
[127/309] Compiling DequeModule UniqueDeque+Initializers.swift
[128/309] Compiling DequeModule UniqueDeque+Insertions.swift
[129/309] Compiling DequeModule Deque._UnsafeHandle.swift
[130/312] Compiling DequeModule Deque.swift
[131/312] Compiling DequeModule _DequeBuffer.swift
[132/312] Compiling DequeModule _DequeBufferHeader.swift
[133/312] Compiling DequeModule RigidDeque+Append.swift
[134/312] Compiling DequeModule UniqueDeque+Consumption.swift
[135/312] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[136/312] Compiling DequeModule UniqueDeque+Deprecations.swift
[137/312] Compiling DequeModule UniqueDeque+Descriptions.swift
[138/316] Emitting module ArgumentParserToolInfo
[139/316] Compiling ArgumentParserToolInfo ToolInfo.swift
[140/316] Compiling DequeModule UniqueDeque+Iterable.swift
[141/316] Compiling DequeModule UniqueDeque+Prepend.swift
[142/316] Compiling DequeModule UniqueDeque+Removals.swift
[143/316] Compiling DequeModule UniqueDeque+Replacements.swift
[144/316] Compiling DequeModule RigidDeque+Hashable.swift
[145/316] Compiling DequeModule RigidDeque+Initializers.swift
[146/316] Compiling DequeModule RigidDeque+Insertions.swift
[147/316] Compiling DequeModule RigidDeque+Iterable.swift
[148/316] Compiling DequeModule RigidDeque+Prepend.swift
[149/364] Compiling ArgumentParser AsyncCompletionsValidator.swift
[150/364] Compiling ArgumentParser BashCompletionsGenerator.swift
[151/364] Compiling ArgumentParser CompletionsGenerator.swift
[152/364] Compiling ArgumentParser Flag.swift
[153/364] Compiling ArgumentParser NameSpecification.swift
[154/364] Compiling ArgumentParser CompletionKind.swift
[155/364] Compiling ArgumentParser Errors.swift
[156/364] Compiling ArgumentParser ArgumentHelp.swift
[157/364] Compiling ArgumentParser ArgumentVisibility.swift
[158/364] Compiling ArgumentParser Mutex.swift
[159/364] Compiling ArgumentParser Platform.swift
[160/364] Compiling ArgumentParser Option.swift
[161/364] Compiling ArgumentParser OptionGroup.swift
[162/364] Compiling ArgumentParser ParentCommand.swift
[163/364] Compiling ArgumentParser ExpressibleByArgument.swift
[164/364] Compiling ArgumentParser ParsableArguments.swift
[165/364] Compiling ArgumentParser ParsableCommand.swift
[166/364] Compiling ArgumentParser SequenceExtensions.swift
[167/364] Compiling ArgumentParser StringExtensions.swift
[168/364] Compiling ArgumentParser Parsed.swift
[169/364] Compiling ArgumentParser ParsedValues.swift
[170/364] Compiling ArgumentParser ParserError.swift
[171/364] Compiling ArgumentParser SplitArguments.swift
[172/364] Compiling ArgumentParser DumpHelpGenerator.swift
[173/364] Compiling ArgumentParser HelpCommand.swift
[174/364] Compiling ArgumentParser HelpGenerator.swift
[175/364] Compiling ArgumentParser MessageInfo.swift
[176/364] Compiling ArgumentParser CommandGroup.swift
[177/364] Compiling ArgumentParser EnumerableFlag.swift
[178/364] Compiling ArgumentParser AsyncParsableCommand.swift
[179/364] Compiling ArgumentParser CommandConfiguration.swift
[180/364] Compiling ArgumentParser InputOrigin.swift
[181/364] Compiling ArgumentParser Name.swift
[182/364] Compiling ArgumentParser SwiftExtensions.swift
[183/364] Compiling ArgumentParser Tree.swift
[187/364] Emitting module Atomics
[188/364] Emitting module ArgumentParser
[189/369] Compiling ArgumentParser CodingKeyValidator.swift
[190/369] Compiling ArgumentParser NonsenseFlagsValidator.swift
[191/369] Compiling ArgumentParser ParsableArgumentsValidation.swift
[192/369] Compiling ArgumentParser PositionalArgumentsValidator.swift
[193/369] Compiling ArgumentParser UniqueNamesValidator.swift
[194/369] Compiling ArgumentParser ArgumentDecoder.swift
[195/369] Compiling ArgumentParser ArgumentDefinition.swift
[196/369] Compiling ArgumentParser ArgumentSet.swift
[197/369] Compiling ArgumentParser CommandParser.swift
[198/369] Emitting module DequeModule
[203/369] Compiling ArgumentParser Foundation.swift
[207/369] Emitting module SystemPackage
[214/369] Compiling ArgumentParser UsageGenerator.swift
[215/369] Compiling ArgumentParser CollectionExtensions.swift
[218/369] Compiling ArgumentParser FishCompletionsGenerator.swift
[219/369] Compiling ArgumentParser ZshCompletionsGenerator.swift
[220/369] Compiling ArgumentParser Argument.swift
[221/369] Compiling ArgumentParser ArgumentDiscussion.swift
[251/369] Compiling ArgumentParser InputKey.swift
[252/369] Emitting module SwiftProtobuf
[266/378] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[267/378] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[268/378] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[269/378] Compiling SwiftProtobuf Message.swift
[270/378] Compiling SwiftProtobuf MessageExtension.swift
[271/378] Compiling SwiftProtobuf NameMap.swift
[272/378] Compiling SwiftProtobuf PathDecoder.swift
[323/378] Compiling SwiftProtobuf duration.pb.swift
[324/378] Compiling SwiftProtobuf empty.pb.swift
[325/378] Compiling SwiftProtobuf field_mask.pb.swift
[326/378] Compiling SwiftProtobuf source_context.pb.swift
[327/378] Compiling SwiftProtobuf struct.pb.swift
[328/378] Compiling SwiftProtobuf timestamp.pb.swift
[329/378] Compiling SwiftProtobuf type.pb.swift
[330/378] Compiling SwiftProtobuf wrappers.pb.swift
[331/378] Compiling SwiftProtobuf resource_bundle_accessor.swift
[331/378] Compiling c-nioatomics.c
[333/378] Compiling SwiftProtobuf PathVisitor.swift
[334/378] Compiling SwiftProtobuf ProtoNameProviding.swift
[335/378] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[336/378] Compiling SwiftProtobuf ProtobufMap.swift
[337/378] Compiling SwiftProtobuf SelectiveVisitor.swift
[338/378] Compiling SwiftProtobuf SimpleExtensionMap.swift
[339/378] Compiling SwiftProtobuf StringUtils.swift
[340/378] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[341/378] Compiling SwiftProtobuf SwiftProtobufError.swift
[342/378] Compiling SwiftProtobuf TextFormatDecoder.swift
[343/378] Compiling SwiftProtobuf TextFormatDecodingError.swift
[344/378] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[345/378] Compiling SwiftProtobuf TextFormatEncoder.swift
[346/378] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[347/378] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[348/378] Compiling SwiftProtobuf TextFormatScanner.swift
[349/378] Compiling SwiftProtobuf TimeUtils.swift
[350/378] Compiling SwiftProtobuf UnknownStorage.swift
[351/378] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[352/378] Compiling SwiftProtobuf Varint.swift
[353/378] Compiling SwiftProtobuf Version.swift
[354/378] Compiling SwiftProtobuf Visitor.swift
[355/378] Compiling SwiftProtobuf WireFormat.swift
[356/378] Compiling SwiftProtobuf ZigZag.swift
[357/378] Compiling SwiftProtobuf any.pb.swift
[358/378] Compiling SwiftProtobuf api.pb.swift
[359/378] Compiling SwiftProtobuf descriptor.pb.swift
[359/378] Compiling c-atomics.c
[361/385] Emitting module NIOConcurrencyHelpers
[362/385] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[363/385] Compiling NIOConcurrencyHelpers NIOLock.swift
[364/385] Compiling NIOConcurrencyHelpers lock.swift
[365/385] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[366/385] Compiling NIOConcurrencyHelpers atomics.swift
[367/385] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[368/450] Compiling NIOCore MarkedCircularBuffer.swift
[369/450] Compiling NIOCore MulticastChannel.swift
[370/450] Compiling NIOCore NIOAny.swift
[371/450] Compiling NIOCore NIOCloseOnErrorHandler.swift
[372/450] Compiling NIOCore NIOCoreSendableMetatype.swift
[373/450] Compiling NIOCore NIODecodedAsyncSequence.swift
[374/450] Compiling NIOCore NIOLoopBound.swift
[375/457] Compiling NIOCore Interfaces.swift
[376/457] Compiling NIOCore Linux.swift
[377/457] Compiling NIOCore EventLoopFuture+Deprecated.swift
[378/457] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[379/457] Compiling NIOCore EventLoopFuture.swift
[380/457] Compiling NIOCore FileDescriptor.swift
[381/457] Compiling NIOCore FileHandle.swift
[382/457] Compiling NIOCore FileRegion.swift
[383/457] Compiling NIOCore IOData.swift
[384/457] Compiling NIOCore IPProtocol.swift
[385/457] Compiling NIOCore IntegerBitPacking.swift
[386/457] Compiling NIOCore IntegerTypes.swift
[387/457] Compiling NIOCore IO.swift
[394/457] Compiling NIOCore AddressedEnvelope.swift
[395/457] Compiling NIOCore AsyncAwaitSupport.swift
[396/457] Compiling NIOCore AsyncChannel.swift
[397/457] Compiling NIOCore AsyncChannelHandler.swift
[398/457] Compiling NIOCore AsyncChannelInboundStream.swift
[399/457] Compiling NIOCore AsyncChannelOutboundWriter.swift
[400/457] Compiling NIOCore NIOAsyncSequenceProducer.swift
[401/457] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[408/457] Compiling NIOCore GlobalSingletons.swift
[409/501] Compiling Configuration CLIKeyEncoder.swift
[410/501] Compiling Configuration ConfigKeyEncoder.swift
[411/501] Compiling Configuration DotSeparatorKeyDecoder.swift
[412/501] Compiling Configuration SeparatorKeyEncoder.swift
[413/501] Compiling Configuration MultiProvider.swift
[414/505] Compiling Configuration CLIArgumentParser.swift
[415/505] Compiling Configuration CLISnapshot.swift
[416/505] Compiling Configuration CommandLineArgumentsProvider.swift
[417/505] Compiling Configuration EnvironmentFileParser.swift
[418/505] Compiling Configuration EnvironmentKeyEncoder.swift
[419/505] Compiling Configuration JSONSnapshot.swift
[420/505] Compiling Configuration PropertyListSnapshot.swift
[421/505] Compiling Configuration ReloadingFileProvider.swift
[422/505] Compiling Configuration ReloadingFileProviderMetrics.swift
[423/505] Compiling Configuration YAMLSnapshot.swift
[424/505] Emitting module Configuration
[425/505] Compiling Configuration InMemoryProvider.swift
[426/505] Compiling Configuration MutableInMemoryProvider.swift
[427/505] Compiling Configuration ConfigProvider+Operators.swift
[428/505] Compiling Configuration KeyMappingProvider.swift
[429/505] Compiling Configuration SecretsSpecifier.swift
[430/505] Compiling Configuration AsyncCombineLatestManySequence.swift
[431/505] Compiling Configuration CombineLatestManyStateMachine.swift
[432/505] Compiling Configuration CombineLatestManyStorage.swift
[433/505] Compiling Configuration ConfigSnapshotReader+methods.swift
[434/505] Compiling Configuration ConfigSnapshotReader.swift
[435/505] Compiling Configuration Deprecations.swift
[436/505] Compiling Configuration ExpressibleByConfigInt.swift
[437/505] Compiling Configuration ExpressibleByConfigString.swift
[438/505] Compiling Configuration AccessReporter.swift
[439/505] Compiling Configuration AccessLogger.swift
[440/505] Compiling Configuration FileAccessLogger.swift
[441/505] Compiling Configuration ConfigContext.swift
[442/505] Compiling Configuration ConfigKey.swift
[443/505] Compiling Configuration AsyncSequences.swift
[444/505] Compiling Configuration FoundationExtensions.swift
[445/505] Compiling Configuration Span.swift
[446/505] Compiling Configuration ConfigBytesFromStringDecoder.swift
[447/505] Compiling NIOCore SocketAddresses.swift
[448/505] Compiling NIOCore SocketOptionProvider.swift
[449/505] Compiling NIOCore SystemCallHelpers.swift
[450/505] Compiling NIOCore TimeAmount+Duration.swift
[451/505] Compiling NIOCore TypeAssistedChannelHandler.swift
[452/505] Compiling NIOCore UniversalBootstrapSupport.swift
[453/505] Compiling NIOCore Utilities.swift
[458/505] Compiling NIOCore EventLoop+SerialExecutor.swift
[459/505] Compiling NIOCore EventLoop.swift
[460/505] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[475/505] Compiling Configuration ConfigProvider.swift
[476/505] Compiling Configuration ConfigProviderHelpers.swift
[477/505] Compiling Configuration ConfigReader+internalHelpers.swift
[478/505] Compiling Configuration ConfigReader+methods.swift
[479/505] Compiling Configuration ConfigReader.swift
[480/505] Compiling Configuration EnvironmentVariablesProvider.swift
[481/505] Compiling Configuration CommonProviderFileSystem.swift
[482/505] Compiling Configuration DirectoryFilesProvider.swift
[483/505] Compiling Configuration FileProvider.swift
[484/505] Compiling Configuration FileProviderSnapshot.swift
[485/505] Compiling NIOCore ChannelHandler.swift
[486/505] Compiling NIOCore ChannelHandlers.swift
[487/505] Compiling NIOCore ChannelInvoker.swift
[488/505] Compiling NIOCore ChannelOption.swift
[489/505] Compiling NIOCore ChannelPipeline.swift
[490/505] Compiling NIOCore CircularBuffer.swift
[491/505] Compiling NIOCore Codec.swift
[492/505] Compiling NIOCore ByteBuffer-hex.swift
[493/505] Compiling NIOCore ByteBuffer-int.swift
[494/505] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[495/505] Compiling NIOCore ByteBuffer-multi-int.swift
[496/505] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[497/505] Compiling NIOCore ByteBuffer-views.swift
[498/505] Compiling NIOCore Channel.swift
[499/505] Emitting module NIOCore
[500/565] Compiling NIOFoundationEssentialsCompat Codable+ByteBuffer.swift
[501/565] Compiling NIOEmbedded Embedded.swift
[502/565] Compiling NIOEmbedded AsyncTestingChannel.swift
[503/565] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[504/565] Emitting module NIOEmbedded
[505/565] Emitting module NIOFoundationEssentialsCompat
[506/565] Compiling NIOFoundationEssentialsCompat ByteBuffer-foundation.swift
[507/565] Compiling NIOPosix Linux.swift
[508/565] Compiling NIOPosix LinuxCPUSet.swift
[509/565] Compiling NIOPosix LinuxUring.swift
[510/565] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[511/565] Compiling NIOPosix NIOPosixSendableMetatype.swift
[512/565] Compiling NIOPosix NIORandomizedDNSResolver.swift
[513/570] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[514/570] Compiling NIOPosix System.swift
[515/570] Compiling NIOPosix Thread.swift
[516/570] Compiling NIOPosix ThreadPosix.swift
[517/570] Compiling NIOPosix ThreadWindows.swift
[518/570] Compiling NIOPosix Pool.swift
[519/570] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[520/570] Compiling NIOPosix PosixSingletons.swift
[521/570] Compiling NIOPosix RawSocketBootstrap.swift
[522/570] Compiling NIOPosix Resolver.swift
[523/570] Compiling NIOPosix Selectable.swift
[524/570] Compiling NIOPosix FileDescriptor.swift
[525/570] Compiling NIOPosix GetaddrinfoResolver.swift
[526/570] Compiling NIOPosix HappyEyeballs.swift
[527/570] Compiling NIOPosix IO.swift
[528/570] Compiling NIOPosix IntegerBitPacking.swift
[529/570] Compiling NIOPosix IntegerTypes.swift
[530/570] Compiling NIOPosix Utilities.swift
[531/570] Compiling NIOPosix VsockAddress.swift
[532/570] Compiling NIOPosix VsockChannelEvents.swift
[533/570] Compiling NIOPosix Windows.swift
[534/570] Compiling NIOPosix resource_bundle_accessor.swift
[535/570] Compiling NIOPosix SelectableChannel.swift
[536/570] Compiling NIOPosix SelectableEventLoop.swift
[537/570] Compiling NIOPosix SelectorEpoll.swift
[538/570] Compiling NIOPosix SelectorGeneric.swift
[539/570] Compiling NIOPosix SelectorKqueue.swift
[540/570] Compiling NIOPosix SelectorUring.swift
[541/570] Emitting module NIOPosix
[542/570] Compiling NIOPosix BaseSocketChannel.swift
[543/570] Compiling NIOPosix BaseStreamSocketChannel.swift
[544/570] Compiling NIOPosix Bootstrap.swift
[545/570] Compiling NIOPosix ControlMessage.swift
[546/570] Compiling NIOPosix DatagramVectorReadManager.swift
[547/570] Compiling NIOPosix Errors+Any.swift
[548/570] Compiling NIOPosix BSDSocketAPICommon.swift
[549/570] Compiling NIOPosix BSDSocketAPIPosix.swift
[550/570] Compiling NIOPosix BSDSocketAPIWindows.swift
[551/570] Compiling NIOPosix BaseSocket.swift
[552/570] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[553/570] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[554/570] Compiling NIOPosix NIOThreadPool.swift
[555/570] Compiling NIOPosix NonBlockingFileIO.swift
[556/570] Compiling NIOPosix PendingDatagramWritesManager.swift
[557/570] Compiling NIOPosix PendingWritesManager.swift
[558/570] Compiling NIOPosix PipeChannel.swift
[559/570] Compiling NIOPosix PipePair.swift
[560/570] Compiling NIOPosix SelectorWSAPoll.swift
[561/570] Compiling NIOPosix ServerSocket.swift
[562/570] Compiling NIOPosix Socket.swift
[563/570] Compiling NIOPosix SocketChannel.swift
[564/570] Compiling NIOPosix SocketProtocols.swift
[565/610] Emitting module NIO
[566/610] Compiling NIO Exports.swift
[567/632] Compiling _NIOFileSystem ParallelRemoval.swift
[568/632] Compiling _NIOFileSystem String+UnsafeUnititializedCapacity.swift
[569/632] Compiling _NIOFileSystem CInterop.swift
[570/632] Compiling _NIOFileSystem Errno.swift
[571/636] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[572/636] Compiling NIOFoundationCompat Exports.swift
[573/636] Emitting module _NIOFileSystem
[574/636] Emitting module NIOFoundationCompat
[575/636] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[576/636] Compiling NIOHTTP1 ByteCollectionUtils.swift
[577/636] Compiling NIOHTTP1 HTTPDecoder.swift
[578/636] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[579/636] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[580/636] Compiling NIOHTTP1 HTTPEncoder.swift
[581/636] Compiling _NIOFileSystem NIOFileSystemSendableMetatype.swift
[582/636] Compiling _NIOFileSystem OpenOptions.swift
[583/636] Compiling _NIOFileSystem String+FileSystem.swift
[584/636] Compiling _NIOFileSystem resource_bundle_accessor.swift
[585/636] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[586/636] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[587/636] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[589/637] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[590/637] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[591/637] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[592/637] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[593/637] Compiling NIOHTTP1 HTTPServerRequestMethodQueue.swift
[594/637] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[596/637] Compiling NIOHTTP1 HTTPTypes.swift
[597/637] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[598/637] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[599/637] Compiling _NIOFileSystem BufferedOrAnyStream.swift
[600/637] Compiling _NIOFileSystem FileDescriptor+Syscalls.swift
[601/637] Compiling _NIOFileSystem Mocking.swift
[602/637] Compiling _NIOFileSystem Syscall.swift
[603/637] Compiling _NIOFileSystem Syscalls.swift
[604/637] Compiling _NIOFileSystem BufferedStream.swift
[605/637] Compiling _NIOFileSystem Cancellation.swift
[606/637] Compiling _NIOFileSystem TokenBucket.swift
[607/637] Compiling _NIOFileSystem ParallelDirCopy.swift
[620/637] Emitting module NIOHTTP1
[623/637] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[624/656] Compiling _NIOFileSystem FileInfo.swift
[625/656] Compiling _NIOFileSystem FileSystem.swift
[626/656] Compiling _NIOFileSystem FileSystemError+Syscall.swift
[627/656] Compiling _NIOFileSystem FileSystemError.swift
[628/656] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[629/656] Compiling NIOExtras JSONRPCFraming.swift
[630/657] Compiling NIOExtras RequestResponseHandlers+State.swift
[631/657] Compiling NIOExtras RequestResponseWithIDHandler.swift
[632/657] Compiling NIOExtras QuiescingHelper.swift
[633/657] Compiling NIOExtras RequestResponseHandler.swift
[634/657] Compiling NIOExtras NIORequestIdentifiable.swift
[635/657] Compiling NIOExtras PCAPRingBuffer.swift
[636/657] Emitting module NIOExtras
[637/657] Compiling NIOExtras NIOExtrasError.swift
[638/657] Compiling NIOExtras NIOLengthFieldBitLength.swift
[639/657] Compiling NIOExtras DebugInboundEventsHandler.swift
[640/657] Compiling NIOExtras DebugOutboundEventsHandler.swift
[641/657] Compiling NIOExtras LineBasedFrameDecoder.swift
[642/657] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[643/657] Compiling NIOExtras FixedLengthFrameDecoder.swift
[644/657] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[645/657] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[646/657] Compiling NIOExtras LengthFieldPrepender.swift
[647/657] Compiling NIOExtras WritePCAPHandler.swift
[648/657] Compiling _NIOFileSystem ByteCount.swift
[649/657] Compiling _NIOFileSystem Convenience.swift
[650/657] Compiling _NIOFileSystem DirectoryEntries.swift
[651/657] Compiling _NIOFileSystem DirectoryEntry.swift
[652/659] Emitting module NIOFileSystem
[653/659] Compiling NIOFileSystem Exports.swift
[654/661] Compiling ProfileRecorderHelpers Helpers.swift
[655/661] Emitting module ProfileRecorderHelpers
[656/665] Emitting module ProfileRecorderPprofFormat
[657/665] Compiling ProfileRecorderPprofFormat profile.pb.swift
[658/665] Compiling ProfileRecorder ProfileRecorderSampler.swift
/Users/admin/builder/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>
[659/665] Emitting module ProfileRecorder
/Users/admin/builder/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>
[660/709] Compiling _ProfileRecorderSampleConversion FunctionInfo.swift
[661/709] Compiling _ProfileRecorderSampleConversion Hashes.swift
[662/709] Compiling _ProfileRecorderSampleConversion ISO8859-1.swift
[663/709] Compiling _ProfileRecorderSampleConversion Module.swift
[664/709] Compiling _ProfileRecorderSampleConversion MultiStreamFile.swift
[665/713] Compiling _ProfileRecorderSampleConversion NameTableNI.swift
[666/713] Compiling _ProfileRecorderSampleConversion PDBFile+SymbolSource.swift
[667/713] Compiling _ProfileRecorderSampleConversion PDBFile.swift
[668/713] Compiling _ProfileRecorderSampleConversion SectionInfo.swift
[669/713] Compiling _ProfileRecorderSampleConversion String+EncodeAs.swift
[670/713] Emitting module _ProfileRecorderSampleConversion
/Users/admin/builder/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(
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:87: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]
85 |
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", 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
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:88: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]
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", 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
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:89: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]
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", 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
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
/Users/admin/builder/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'
/Users/admin/builder/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 ................................................................
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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>
[671/713] Compiling _ProfileRecorderSampleConversion Image.swift
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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>
[672/713] Compiling _ProfileRecorderSampleConversion ImageSource.swift
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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>
[673/713] Compiling _ProfileRecorderSampleConversion Libc.swift
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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>
[674/713] Compiling _ProfileRecorderSampleConversion MemoryReader.swift
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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>
[675/713] Compiling _ProfileRecorderSampleConversion Bitset.swift
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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>
[676/713] Compiling _ProfileRecorderSampleConversion Coders.swift
[677/713] Compiling _ProfileRecorderSampleConversion CoreSymbolication.swift
[678/713] Compiling _ProfileRecorderSampleConversion CoreSymbolicationHelper.swift
[679/713] Compiling _ProfileRecorderSampleConversion CoreSymbolicationSymboliser.swift
[680/713] Compiling _ProfileRecorderSampleConversion FakeSymbolizer.swift
[681/713] Compiling _ProfileRecorderSampleConversion SampleAggregator.swift
[682/713] Compiling _ProfileRecorderSampleConversion Sampler+Conversion.swift
[683/713] Compiling _ProfileRecorderSampleConversion Symboliser.swift
[684/713] Compiling _ProfileRecorderSampleConversion Types.swift
[685/713] Compiling _ProfileRecorderSampleConversion HelperFunctions.swift
/Users/admin/builder/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(
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[686/713] Compiling _ProfileRecorderSampleConversion NIOTimeAmount+PrettyPrint.swift
/Users/admin/builder/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(
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[687/713] Compiling _ProfileRecorderSampleConversion AggregatingSymbolSource.swift
/Users/admin/builder/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(
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[688/713] Compiling _ProfileRecorderSampleConversion BacktracerThreadLocals.swift
/Users/admin/builder/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(
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[689/713] Compiling _ProfileRecorderSampleConversion ByteSwapping.swift
/Users/admin/builder/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(
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[690/713] Compiling _ProfileRecorderSampleConversion Pprof.swift
[691/713] Compiling _ProfileRecorderSampleConversion RendererTypes.swift
[692/713] Compiling _ProfileRecorderSampleConversion ProfileRecorderAddtions+Types.swift
[693/713] Compiling _ProfileRecorderSampleConversion ProfileRecorderSampleConverter.swift
[694/713] Compiling _ProfileRecorderSampleConversion SymbolLocator.swift
[695/713] Compiling _ProfileRecorderSampleConversion Utils.swift
[696/713] Compiling _ProfileRecorderSampleConversion FlamegraphCollapsed.swift
[697/713] Compiling _ProfileRecorderSampleConversion PerfScript.swift
[698/713] Compiling _ProfileRecorderSampleConversion Windows1252.swift
[699/713] Compiling _ProfileRecorderSampleConversion PDBCache.swift
[700/713] Compiling _ProfileRecorderSampleConversion PeCoff.swift
[701/713] Compiling _ProfileRecorderSampleConversion PeImageCache.swift
[702/713] Compiling _ProfileRecorderSampleConversion Registers.swift
[703/713] Compiling _ProfileRecorderSampleConversion Compression.swift
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:87: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]
85 |
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", 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
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:88: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]
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", 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
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:89: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]
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", 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
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
/Users/admin/builder/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'
/Users/admin/builder/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 ................................................................
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[704/713] Compiling _ProfileRecorderSampleConversion DefaultSymbolLocator.swift
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:87: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]
85 |
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", 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
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:88: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]
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", 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
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:89: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]
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", 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
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
/Users/admin/builder/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'
/Users/admin/builder/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 ................................................................
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[705/713] Compiling _ProfileRecorderSampleConversion Dwarf.swift
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:87: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]
85 |
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", 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
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:88: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]
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", 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
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:89: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]
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", 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
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
/Users/admin/builder/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'
/Users/admin/builder/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 ................................................................
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[706/713] Compiling _ProfileRecorderSampleConversion Elf.swift
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:87: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]
85 |
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", 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
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:88: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]
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", 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
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:89: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]
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", 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
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
/Users/admin/builder/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'
/Users/admin/builder/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 ................................................................
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[707/713] Compiling _ProfileRecorderSampleConversion ElfImageCache.swift
/Users/admin/builder/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'
/Users/admin/builder/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 |
/Users/admin/builder/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'
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:87: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]
85 |
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", 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
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:88: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]
86 | #if canImport(Darwin)
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", 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
89 | private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
90 | #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:89: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]
87 | private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
88 | private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
89 | private var zstdHandle = dlopen("libzstd.dylib", 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
90 | #elseif os(Linux)
91 | private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
/Users/admin/builder/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'
/Users/admin/builder/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 ................................................................
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[708/721] Compiling swipr_sample_conv LLVMJSONOutputParserHandler.swift
[709/721] Compiling swipr_sample_conv LLVMOutputParserHandler.swift
[710/721] Compiling swipr_sample_conv MainFile.swift
[711/721] Compiling swipr_sample_conv LLVMStackFrameEncoderHandler.swift
[712/721] Emitting module swipr_sample_conv
[713/721] Compiling swipr_sample_conv LLVMSymbolizer.swift
[713/721] Write Objects.LinkFileList
[715/721] Compiling ProfileRecorderServer Server.swift
/Users/admin/builder/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 | }
[716/721] Emitting module ProfileRecorderServer
[717/723] Emitting module swipr_mini_demo
[718/723] Compiling swipr_mini_demo Main.swift
[718/723] Write Objects.LinkFileList
[719/723] Linking swipr-sample-conv
[720/723] Applying swipr-sample-conv
[721/723] Linking swipr-mini-demo
[722/723] Applying swipr-mini-demo
Build complete! (101.64s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/swift-server/async-http-client.git
[1/8544] Fetching swift-log
[2/12790] Fetching swift-log, swift-configuration
[3/19571] Fetching swift-log, swift-configuration, swift-nio-extras
[1041/27190] Fetching swift-log, swift-configuration, swift-nio-extras, swift-system
[1042/43920] Fetching swift-log, swift-configuration, swift-nio-extras, swift-system, async-http-client
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.38s)
Fetched https://github.com/apple/swift-configuration.git from cache (1.38s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-argument-parser.git
[21304/32893] Fetching swift-log, swift-system, async-http-client
[21640/90378] Fetching swift-log, swift-system, async-http-client, swift-protobuf
[32895/177328] Fetching swift-log, swift-system, async-http-client, swift-protobuf, swift-nio
[40971/179264] Fetching swift-log, swift-system, async-http-client, swift-protobuf, swift-nio, swift-atomics
[49747/198702] Fetching swift-log, swift-system, async-http-client, swift-protobuf, swift-nio, swift-atomics, swift-argument-parser
Fetched https://github.com/apple/swift-atomics.git from cache (1.75s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.75s)
[71935/177328] Fetching swift-log, swift-system, async-http-client, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-protobuf.git from cache (10.57s)
Fetched https://github.com/apple/swift-log.git from cache (11.38s)
Fetched https://github.com/swift-server/async-http-client.git from cache (11.38s)
Fetched https://github.com/apple/swift-system.git from cache (11.38s)
Fetched https://github.com/apple/swift-nio.git from cache (11.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (12.01s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (3.32s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2898] Fetching swift-service-lifecycle
[2899/33243] Fetching swift-service-lifecycle, swift-collections
Fetched https://github.com/apple/swift-collections from cache (3.31s)
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (3.31s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (3.94s)
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 (1.28s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (1.94s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.61s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.59s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.64s)
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.57s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1552] Fetching swift-service-context
[188/4433] Fetching swift-service-context, swift-nio-transport-services
[189/10621] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms
[190/17346] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms, swift-distributed-tracing
[1427/34312] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms, swift-distributed-tracing, swift-nio-ssl
[3588/46750] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms, swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.90s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.90s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.91s)
[11473/24706] Fetching swift-service-context, swift-algorithms, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (3.43s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.43s)
Fetched https://github.com/apple/swift-service-context.git from cache (3.43s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.80s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.20s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.77s)
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.58s)
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.60s)
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.60s)
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.62s)
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.63s)
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.80s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1990] Fetching swift-http-types
[2/4069] Fetching swift-http-types, swift-asn1
[3/5353] Fetching swift-http-types, swift-asn1, swift-http-structured-headers
[916/13033] Fetching swift-http-types, swift-asn1, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.99s)
[3735/10954] Fetching swift-http-types, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.35s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.35s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.35s)
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 (1.97s)
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.59s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.66s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.71s)
Fetching https://github.com/apple/swift-crypto.git
[1/18987] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.14s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (4.94s)
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.59s)
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
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-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-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-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-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-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-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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.0
Creating working copy for https://github.com/apple/swift-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
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-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-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-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-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-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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
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" : "/Users/admin/builder/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"
}
Done.