The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-profile-recorder, reference 0.3.18 (e110ba), with Swift 6.4 for Linux on 26 Sep 2026 00:50:49 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-profile-recorder.git
Reference: 0.3.18
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.18     -> FETCH_HEAD
HEAD is now at e110ba8 Fixed Static Linux SDK build by importing Musl instead of Glibc when applicable (#65)
Cloned https://github.com/apple/swift-profile-recorder.git
Revision (git rev-parse @):
e110ba85da7d43a47b0e964726e84fddcf720192
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-profile-recorder.git at 0.3.18
========================================
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-54344847-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-configuration.git
[1/8165] Fetching swift-log
[2/11944] Fetching swift-log, swift-configuration
[8993/18637] Fetching swift-log, swift-configuration, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.61s)
Fetching https://github.com/apple/swift-atomics.git
[1/16236] Fetching async-http-client
[16237/70532] Fetching async-http-client, swift-protobuf
[18952/156704] Fetching async-http-client, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-configuration.git (1.00s)
Fetched https://github.com/apple/swift-log.git (1.00s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/swift-server/async-http-client.git (1.00s)
[7791/140468] Fetching swift-protobuf, swift-nio
[8654/142353] Fetching swift-protobuf, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.54s)
[22889/140468] Fetching swift-protobuf, swift-nio
[90598/159413] Fetching swift-protobuf, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (1.32s)
[131781/140468] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git (4.42s)
Fetched https://github.com/apple/swift-protobuf.git (5.29s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (6.31s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-system
[1/2843] Fetching swift-service-lifecycle
[2844/9826] Fetching swift-service-lifecycle, swift-system
[9827/37605] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle (1.19s)
Fetched https://github.com/apple/swift-system (1.19s)
Fetched https://github.com/apple/swift-collections (1.20s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (1.39s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6737] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.74s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (0.21s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.16s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.23s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.22s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.24s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1386] Fetching swift-service-context
[279/4253] Fetching swift-service-context, swift-nio-transport-services
[1875/10412] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms
[2134/16774] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms, swift-distributed-tracing
[16775/29029] Fetching swift-service-context, swift-nio-transport-services, swift-algorithms, swift-distributed-tracing, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git (0.58s)
[11718/22870] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing, swift-nio-http2
[22136/39739] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-service-context.git (0.95s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.95s)
[18834/31991] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git (0.95s)
[6747/19736] Fetching swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git (1.47s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.48s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.67s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.04s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.57s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.75s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.15s)
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.19s)
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.19s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.23s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.49s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
[1/1253] Fetching swift-http-structured-headers
[14/3239] Fetching swift-http-structured-headers, swift-asn1
[640/5178] Fetching swift-http-structured-headers, swift-asn1, swift-http-types
[5044/12756] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-types.git (0.59s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.59s)
Fetched https://github.com/apple/swift-asn1.git (0.59s)
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.78s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.22s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.21s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.24s)
Fetching https://github.com/apple/swift-crypto.git
[1/18562] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (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.18s)
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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
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.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.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.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
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.3.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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.1
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-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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.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.6
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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.12.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1428]
[Planning 514 / 1428]
[Planning 1143 / 1428]
[Planning deferred tasks]
[Constructing 1363 / 3003]
[Starting]
[56 / 489] SwiftProtobuf
[197 / 489] CNIOPosix
[253 / 498]
[257 / 510] SystemPackage
[259 / 528] SwiftProtobuf
[260 / 528] _NIOBase64
[267 / 537] _NIODataStructures
[278 / 537] SystemPackage
[279 / 537] InternalCollectionsUtilities
[289 / 537] _NIODataStructures
[292 / 538] _NIOBase64
[294 / 538] _NIOBase64
[296 / 538] SystemPackage
[297 / 538] SwiftProtobuf
[306 / 538] SwiftProtobuf
[309 / 539] _NIODataStructures
[309 / 539] SwiftProtobuf-product
[312 / 539] SwiftProtobuf
[313 / 539] SwiftProtobuf
[314 / 539] Logging
[315 / 539] Logging
[316 / 539] Logging
[317 / 539] Logging-product
[318 / 539] Logging-product
[320 / 539] Logging
[322 / 539] InternalCollectionsUtilities
[323 / 539] InternalCollectionsUtilities
[324 / 539] InternalCollectionsUtilities
[325 / 539] InternalCollectionsUtilities
[326 / 540] Logging
[326 / 540] InternalCollectionsUtilities
[330 / 540] InternalCollectionsUtilities
[331 / 540] InternalCollectionsUtilities
[331 / 540]
[333 / 540] _NIOBase64
[336 / 540] CProfileRecorderSwiftELF
[340 / 541] NIOConcurrencyHelpers
[345 / 549] CProfileRecorderDarwin
[348 / 549] CProfileRecorderDarwin
[355 / 549] NIOConcurrencyHelpers
[356 / 549] SystemPackage
[358 / 549] CSystem
[360 / 551] ArgumentParserToolInfo
[361 / 562] NIOConcurrencyHelpers
[362 / 562] SwiftProtobuf_SwiftProtobuf
[363 / 562] SwiftProtobuf_SwiftProtobuf
[375 / 562] NIOConcurrencyHelpers
[377 / 562] Atomics
[378 / 563] NIOConcurrencyHelpers
[380 / 564] NIOConcurrencyHelpers
[382 / 564] Atomics
[383 / 564] Atomics
[386 / 564]
[389 / 569] SwiftProtobuf
[391 / 569] SpanPreview
[394 / 569] SpanPreview
[399 / 569] CNIOWASI
[403 / 570] CNIOPosix
[409 / 571] CNIOLLHTTP
[410 / 571] DequeModule
[413 / 580] CNIOLLHTTP
[416 / 580] CNIOFreeBSD
[418 / 580] CNIOAtomics
[419 / 580] CNIOAtomics
[421 / 580] CNIOLLHTTP
[423 / 580] SpanPreview
[424 / 581] CNIOAtomics
[426 / 581] DequeModule
[427 / 581] CNIOAtomics
[429 / 581] DequeModule
[432 / 581] Atomics
[436 / 581] Atomics
[438 / 581] SystemPackage
[439 / 581] CNIOOpenBSD
[441 / 582] ArgumentParserToolInfo
[441 / 582] ArgumentParser
[444 / 591] ArgumentParser
[445 / 592] Atomics
[446 / 592] ArgumentParser
[447 / 592] Atomics
[449 / 592] Atomics
[450 / 592] ArgumentParser
[452 / 592] ArgumentParser
[456 / 592] ArgumentParser
[457 / 592] ArgumentParser
[458 / 592] ArgumentParser-product
[458 / 592] DequeModule
[458 / 593] ArgumentParser
[458 / 593] DequeModule
[464 / 593] DequeModule
[469 / 596] SwiftProtobuf
[471 / 596] Configuration
[476 / 614] NIOCore
[476 / 614] SwiftProtobuf
[478 / 614] NIOCore
[479 / 614] NIOCore
[480 / 614] NIOCore
[480 / 614] Configuration
[483 / 614] Configuration
[488 / 615] NIOCore
[489 / 615] NIOCore
[489 / 615] Configuration
[490 / 615] Configuration-product
[491 / 615] Configuration-product
[492 / 615] Configuration-product
[495 / 615] ArgumentParser
[495 / 615]
[497 / 615] ArgumentParser
[497 / 615]
[497 / 615] Configuration
[498 / 616] Configuration
[500 / 616] Configuration
[500 / 616] NIOCore
[515 / 626] NIOFoundationEssentialsCompat
[516 / 635] NIOPosix
[516 / 636] NIOFoundationEssentialsCompat
[519 / 636] NIOFoundationEssentialsCompat
[530 / 636] NIOPosix
[531 / 636] NIOPosix
[532 / 636] NIOPosix
[533 / 637] NIOPosix
[534 / 638] NIOPosix
[535 / 638] NIOFoundationEssentialsCompat-product
[536 / 638] NIOEmbedded
[539 / 638]
[541 / 638] NIOCore
[543 / 638] NIOCore-product
[543 / 638] NIOPosix
[552 / 642] _NIOFileSystem
[555 / 651] _NIOFileSystem
[555 / 651] NIO
[557 / 651] NIO
[558 / 652] NIO
[562 / 652] NIO
[563 / 652] _NIOFileSystem
[564 / 652] _NIOFileSystem
[566 / 652] _NIOFileSystem
[567 / 652] _NIOFileSystem
[569 / 652] _NIOFileSystem
[574 / 653]
[576 / 662] NIOHTTP1
[577 / 662] NIOHTTP1
[578 / 662] NIOHTTP1
[579 / 662] NIOHTTP1
[580 / 663] NIOPosix
[586 / 663] NIOPosix
[588 / 663] NIOHTTP1
[589 / 663] NIOHTTP1-product
[591 / 663] NIOExtras
[593 / 665] NIOFileSystem
[597 / 671] NIOFileSystem
[598 / 671] NIOFoundationCompat
[599 / 671] NIOFoundationCompat
[610 / 671] NIOFoundationCompat-product
[612 / 681] _NIOFileSystem-product
[614 / 681] NIOFoundationCompat
[616 / 683] NIOFoundationCompat
[617 / 683] NIOFileSystem
[620 / 683] NIOExtras
[622 / 683] NIOExtras
[623 / 683] NIOExtras
[624 / 683] NIOExtras
[627 / 686] ProfileRecorderHelpers
[627 / 686] NIOExtras
[635 / 688]
[646 / 693] ProfileRecorderHelpers
[649 / 694] NIOHTTP1
/host/spi-builder-workspace/Sources/ProfileRecorder/ProfileRecorderSampler.swift:25:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ProfileRecorder' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 23 | import Dispatch
 24 | #if canImport(CProfileRecorderSampler) // only on macOS & Linux
 25 | @_implementationOnly import CProfileRecorderSampler
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ProfileRecorder' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 26 | #endif
 27 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[649 / 694] ProfileRecorder
