The Swift Package Index logo.Swift Package Index

Build Information

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

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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: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: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/apple/swift-profile-recorder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 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 main
========================================
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-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: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-protobuf.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
[1/3779] Fetching swift-configuration
[228/11944] Fetching swift-configuration, swift-log
[499/18637] Fetching swift-configuration, swift-log, swift-nio-extras
Fetched https://github.com/apple/swift-configuration.git (0.56s)
[13654/14858] Fetching swift-log, swift-nio-extras
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-nio-extras.git (0.62s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/16236] Fetching async-http-client
[16237/70532] Fetching async-http-client, swift-protobuf
[16780/156704] Fetching async-http-client, swift-protobuf, swift-nio
[24347/158589] Fetching async-http-client, swift-protobuf, swift-nio, swift-atomics
Fetched https://github.com/swift-server/async-http-client.git (0.98s)
[8691/142353] Fetching swift-protobuf, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.52s)
[25793/140468] Fetching swift-protobuf, swift-nio
[39487/159413] Fetching swift-protobuf, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.84s)
[76197/140468] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-log.git (3.72s)
Fetched https://github.com/apple/swift-nio.git (3.78s)
Fetched https://github.com/apple/swift-protobuf.git (5.39s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (6.39s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
[1/2843] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle (0.46s)
[1/6983] Fetching swift-system
Fetched https://github.com/apple/swift-system (0.62s)
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.22s)
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.41s)
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.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.78s)
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.29s)
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.22s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
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.21s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/6159] Fetching swift-algorithms
[2/12521] Fetching swift-algorithms, swift-distributed-tracing
[3/13907] Fetching swift-algorithms, swift-distributed-tracing, swift-service-context
[444/16774] Fetching swift-algorithms, swift-distributed-tracing, swift-service-context, swift-nio-transport-services
[14676/29029] Fetching swift-algorithms, swift-distributed-tracing, swift-service-context, swift-nio-transport-services, swift-nio-http2
Fetched https://github.com/apple/swift-service-context.git (0.55s)
[17349/27643] Fetching swift-algorithms, swift-distributed-tracing, swift-nio-transport-services, swift-nio-http2
Fetched https://github.com/apple/swift-distributed-tracing.git (0.55s)
[11110/21281] Fetching swift-algorithms, swift-nio-transport-services, swift-nio-http2
[21282/38150] Fetching swift-algorithms, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git (1.50s)
Fetched https://github.com/apple/swift-algorithms.git (1.50s)
Fetched https://github.com/apple/swift-nio-http2.git (1.50s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.51s)
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.70s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.03s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.52s)
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.71s)
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.20s)
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.22s)
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.46s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1986] Fetching swift-asn1
[81/3239] Fetching swift-asn1, swift-http-structured-headers
[3221/5178] Fetching swift-asn1, swift-http-structured-headers, swift-http-types
[3241/12756] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-types.git (0.49s)
[6346/10817] Fetching swift-asn1, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git (0.56s)
Fetched https://github.com/apple/swift-asn1.git (0.56s)
Fetched https://github.com/apple/swift-certificates.git (0.56s)
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.75s)
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.21s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.22s)
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.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (1.48s)
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/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
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-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-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-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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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-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-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-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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
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-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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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.38.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-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-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-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-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-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1428]
[Planning 955 / 1428]
[Planning deferred tasks]
[Starting]
[63 / 489] SwiftProtobuf
[257 / 499] _AtomicsShims
[260 / 517] SwiftProtobuf
[260 / 517] _NIODataStructures
[271 / 517] SystemPackage
[272 / 517] _NIOBase64
[279 / 518] SystemPackage
[281 / 518] _NIOBase64
[282 / 518] SystemPackage-product
[284 / 518] SystemPackage
[285 / 518] SwiftProtobuf
[288 / 518] SwiftProtobuf
[294 / 519] _NIODataStructures
[295 / 519] SwiftProtobuf-product
[296 / 519] SwiftProtobuf-product
[298 / 519] SwiftProtobuf
[299 / 519] SwiftProtobuf
[301 / 521] _NIOBase64
[303 / 521] Logging
[305 / 537] Logging
[307 / 537] NIOConcurrencyHelpers
[309 / 537] NIOConcurrencyHelpers
[313 / 538] NIOConcurrencyHelpers
[319 / 538] Logging
[323 / 538] NIOConcurrencyHelpers
[324 / 538] Logging
[325 / 538] Logging
[326 / 538] Logging
[327 / 538] Logging
[330 / 539] NIOConcurrencyHelpers
[330 / 539] Logging-product
[333 / 539]
[334 / 540]
[337 / 551] ArgumentParserToolInfo
[339 / 562] Atomics
[342 / 562] CProfileRecorderSwiftELF
[344 / 562] CProfileRecorderSwiftELF
[346 / 562] CProfileRecorderSampler
[349 / 562] ArgumentParserToolInfo
[355 / 562] CNIOWindows
[361 / 562] SwiftProtobuf
[363 / 562] InternalCollectionsUtilities
[364 / 562] InternalCollectionsUtilities
[365 / 562] InternalCollectionsUtilities
[366 / 562] InternalCollectionsUtilities
[368 / 563] Logging
[370 / 563] Logging
[372 / 563] Logging
[379 / 563] InternalCollectionsUtilities
[380 / 563] SpanPreview
[381 / 563] SpanPreview
[382 / 563] ArgumentParserToolInfo
[383 / 563] ArgumentParser
[386 / 563] CNIOWASI
[390 / 563] CNIOPosix
[393 / 563] CNIOLLHTTP
[400 / 564] CNIOAtomics
[401 / 564] CNIODarwin
[403 / 564] InternalCollectionsUtilities
[405 / 564] Atomics
[408 / 569] SpanPreview
[409 / 569] SpanPreview
[415 / 569] SpanPreview
[417 / 570] CNIOPosix
[420 / 580] DequeModule
[421 / 580] SpanPreview
[428 / 580] CNIOAtomics
[430 / 580] DequeModule
[431 / 580] DequeModule
[432 / 580] CNIOAtomics
[433 / 581] DequeModule
[435 / 581] DequeModule
[435 / 581] CSystem
[436 / 581] SystemPackage
[437 / 581] Atomics-product
[438 / 581] ArgumentParserToolInfo
[440 / 582]
[443 / 582]
[444 / 583] ArgumentParser
[448 / 592] ArgumentParser
[449 / 592] ArgumentParser
[450 / 592] ArgumentParser
[451 / 592] ArgumentParser
[453 / 592] ArgumentParser
[457 / 592] ArgumentParser
[458 / 592] ArgumentParser-product
[458 / 592] DequeModule
[458 / 593] ArgumentParser
[458 / 594] SwiftProtobuf
[459 / 594] SwiftProtobuf
[461 / 594] DequeModule
[468 / 595]
[469 / 596]
[478 / 614] DequeModule
[479 / 614] NIOCore
[480 / 614] NIOCore
[480 / 614] Configuration
[483 / 614] Configuration
[488 / 615] NIOCore
[490 / 615] NIOCore
[490 / 615] DequeModule
[492 / 615] Configuration
[493 / 615] Configuration-product
[495 / 615] Configuration-product
[497 / 615] ArgumentParser
[497 / 615] Configuration
[497 / 615] NIOCore
[498 / 616] Configuration
[500 / 616] Configuration
[500 / 616] NIOCore
[500 / 617] NIOCore
[516 / 627] NIOFoundationEssentialsCompat
[519 / 636] NIOCore
[522 / 636] NIOPosix
[523 / 636] NIOFoundationEssentialsCompat
[529 / 636] NIOEmbedded
[533 / 636] NIOEmbedded
[534 / 636] NIOPosix
[536 / 637] NIOPosix
[537 / 638] NIOPosix
[538 / 638] NIOFoundationEssentialsCompat
[539 / 638] NIOFoundationEssentialsCompat-product
[543 / 638] NIOCore-product
[543 / 638] NIOPosix
[552 / 642] _NIOFileSystem
[555 / 651] _NIOFileSystem
[556 / 652] NIO
[558 / 652] NIO
[562 / 652] NIO
[563 / 652] _NIOFileSystem
[564 / 652] _NIOFileSystem
[565 / 652] _NIOFileSystem
[566 / 652] _NIOFileSystem
[568 / 652] _NIOFileSystem
[572 / 652]
[577 / 659] NIOHTTP1
[578 / 667] NIOHTTP1
[579 / 667] NIOHTTP1
[580 / 667] NIOFoundationCompat
[582 / 668] NIOFoundationCompat
[587 / 668] NIOHTTP1
[588 / 668] NIOPosix
[590 / 668] NIOPosix
[591 / 668] NIOHTTP1
[591 / 668] NIOPosix
[592 / 668] NIOHTTP1
[598 / 668] NIOHTTP1
[599 / 668] NIOHTTP1
[600 / 668] NIOHTTP1-product
[601 / 668] NIOHTTP1-product
[604 / 671] NIOFileSystem
[610 / 672] NIOPosix
[614 / 676] NIOFileSystem
[618 / 676] ProfileRecorderHelpers
[624 / 679] NIOFileSystem
[628 / 683] _NIOFileSystem
[629 / 683] NIO
[632 / 693] NIOExtras
[633 / 693] _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 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[635 / 694] _NIOFileSystem
[638 / 694] ProfileRecorder
[644 / 695] _NIOFileSystem
[646 / 695] NIOHTTP1
[648 / 695] NIOExtras
/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>
[649 / 695] NIOExtras
[650 / 695] NIO
[652 / 696] NIOExtras
[659 / 696] NIOHTTP1
[663 / 696] ProfileRecorder-product
[663 / 696] NIOExtras
[669 / 697] _ProfileRecorderSampleConversion
[676 / 706] _ProfileRecorderSampleConversion
[677 / 706] _ProfileRecorderSampleConversion
[678 / 707] _ProfileRecorderSampleConversion
[680 / 708] NIOExtras
[683 / 708] NIOExtras
[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>
[698 / 718] ProfileRecorderServer
[700 / 718] swipr-sample-conv-product
[706 / 720] swipr-mini-demo-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.  */
[713 / 723] swipr-mini-demo-product
[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>
[716 / 724] ProfileRecorderServer
[717 / 724] _ProfileRecorderSampleConversion
/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>
[725 / 725] _ProfileRecorderSampleConversion-product
[725 / 725] swipr-sample-conv-product
Build complete! (112.38 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.