Build Information
Successful build of swift-profile-recorder, reference 0.3.24 (45b2e7), with Swift 6.4 for Linux on 20 Nov 2026 17:09:58 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-profile-recorder.git
Reference: 0.3.24
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/apple/swift-profile-recorder
* tag 0.3.24 -> FETCH_HEAD
HEAD is now at 45b2e71 Run the Main workflow's macOS tests on the general pool unless scheduled (#82)
Cloned https://github.com/apple/swift-profile-recorder.git
Revision (git rev-parse @):
45b2e712d6fd1fc23b35bbaae5341959addbb14b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-profile-recorder.git at 0.3.24
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/apple/swift-profile-recorder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ae77353026da6cfa76cb64e03699dfd34630b0508fc99928ef90ce82e8f715d8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
[1/6781] Fetching swift-nio-extras
[273/11027] Fetching swift-nio-extras, swift-configuration
[11028/18646] Fetching swift-nio-extras, swift-configuration, swift-system
[18647/35376] Fetching swift-nio-extras, swift-configuration, swift-system, async-http-client
Fetched https://github.com/apple/swift-system.git (0.77s)
[13202/27757] Fetching swift-nio-extras, swift-configuration, async-http-client
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/swift-server/async-http-client.git (1.03s)
Fetching https://github.com/apple/swift-atomics.git
[1/8544] Fetching swift-log
[8545/66029] Fetching swift-log, swift-protobuf
Fetched https://github.com/apple/swift-log.git (0.50s)
Fetching https://github.com/apple/swift-argument-parser.git
[1725/57485] Fetching swift-protobuf
[4600/59421] Fetching swift-protobuf, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.48s)
[6899/57485] Fetching swift-protobuf
[12073/76923] Fetching swift-protobuf, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.80s)
[21270/57485] Fetching swift-protobuf
[57486/144435] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-protobuf.git (5.11s)
Fetched https://github.com/apple/swift-configuration.git (5.96s)
Fetched https://github.com/apple/swift-nio-extras.git (5.96s)
Fetched https://github.com/apple/swift-nio.git (5.99s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (6.14s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (0.79s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2898] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle (0.51s)
[1/30345] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.32s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (1.46s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6904] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.61s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.80s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.25s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.17s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.17s)
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.16s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1552] Fetching swift-service-context
[219/4433] Fetching swift-service-context, swift-nio-transport-services
[220/10621] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms
[8828/17346] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms, swift-distributed-tracing
[10623/34312] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms, swift-distributed-tracing, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git (0.47s)
[7809/31431] Fetching swift-service-context, swift-algorithms, swift-distributed-tracing, swift-nio-ssl
[16672/43869] Fetching swift-service-context, swift-algorithms, swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git (1.09s)
Fetched https://github.com/apple/swift-nio-http2.git (1.10s)
Fetched https://github.com/apple/swift-service-context.git (1.24s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.24s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.25s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.12s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.58s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.72s)
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.15s)
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.14s)
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.14s)
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.15s)
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.18s)
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.39s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1284] Fetching swift-http-structured-headers
[733/3274] Fetching swift-http-structured-headers, swift-http-types
[1365/5353] Fetching swift-http-structured-headers, swift-http-types, swift-asn1
Fetched https://github.com/apple/swift-http-structured-headers.git (0.40s)
[799/4069] Fetching swift-http-types, swift-asn1
[2740/11749] Fetching swift-http-types, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-http-types.git (0.58s)
Fetched https://github.com/apple/swift-asn1.git (0.58s)
Fetched https://github.com/apple/swift-certificates.git (0.59s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.74s)
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.16s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.17s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.20s)
Fetching https://github.com/apple/swift-crypto.git
[1/18977] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (1.45s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.15s)
Creating working copy for https://github.com/apple/swift-nio-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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
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-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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.6
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
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-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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-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-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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Building for debugging...
[Computing dependencies]
[Provisioning 37 / 64]
[Pre-planning 1 / 1429]
[Planning 1320 / 1429]
[Planning deferred tasks]
[Starting]
[86 / 489] ProfileRecorderHelpers
[258 / 509] NIOConcurrencyHelpers
[263 / 545] SwiftProtobuf
[264 / 545] _NIOBase64
[274 / 545] _NIODataStructures
[286 / 545] InternalCollectionsUtilities
[287 / 545] SystemPackage
[298 / 545] _NIOBase64
[304 / 546] SystemPackage
[314 / 547] _NIODataStructures
[319 / 547] SwiftProtobuf
[320 / 547] SwiftProtobuf
[321 / 547] NIOConcurrencyHelpers
[322 / 547] NIOConcurrencyHelpers
[323 / 547] NIOConcurrencyHelpers
[327 / 547] Logging
[328 / 547] Logging
[331 / 548] NIOConcurrencyHelpers
[338 / 549] SwiftProtobuf
[341 / 549] InternalCollectionsUtilities
[343 / 549] InternalCollectionsUtilities
[346 / 549] SpanPreview
[362 / 563] CNIOWindows
[380 / 563] CNIODarwin
[395 / 564] Logging
[401 / 564] InternalCollectionsUtilities
[404 / 564] Atomics
[404 / 564] ArgumentParserToolInfo
[411 / 569] SpanPreview
[422 / 572] CNIOAtomics
[427 / 590] SpanPreview
[429 / 590] DequeModule
[432 / 591] Atomics
[440 / 591] ArgumentParser
[448 / 591] ArgumentParser-product
[449 / 592] DequeModule
[451 / 592] DequeModule
[454 / 592] ArgumentParser
[457 / 593] CNIODarwin
[458 / 593] DequeModule
[471 / 604] Configuration
[473 / 614] SwiftProtobuf
[474 / 614] SwiftProtobuf
[479 / 614] SwiftProtobuf
[484 / 614] SwiftProtobuf
[488 / 615] NIOCore
[488 / 615] Configuration
[489 / 615] NIOCore
[490 / 615] Configuration-product
[491 / 615] Configuration-product
[493 / 615] Configuration
[495 / 615] ArgumentParser
[497 / 615]
[497 / 615] Configuration
[500 / 616] NIOCore
[515 / 635] NIOFoundationEssentialsCompat
[517 / 635] NIOEmbedded
[527 / 635] NIOEmbedded
[532 / 637] NIOPosix
[533 / 637] NIOPosix
[534 / 638] NIOPosix
[535 / 638] NIOFoundationEssentialsCompat
[541 / 638] NIOCore
[543 / 638] NIOEmbedded
[543 / 638] NIOPosix
[556 / 651] NIO
[562 / 652] _NIOFileSystem
[566 / 652] _NIOFileSystem
[568 / 652] _NIOFileSystem
[576 / 662] NIOHTTP1
[577 / 662] NIOHTTP1
[578 / 663] NIOPosix
[581 / 663] NIOHTTP1
[583 / 663] NIOHTTP1
[591 / 663] NIOHTTP1
[595 / 671] NIOFileSystem
[604 / 671] NIOFileSystem
[610 / 672] _NIOFileSystem
[620 / 684] NIOExtras
[625 / 684] NIOExtras
[629 / 685] NIOHTTP1
[639 / 688] NIOExtras
[654 / 695] ProfileRecorderHelpers
[654 / 695] NIOExtras
/host/spi-builder-workspace/Sources/ProfileRecorder/ProfileRecorderSampler.swift:25:22: [1;33mwarning: [1;39msafely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ProfileRecorder'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m23 |[0;0m import Dispatch
[0;36m24 |[0;0m #if canImport(CProfileRecorderSampler) // only on macOS & Linux
[0;36m25 |[0;0m @_implementationOnly import CProfileRecorderSampler
[0;36m|[0;0m `- [1;33mwarning: [1;39msafely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ProfileRecorder'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m26 |[0;0m #endif
[0;36m27 |[0;0m
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[662 / 696] ProfileRecorder
/host/spi-builder-workspace/Sources/ProfileRecorder/ProfileRecorderSampler.swift:25:22: [1;33mwarning: [1;39msafely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ProfileRecorder'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m23 |[0;0m import Dispatch
[0;36m24 |[0;0m #if canImport(CProfileRecorderSampler) // only on macOS & Linux
[0;36m25 |[0;0m @_implementationOnly import CProfileRecorderSampler
[0;36m|[0;0m `- [1;33mwarning: [1;39msafely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ProfileRecorder'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m26 |[0;0m #endif
[0;36m27 |[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorder/ProfileRecorderSampler.swift:215:38: [1;33mwarning: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m213 |[0;0m if outputFilePath == "-" {
[0;36m214 |[0;0m return self.requestSamples(
[0;36m215 |[0;0m output: CFilePointer(stderr),
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m216 |[0;0m count: count,
[0;36m217 |[0;0m timeBetweenSamples: timeBetweenSamples,
/usr/include/stdio.h:151:14: [1;39mnote: [1;39mvar declared here[0;0m
[0;36m149 |[0;0m extern FILE *stdin; /* Standard input stream. */
[0;36m150 |[0;0m extern FILE *stdout; /* Standard output stream. */
[0;36m151 |[0;0m extern FILE *stderr; /* Standard error output stream. */
[0;36m|[0;0m `- [1;39mnote: [1;39mvar declared here[0;0m
[0;36m152 |[0;0m /* C89/C99 say they're macros. Make them happy. */
[0;36m153 |[0;0m #define stdin stdin
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[666 / 697] ProfileRecorder-product
[666 / 697] ProfileRecorderPprofFormat
[680 / 707] _ProfileRecorderSampleConversion
[680 / 708] _ProfileRecorderSampleConversion
[682 / 708] ProfileRecorderPprofFormat
[684 / 708] _ProfileRecorderSampleConversion
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/BacktracerThreadLocals.swift:60:22: [1;33mwarning: [1;39mstatic property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m58 |[0;0m }()
[0;36m59 |[0;0m #else
[0;36m60 |[0;0m private static var key: pthread_key_t = {
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'key' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'key' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m61 |[0;0m var theKey = pthread_key_t()
[0;36m62 |[0;0m let err = pthread_key_create(
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m66 |[0;0m }
[0;36m67 |[0;0m
[0;36m68 |[0;0m let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m69 |[0;0m let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
[0;36m70 |[0;0m
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'[0;0m
[0;36m66 |[0;0m }
[0;36m67 |[0;0m
[0;36m68 |[0;0m let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m69 |[0;0m let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
[0;36m70 |[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m67 |[0;0m
[0;36m68 |[0;0m let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
[0;36m69 |[0;0m let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m70 |[0;0m
[0;36m71 |[0;0m /// The maximum size of blob we're prepared to decompress
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
[0;36m69 |[0;0m let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m /// The maximum size of blob we're prepared to decompress
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:91:13: [1;33mwarning: [1;39mvar 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m89 |[0;0m private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
[0;36m90 |[0;0m #elseif os(Linux)
[0;36m91 |[0;0m private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
[0;36m|[0;0m |- [1;33mwarning: [1;39mvar 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'lzmaHandle' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make var 'lzmaHandle' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m92 |[0;0m private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
[0;36m93 |[0;0m private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:92:13: [1;33mwarning: [1;39mvar 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m90 |[0;0m #elseif os(Linux)
[0;36m91 |[0;0m private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
[0;36m92 |[0;0m private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
[0;36m|[0;0m |- [1;33mwarning: [1;39mvar 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'zlibHandle' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make var 'zlibHandle' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m93 |[0;0m private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
[0;36m94 |[0;0m #elseif os(Windows)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:93:13: [1;33mwarning: [1;39mvar 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m91 |[0;0m private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
[0;36m92 |[0;0m private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
[0;36m93 |[0;0m private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
[0;36m|[0;0m |- [1;33mwarning: [1;39mvar 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'zstdHandle' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make var 'zstdHandle' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m94 |[0;0m #elseif os(Windows)
[0;36m95 |[0;0m private var lzmaHandle = LoadLibraryA("liblzma.dll")
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m245 |[0;0m typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
[0;36m246 |[0;0m
[0;36m247 |[0;0m let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m248 |[0;0m
[0;36m249 |[0;0m // .. Utilities ................................................................
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'[0;0m
[0;36m245 |[0;0m typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
[0;36m246 |[0;0m
[0;36m247 |[0;0m let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m248 |[0;0m
[0;36m249 |[0;0m // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m34 |[0;0m import CProfileRecorderSwiftELF
[0;36m35 |[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'[0;0m
[0;36m34 |[0;0m import CProfileRecorderSwiftELF
[0;36m35 |[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m35 |[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
[0;36m39 |[0;0m
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
[0;36m39 |[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m39 |[0;0m
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m39 |[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/PDBCache.swift:80:22: [1;33mwarning: [1;39mstatic property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m78 |[0;0m }()
[0;36m79 |[0;0m #else
[0;36m80 |[0;0m private static var key: pthread_key_t = {
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'key' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'key' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m81 |[0;0m var theKey = pthread_key_t()
[0;36m82 |[0;0m let err = pthread_key_create(
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[695 / 718] swipr-sample-conv-product
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/PDBCache.swift:80:22: [1;33mwarning: [1;39mstatic property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m78 |[0;0m }()
[0;36m79 |[0;0m #else
[0;36m80 |[0;0m private static var key: pthread_key_t = {
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'key' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'key' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m81 |[0;0m var theKey = pthread_key_t()
[0;36m82 |[0;0m let err = pthread_key_create(
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/BacktracerThreadLocals.swift:60:22: [1;33mwarning: [1;39mstatic property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m58 |[0;0m }()
[0;36m59 |[0;0m #else
[0;36m60 |[0;0m private static var key: pthread_key_t = {
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'key' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'key' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m61 |[0;0m var theKey = pthread_key_t()
[0;36m62 |[0;0m let err = pthread_key_create(
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m66 |[0;0m }
[0;36m67 |[0;0m
[0;36m68 |[0;0m let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m69 |[0;0m let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
[0;36m70 |[0;0m
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:68:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'[0;0m
[0;36m66 |[0;0m }
[0;36m67 |[0;0m
[0;36m68 |[0;0m let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_zlib_stream_init' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m69 |[0;0m let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
[0;36m70 |[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m67 |[0;0m
[0;36m68 |[0;0m let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
[0;36m69 |[0;0m let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m70 |[0;0m
[0;36m71 |[0;0m /// The maximum size of blob we're prepared to decompress
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:69:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m let SWIPR_zlib_stream_init = CProfileRecorderSwiftELF.SWIPR_zlib_stream_init
[0;36m69 |[0;0m let SWIPR_lzma_stream_init = CProfileRecorderSwiftELF.SWIPR_lzma_stream_init
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_lzma_stream_init' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m /// The maximum size of blob we're prepared to decompress
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:91:13: [1;33mwarning: [1;39mvar 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m89 |[0;0m private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
[0;36m90 |[0;0m #elseif os(Linux)
[0;36m91 |[0;0m private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
[0;36m|[0;0m |- [1;33mwarning: [1;39mvar 'lzmaHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'lzmaHandle' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make var 'lzmaHandle' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m92 |[0;0m private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
[0;36m93 |[0;0m private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:92:13: [1;33mwarning: [1;39mvar 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m90 |[0;0m #elseif os(Linux)
[0;36m91 |[0;0m private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
[0;36m92 |[0;0m private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
[0;36m|[0;0m |- [1;33mwarning: [1;39mvar 'zlibHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'zlibHandle' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make var 'zlibHandle' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m93 |[0;0m private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
[0;36m94 |[0;0m #elseif os(Windows)
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:93:13: [1;33mwarning: [1;39mvar 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m91 |[0;0m private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
[0;36m92 |[0;0m private var zlibHandle = dlopen("libz.so.1", RTLD_LAZY)
[0;36m93 |[0;0m private var zstdHandle = dlopen("libzstd.so.1", RTLD_LAZY)
[0;36m|[0;0m |- [1;33mwarning: [1;39mvar 'zstdHandle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'zstdHandle' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make var 'zstdHandle' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m94 |[0;0m #elseif os(Windows)
[0;36m95 |[0;0m private var lzmaHandle = LoadLibraryA("liblzma.dll")
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[700 / 718] swipr-sample-conv-product
[708 / 721] _ProfileRecorderSampleConversion
[709 / 721] swipr-sample-conv-product
/host/spi-builder-workspace/Sources/swipr-mini-demo/Main.swift:121:16: [1;33mwarning: [1;39mreference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m119 |[0;0m }
[0;36m120 |[0;0m print("DONE")
[0;36m121 |[0;0m fflush(stdout)
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m122 |[0;0m }
[0;36m123 |[0;0m
/usr/include/stdio.h:150:14: [1;39mnote: [1;39mvar declared here[0;0m
[0;36m148 |[0;0m /* Standard streams. */
[0;36m149 |[0;0m extern FILE *stdin; /* Standard input stream. */
[0;36m150 |[0;0m extern FILE *stdout; /* Standard output stream. */
[0;36m|[0;0m `- [1;39mnote: [1;39mvar declared here[0;0m
[0;36m151 |[0;0m extern FILE *stderr; /* Standard error output stream. */
[0;36m152 |[0;0m /* C89/C99 say they're macros. Make them happy. */
[712 / 723] swipr-mini-demo-product
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:147:43: [1;33mwarning: [1;39mreference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m145 |[0;0m var accumulatedErrors: [any Swift.Error] = []
[0;36m146 |[0;0m do {
[0;36m147 |[0;0m let input = fromPath == "-" ? stdin : fopen(fromPath, "r")
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m148 |[0;0m guard let input = input else {
[0;36m149 |[0;0m throw Error(message: "Could not open \(fromPath), errno: \(errno)")
/usr/include/stdio.h:149:14: [1;39mnote: [1;39mvar declared here[0;0m
[0;36m147 |[0;0m
[0;36m148 |[0;0m /* Standard streams. */
[0;36m149 |[0;0m extern FILE *stdin; /* Standard input stream. */
[0;36m|[0;0m `- [1;39mnote: [1;39mvar declared here[0;0m
[0;36m150 |[0;0m extern FILE *stdout; /* Standard output stream. */
[0;36m151 |[0;0m extern FILE *stderr; /* Standard error output stream. */
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:156:42: [1;33mwarning: [1;39mreference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m154 |[0;0m }
[0;36m155 |[0;0m }
[0;36m156 |[0;0m let output = toPath == "-" ? stdout : fopen(toPath, "w")
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m157 |[0;0m guard let output = output else {
[0;36m158 |[0;0m throw Error(message: "Could not open \(toPath), errno: \(errno)")
/usr/include/stdio.h:150:14: [1;39mnote: [1;39mvar declared here[0;0m
[0;36m148 |[0;0m /* Standard streams. */
[0;36m149 |[0;0m extern FILE *stdin; /* Standard input stream. */
[0;36m150 |[0;0m extern FILE *stdout; /* Standard output stream. */
[0;36m|[0;0m `- [1;39mnote: [1;39mvar declared here[0;0m
[0;36m151 |[0;0m extern FILE *stderr; /* Standard error output stream. */
[0;36m152 |[0;0m /* C89/C99 say they're macros. Make them happy. */
[715 / 723] _ProfileRecorderSampleConversion
[715 / 723] ProfileRecorderServer
/host/spi-builder-workspace/Sources/ProfileRecorderServer/Server.swift:411:48: [1;33mwarning: [1;39mvalue 'remoteAddress' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m409 |[0;0m childGroup.addTask {
[0;36m410 |[0;0m var logger = logger
[0;36m411 |[0;0m if let remoteAddress = child.channel.remoteAddress {
[0;36m|[0;0m `- [1;33mwarning: [1;39mvalue 'remoteAddress' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m412 |[0;0m logger[metadataKey: "peer"] = "\(child.channel.remoteAddress!)"
[0;36m413 |[0;0m }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[717 / 724] _ProfileRecorderSampleConversion
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m245 |[0;0m typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
[0;36m246 |[0;0m
[0;36m247 |[0;0m let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m248 |[0;0m
[0;36m249 |[0;0m // .. Utilities ................................................................
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'[0;0m
[0;36m245 |[0;0m typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
[0;36m246 |[0;0m
[0;36m247 |[0;0m let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m248 |[0;0m
[0;36m249 |[0;0m // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m34 |[0;0m import CProfileRecorderSwiftELF
[0;36m35 |[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:36:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'[0;0m
[0;36m34 |[0;0m import CProfileRecorderSwiftELF
[0;36m35 |[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_open' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m35 |[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
[0;36m39 |[0;0m
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:37:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_get_errno' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
[0;36m39 |[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet '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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m39 |[0;0m
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Libc.swift:38:5: [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'[0;0m
[0;36m36 |[0;0m let SWIPR_swift_open = CProfileRecorderSwiftELF.SWIPR_swift_open
[0;36m37 |[0;0m let SWIPR_swift_get_errno = CProfileRecorderSwiftELF.SWIPR_swift_get_errno
[0;36m38 |[0;0m let SWIPR_swift_set_errno = CProfileRecorderSwiftELF.SWIPR_swift_set_errno
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'SWIPR_swift_set_errno' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m39 |[0;0m
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[725 / 725] _ProfileRecorderSampleConversion-product
[725 / 725] swipr-sample-conv-product
Build complete! (28.94 secs)
Build complete.
{
"cxx_language_standard" : "c++14",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.99.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.31.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.25.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-configuration",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-configuration.git"
}
],
"manifest_display_name" : "swift-profile-recorder",
"name" : "swift-profile-recorder",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ProfileRecorder",
"targets" : [
"ProfileRecorder"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ProfileRecorderServer",
"targets" : [
"ProfileRecorderServer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swipr-sample-conv",
"targets" : [
"swipr-sample-conv"
],
"type" : {
"executable" : null
}
},
{
"name" : "_ProfileRecorderSampleConversion",
"targets" : [
"_ProfileRecorderSampleConversion"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swipr-mini-demo",
"targets" : [
"swipr-mini-demo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swipr_sample_conv",
"module_type" : "SwiftTarget",
"name" : "swipr-sample-conv",
"path" : "Sources/swipr-sample-conv",
"product_dependencies" : [
"ArgumentParser",
"NIOFoundationCompat",
"Logging"
],
"product_memberships" : [
"swipr-sample-conv"
],
"sources" : [
"LLVMJSONOutputParserHandler.swift",
"LLVMOutputParserHandler.swift",
"LLVMStackFrameEncoderHandler.swift",
"LLVMSymbolizer.swift",
"MainFile.swift"
],
"target_dependencies" : [
"CProfileRecorderSwiftELF",
"_ProfileRecorderSampleConversion",
"ProfileRecorderHelpers",
"ProfileRecorder"
],
"type" : "executable"
},
{
"c99name" : "swipr_mini_demo",
"module_type" : "SwiftTarget",
"name" : "swipr-mini-demo",
"path" : "Sources/swipr-mini-demo",
"product_dependencies" : [
"ArgumentParser",
"NIO",
"Logging"
],
"product_memberships" : [
"swipr-mini-demo"
],
"sources" : [
"Main.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"ProfileRecorderServer",
"ProfileRecorderHelpers"
],
"type" : "executable"
},
{
"c99name" : "_ProfileRecorderSampleConversion",
"module_type" : "SwiftTarget",
"name" : "_ProfileRecorderSampleConversion",
"path" : "Sources/ProfileRecorderSampleConversion",
"product_dependencies" : [
"NIO",
"Logging",
"NIOExtras"
],
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"Coders.swift",
"CoreSymbolication/CoreSymbolication.swift",
"CoreSymbolication/CoreSymbolicationHelper.swift",
"CoreSymbolication/CoreSymbolicationSymboliser.swift",
"FakeSymbolizer.swift",
"HelperFunctions.swift",
"NIOTimeAmount+PrettyPrint.swift",
"NativeELFSymboliser/AggregatingSymbolSource.swift",
"NativeELFSymboliser/BacktracerThreadLocals.swift",
"NativeELFSymboliser/ByteSwapping.swift",
"NativeELFSymboliser/Compression.swift",
"NativeELFSymboliser/DefaultSymbolLocator.swift",
"NativeELFSymboliser/Dwarf.swift",
"NativeELFSymboliser/Elf.swift",
"NativeELFSymboliser/ElfImageCache.swift",
"NativeELFSymboliser/Image.swift",
"NativeELFSymboliser/ImageSource.swift",
"NativeELFSymboliser/Libc.swift",
"NativeELFSymboliser/MemoryReader.swift",
"NativeELFSymboliser/PDB/Bitset.swift",
"NativeELFSymboliser/PDB/FunctionInfo.swift",
"NativeELFSymboliser/PDB/Hashes.swift",
"NativeELFSymboliser/PDB/ISO8859-1.swift",
"NativeELFSymboliser/PDB/Module.swift",
"NativeELFSymboliser/PDB/MultiStreamFile.swift",
"NativeELFSymboliser/PDB/NameTableNI.swift",
"NativeELFSymboliser/PDB/PDBFile+SymbolSource.swift",
"NativeELFSymboliser/PDB/PDBFile.swift",
"NativeELFSymboliser/PDB/SectionInfo.swift",
"NativeELFSymboliser/PDB/String+EncodeAs.swift",
"NativeELFSymboliser/PDB/Windows1252.swift",
"NativeELFSymboliser/PDBCache.swift",
"NativeELFSymboliser/PeCoff.swift",
"NativeELFSymboliser/PeImageCache.swift",
"NativeELFSymboliser/Registers.swift",
"NativeELFSymboliser/SymbolLocator.swift",
"NativeELFSymboliser/Utils.swift",
"OutputFormatRendering/FlamegraphCollapsed.swift",
"OutputFormatRendering/PerfScript.swift",
"OutputFormatRendering/Pprof.swift",
"OutputFormatRendering/RendererTypes.swift",
"ProfileRecorderAddtions+Types.swift",
"ProfileRecorderSampleConverter.swift",
"SampleAggregator.swift",
"Sampler+Conversion.swift",
"Symboliser.swift",
"Types.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"CProfileRecorderSwiftELF",
"CProfileRecorderDarwin",
"ProfileRecorderPprofFormat",
"ProfileRecorderHelpers"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorderTests",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderTests",
"path" : "Tests/ProfileRecorderTests",
"product_dependencies" : [
"Atomics",
"NIO",
"Logging",
"_NIOFileSystem",
"SystemPackage"
],
"sources" : [
"ProfileRecorderTests.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"_ProfileRecorderSampleConversion",
"ProfileRecorderHelpers"
],
"type" : "test"
},
{
"c99name" : "ProfileRecorderServerTests",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderServerTests",
"path" : "Tests/ProfileRecorderServerTests",
"product_dependencies" : [
"Atomics",
"NIO",
"Logging",
"_NIOFileSystem",
"AsyncHTTPClient"
],
"sources" : [
"ProfileRecorderConfigurationTests.swift",
"ProfileRecorderServerTests.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"ProfileRecorderServer",
"_ProfileRecorderSampleConversion",
"ProfileRecorderHelpers"
],
"type" : "test"
},
{
"c99name" : "ProfileRecorderServer",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderServer",
"path" : "Sources/ProfileRecorderServer",
"product_dependencies" : [
"NIO",
"NIOHTTP1",
"NIOFoundationEssentialsCompat",
"_NIOFileSystem",
"Logging",
"Configuration"
],
"product_memberships" : [
"ProfileRecorderServer",
"swipr-mini-demo"
],
"sources" : [
"Server.swift"
],
"target_dependencies" : [
"ProfileRecorderHelpers",
"ProfileRecorder",
"_ProfileRecorderSampleConversion",
"ProfileRecorderPprofFormat"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorderSampleConversionTests",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderSampleConversionTests",
"path" : "Tests/ProfileRecorderSampleConversionTests",
"product_dependencies" : [
"Atomics",
"NIO",
"Logging",
"_NIOFileSystem"
],
"sources" : [
"CachedSymbolizerTests.swift",
"FlamegraphCollapsedTests.swift",
"Helpers.swift",
"NativeELFSymboliserTests.swift",
"PerfScriptTests.swift",
"PprofTests.swift",
"SampleConversionTests.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"_ProfileRecorderSampleConversion",
"ProfileRecorderPprofFormat",
"ProfileRecorderHelpers"
],
"type" : "test"
},
{
"c99name" : "ProfileRecorderPprofFormat",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderPprofFormat",
"path" : "Sources/ProfileRecorderPprofFormat",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"profile.pb.swift"
],
"target_dependencies" : [
"ProfileRecorderHelpers"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorderHelpers",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderHelpers",
"path" : "Sources/ProfileRecorderHelpers",
"product_dependencies" : [
"NIO",
"_NIOFileSystem"
],
"product_memberships" : [
"ProfileRecorder",
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"Helpers.swift"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorder",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorder",
"path" : "Sources/ProfileRecorder",
"product_dependencies" : [
"NIO",
"_NIOFileSystem"
],
"product_memberships" : [
"ProfileRecorder",
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"ProfileRecorderSampler.swift"
],
"target_dependencies" : [
"ProfileRecorderHelpers",
"CProfileRecorderSampler"
],
"type" : "library"
},
{
"c99name" : "CProfileRecorderSwiftELF",
"module_type" : "ClangTarget",
"name" : "CProfileRecorderSwiftELF",
"path" : "Sources/CProfileRecorderSwiftELF",
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"empty.c"
],
"type" : "library"
},
{
"c99name" : "CProfileRecorderSampler",
"module_type" : "ClangTarget",
"name" : "CProfileRecorderSampler",
"path" : "Sources/CProfileRecorderSampler",
"product_memberships" : [
"ProfileRecorder",
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"fp_unwinder.c",
"os_dep_darwin.c",
"os_dep_linux.c",
"sampler.c"
],
"type" : "library"
},
{
"c99name" : "CProfileRecorderDarwin",
"module_type" : "ClangTarget",
"name" : "CProfileRecorderDarwin",
"path" : "Sources/CProfileRecorderDarwin",
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"empty.c"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ae77353026da6cfa76cb64e03699dfd34630b0508fc99928ef90ce82e8f715d8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.