[655 / 695] _NIOFileSystem
[658 / 695] NIOFileSystem
/host/spi-builder-workspace/Sources/ProfileRecorder/ProfileRecorderSampler.swift:25:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ProfileRecorder' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 23 | import Dispatch
 24 | #if canImport(CProfileRecorderSampler) // only on macOS & Linux
 25 | @_implementationOnly import CProfileRecorderSampler
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ProfileRecorder' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 26 | #endif
 27 |
/host/spi-builder-workspace/Sources/ProfileRecorder/ProfileRecorderSampler.swift:141:38: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 |         if outputFilePath == "-" {
140 |             return self.requestSamples(
141 |                 output: CFilePointer(stderr),
    |                                      `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
142 |                 count: count,
143 |                 timeBetweenSamples: timeBetweenSamples,
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[659 / 695] ProfileRecorder
[660 / 696] ProfileRecorder
[663 / 696] NIOExtras
[672 / 698] _ProfileRecorderSampleConversion
[680 / 707] _ProfileRecorderSampleConversion
[681 / 708] _ProfileRecorderSampleConversion
[684 / 708] ProfileRecorderPprofFormat
[684 / 708] _ProfileRecorderSampleConversion
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:147:43: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 |         var accumulatedErrors: [any Swift.Error] = []
146 |         do {
147 |             let input = fromPath == "-" ? stdin : fopen(fromPath, "r")
    |                                           `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 |             guard let input = input else {
149 |                 throw Error(message: "Could not open \(fromPath), errno: \(errno)")
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
    |              `- note: var declared here
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/ProfileRecorderSampleConverter.swift:156:42: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 |                 }
155 |             }
156 |             let output = toPath == "-" ? stdout : fopen(toPath, "w")
    |                                          `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
157 |             guard let output = output else {
158 |                 throw Error(message: "Could not open \(toPath), errno: \(errno)")
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 248 |
 249 | // .. Utilities ................................................................
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
 245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
 246 |
 247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
     |     |- note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 248 |
 249 | // .. Utilities ................................................................
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[699 / 718] swipr-sample-conv-product
[700 / 718] swipr-sample-conv-product
[708 / 721] swipr-sample-conv-product
[709 / 721] swipr-sample-conv-product
[712 / 722] swipr-mini-demo-product
/host/spi-builder-workspace/Sources/swipr-mini-demo/Main.swift:119:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 |         }
118 |         print("DONE")
119 |         fflush(stdout)
    |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 |     }
121 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[715 / 723] ProfileRecorderServer
/host/spi-builder-workspace/Sources/ProfileRecorderServer/Server.swift:411:48: warning: value 'remoteAddress' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
412 |                                             logger[metadataKey: "peer"] = "\(child.channel.remoteAddress!)"
413 |                                         }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: warning: let 'SWIPR_elf_hash' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<UInt8>?) -> UInt' may have shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 248 |
 249 | // .. Utilities ................................................................
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:247:5: note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
 245 | typealias SWIPR_Elf64_Hash = CProfileRecorderSwiftELF.SWIPR_Elf64_Hash
 246 |
 247 | let SWIPR_elf_hash = CProfileRecorderSwiftELF.SWIPR_elf_hash
     |     |- note: add '@MainActor' to make let 'SWIPR_elf_hash' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 248 |
 249 | // .. Utilities ................................................................
/host/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Elf.swift:1672:11: warning: initialization of immutable value 'zname' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1670 |   func getSection(_ name: String, debug: Bool = false) -> ImageSource? {
1671 |     if let sectionHeaders = sectionHeaders {
1672 |       let zname = ".z" + name.dropFirst()
     |           `- warning: initialization of immutable value 'zname' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1673 |       let stringShdr = sectionHeaders[Int(header.e_shstrndx)]
1674 |       do {
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[717 / 724] _ProfileRecorderSampleConversion
[725 / 725] _ProfileRecorderSampleConversion-product
[725 / 725] swipr-sample-conv-product
Build complete! (112.57 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" : "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/ByteSwapping.swift",
        "NativeELFSymboliser/Dwarf.swift",
        "NativeELFSymboliser/Elf.swift",
        "NativeELFSymboliser/Image.swift",
        "NativeELFSymboliser/ImageSource.swift",
        "NativeELFSymboliser/MemoryReader.swift",
        "NativeELFSymboliser/Registers.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"
      ],
      "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",
        "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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.