Build Information
Successful build of swift-profile-recorder, reference main (45b2e7), with Swift 6.4 for macOS (SPM) on 20 Nov 2026 17:38:50 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-profile-recorder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-profile-recorder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 45b2e71 Run the Main workflow's macOS tests on the general pool unless scheduled (#82)
Cloned https://github.com/apple/swift-profile-recorder.git
Revision (git rev-parse @):
45b2e712d6fd1fc23b35bbaae5341959addbb14b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-profile-recorder.git at main
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio.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-system.git
[1/4246] Fetching swift-configuration
[2/12790] Fetching swift-configuration, swift-log
[3/19571] Fetching swift-configuration, swift-log, swift-nio-extras
[871/27190] Fetching swift-configuration, swift-log, swift-nio-extras, swift-system
[18977/43920] Fetching swift-configuration, swift-log, swift-nio-extras, swift-system, async-http-client
[28024/101405] Fetching swift-configuration, swift-log, swift-nio-extras, swift-system, async-http-client, swift-protobuf
[30032/188355] Fetching swift-configuration, swift-log, swift-nio-extras, swift-system, async-http-client, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-log.git (13.30s)
Fetched https://github.com/swift-server/async-http-client.git (13.30s)
Fetched https://github.com/apple/swift-nio.git (13.30s)
Fetched https://github.com/apple/swift-system.git (13.30s)
Fetched https://github.com/apple/swift-configuration.git (13.30s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-argument-parser.git
[49895/64266] Fetching swift-nio-extras, swift-protobuf
[53345/66202] Fetching swift-nio-extras, swift-protobuf, swift-atomics
[56387/85640] Fetching swift-nio-extras, swift-protobuf, swift-atomics, swift-argument-parser
Fetched https://github.com/apple/swift-atomics.git (1.09s)
[56033/83704] Fetching swift-nio-extras, swift-protobuf, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (2.14s)
[59668/64266] Fetching swift-nio-extras, swift-protobuf
Fetched https://github.com/apple/swift-nio-extras.git (18.59s)
Fetched https://github.com/apple/swift-protobuf.git (18.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (19.29s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (11.07s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
[1/2898] Fetching swift-service-lifecycle
[2899/33243] Fetching swift-service-lifecycle, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle (4.02s)
Fetched https://github.com/apple/swift-collections (4.02s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (4.64s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6904] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.23s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (1.92s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.59s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.62s)
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.59s)
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-service-context.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1552] Fetching swift-service-context
[188/4433] Fetching swift-service-context, swift-nio-transport-services
[515/11158] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing
[516/17346] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing, swift-algorithms
[1518/34312] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing, swift-algorithms, swift-nio-ssl
[3646/46750] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing, swift-algorithms, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-distributed-tracing.git (2.41s)
Fetched https://github.com/apple/swift-algorithms.git (2.41s)
Fetched https://github.com/apple/swift-nio-http2.git (2.41s)
[18515/21399] Fetching swift-service-context, swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.90s)
Fetched https://github.com/apple/swift-service-context.git (2.90s)
Fetched https://github.com/apple/swift-nio-transport-services.git (2.90s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.22s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.79s)
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.54s)
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.53s)
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.54s)
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.55s)
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.57s)
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.70s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1990] Fetching swift-http-types
[2/3274] Fetching swift-http-types, swift-http-structured-headers
[28/5353] Fetching swift-http-types, swift-http-structured-headers, swift-asn1
[1016/13033] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git (1.04s)
[3812/10954] Fetching swift-http-types, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-certificates.git (1.43s)
Fetched https://github.com/apple/swift-http-types.git (1.43s)
Fetched https://github.com/apple/swift-http-structured-headers.git (1.43s)
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 (2.01s)
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.55s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.62s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.63s)
Fetching https://github.com/apple/swift-crypto.git
[1/18987] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (3.73s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (4.43s)
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.55s)
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio-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-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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-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-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-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-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-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-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-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-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-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-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-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-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-profile-recorder",
"name": "swift-profile-recorder",
"url": "https://github.com/apple/swift-profile-recorder.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-profile-recorder",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.8.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.17.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.105.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.7.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system",
"version": "1.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-extras",
"name": "swift-nio-extras",
"url": "https://github.com/apple/swift-nio-extras.git",
"version": "1.35.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-extras",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.105.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.7.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system",
"version": "1.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-http2",
"name": "swift-nio-http2",
"url": "https://github.com/apple/swift-nio-http2.git",
"version": "1.46.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-http2",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.105.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.7.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system",
"version": "1.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-http-types",
"name": "swift-http-types",
"url": "https://github.com/apple/swift-http-types.git",
"version": "1.8.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-http-types",
"traits": [
"FoundationURL"
],
"dependencies": [
]
},
{
"identity": "swift-http-structured-headers",
"name": "swift-http-structured-headers",
"url": "https://github.com/apple/swift-http-structured-headers.git",
"version": "1.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-http-structured-headers",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-algorithms",
"name": "swift-algorithms",
"url": "https://github.com/apple/swift-algorithms.git",
"version": "1.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-algorithms",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-numerics",
"name": "swift-numerics",
"url": "https://github.com/apple/swift-numerics.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-certificates",
"name": "swift-certificates",
"url": "https://github.com/apple/swift-certificates.git",
"version": "1.21.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-certificates",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-crypto",
"name": "swift-crypto",
"url": "https://github.com/apple/swift-crypto.git",
"version": "5.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-asn1",
"name": "swift-asn1",
"url": "https://github.com/apple/swift-asn1.git",
"version": "1.7.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-asn1",
"name": "swift-asn1",
"url": "https://github.com/apple/swift-asn1.git",
"version": "1.7.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-ssl",
"name": "swift-nio-ssl",
"url": "https://github.com/apple/swift-nio-ssl.git",
"version": "2.37.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-ssl",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.105.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.7.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system",
"version": "1.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
},
{
"identity": "swift-asn1",
"name": "swift-asn1",
"url": "https://github.com/apple/swift-asn1.git",
"version": "1.7.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-service-lifecycle",
"name": "swift-service-lifecycle",
"url": "https://github.com/swift-server/swift-service-lifecycle",
"version": "2.13.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-service-lifecycle",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.17.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-async-algorithms",
"name": "swift-async-algorithms",
"url": "https://github.com/apple/swift-async-algorithms.git",
"version": "1.1.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-async-algorithms",
"traits": [
],
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.7.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
}
]
}
]
},
{
"identity": "swift-async-algorithms",
"name": "swift-async-algorithms",
"url": "https://github.com/apple/swift-async-algorithms.git",
"version": "1.1.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-async-algorithms",
"traits": [
],
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.7.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
}
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.17.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
}
]
},
{
"identity": "swift-protobuf",
"name": "SwiftProtobuf",
"url": "https://github.com/apple/swift-protobuf.git",
"version": "1.41.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-protobuf",
"traits": [
"BinaryDelimitedStreams",
"FieldMaskUtilities"
],
"dependencies": [
]
},
{
"identity": "swift-configuration",
"name": "swift-configuration",
"url": "https://github.com/apple/swift-configuration.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-configuration",
"traits": [
"JSON"
],
"dependencies": [
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system",
"version": "1.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.7.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-service-lifecycle",
"name": "swift-service-lifecycle",
"url": "https://github.com/swift-server/swift-service-lifecycle",
"version": "2.13.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-service-lifecycle",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.17.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-async-algorithms",
"name": "swift-async-algorithms",
"url": "https://github.com/apple/swift-async-algorithms.git",
"version": "1.1.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-async-algorithms",
"traits": [
],
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.7.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
}
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/apple/swift-profile-recorder.git
[1/2401] Fetching swift-profile-recorder
Fetched https://github.com/apple/swift-profile-recorder.git (1.16s)
Fetching https://github.com/apple/swift-configuration.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-nio-extras.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetched https://github.com/apple/swift-protobuf.git from cache (0.74s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.79s)
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
Fetched https://github.com/apple/swift-nio.git from cache (0.84s)
Fetched https://github.com/apple/swift-configuration.git from cache (0.93s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.93s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (1.01s)
Fetching https://github.com/apple/swift-collections from cache
Fetching https://github.com/swift-server/swift-service-lifecycle from cache
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-collections from cache (0.63s)
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.67s)
Fetched https://github.com/apple/swift-system from cache (0.67s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.74s)
Fetching https://github.com/apple/swift-async-algorithms.git from cache
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.53s)
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.61s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.05s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.03s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.51s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.9.0 (0.57s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.03s)
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.03s)
Fetching https://github.com/apple/swift-nio-http2.git from cache
Fetching https://github.com/apple/swift-asn1.git from cache
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/apple/swift-certificates.git from cache
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/apple/swift-http-types.git from cache
Fetching https://github.com/apple/swift-http-structured-headers.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.52s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.58s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.58s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.60s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.60s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.61s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.68s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (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.03s)
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.03s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.03s)
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.03s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.03s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (0.58s)
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.64s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (0.03s)
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.03s)
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-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.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-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-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-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-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-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/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-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-profile-recorder.git
Working copy of https://github.com/apple/swift-profile-recorder.git resolved at main (45b2e71)
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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.9.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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-nio-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
Found 6 product dependencies
- swift-argument-parser
- swift-log
- swift-nio
- swift-nio-extras
- SwiftProtobuf
- swift-configuration
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/apple/swift-profile-recorder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 65]
[Pre-planning 1 / 1486]
[Planning deferred tasks]
[Starting]
[262 / 581] ArgumentParser
[282 / 581]
[295 / 590] SystemPackage
[300 / 600] Atomics
[306 / 624] CProfileRecorderDarwin
[315 / 658] _NIODataStructures
[329 / 707] ArgumentParserToolInfo
[362 / 707]
[367 / 707]
[375 / 736]
[390 / 736] InternalCollectionsUtilities
[398 / 736] CSystem
[403 / 736] CSystem
[418 / 746]
[433 / 755]
[446 / 771]
[455 / 771]
[464 / 771]
[473 / 771] _NIODataStructures
[502 / 771] Logging
[515 / 771]
[521 / 771] SystemPackage
[525 / 771] CNIOLLHTTP
[528 / 771] CNIODarwin
[532 / 771] SystemPackage
[536 / 771] SystemPackage
[538 / 771] SystemPackage
[540 / 771] NIOConcurrencyHelpers
[545 / 771] NIOConcurrencyHelpers
[547 / 771] Logging
[552 / 771] SystemPackage
[562 / 771] SystemPackage-product
[565 / 771] SwiftProtobuf
[567 / 771] SwiftProtobuf
[568 / 771] SwiftProtobuf
[569 / 771] SwiftProtobuf
[570 / 771] SwiftProtobuf
[575 / 771] SwiftProtobuf
[583 / 771] Atomics-product
[587 / 771] ArgumentParserToolInfo
[593 / 772]
[596 / 777] SwiftProtobuf
[606 / 778] SpanPreview
[611 / 789] DequeModule
[613 / 802]
[616 / 802]
[619 / 802] ArgumentParser
[622 / 802] CNIOAtomics
[630 / 802] ArgumentParser
[631 / 802] ArgumentParser
[633 / 802] ArgumentParser
[636 / 802] ArgumentParser
[649 / 802]
[652 / 804]
[653 / 804] ArgumentParser
[653 / 804] NIOCore
[666 / 828] Configuration
[666 / 828] ArgumentParser
[671 / 828] NIOCore
[675 / 828] Configuration
[681 / 828] Configuration
[683 / 828] Configuration-product
[687 / 828] Configuration
[688 / 828] ArgumentParser
[689 / 828] Configuration
[689 / 828] NIOCore
[689 / 828] Configuration
[691 / 828] NIOCore
[702 / 831] NIOEmbedded
[706 / 835] NIOFoundationEssentialsCompat
[713 / 853]
[733 / 853] NIOPosix
[734 / 853] NIOPosix
[736 / 853] NIOPosix
[737 / 853] NIOFoundationEssentialsCompat
[740 / 853] NIOPosix
[748 / 855] NIOPosix
[748 / 855] NIO
[759 / 868] NIO
[760 / 868] NIO
[768 / 868] NIO
[777 / 871]
[777 / 871] _NIOFileSystem
[778 / 883]
[785 / 889] NIOFileSystem
[789 / 889] NIOFileSystem
[803 / 889] NIOHTTP1
[805 / 889] NIOHTTP1
[813 / 889] _NIOFileSystem-product
[819 / 893] _NIOFileSystem
[828 / 895] NIOExtras
[835 / 906] NIOHTTP1
[847 / 941]
[857 / 941]
[863 / 941] NIOPosix
[866 / 941]
[875 / 941]
[878 / 941]
[880 / 941]
[882 / 941]
[885 / 941]
[887 / 941]
[888 / 941]
[892 / 941] ProfileRecorder
[905 / 942] ProfileRecorder
[910 / 942] _ProfileRecorderSampleConversion
[924 / 956] _ProfileRecorderSampleConversion
[934 / 958] _ProfileRecorderSampleConversion
[934 / 958] ProfileRecorderServer
[938 / 968]
[953 / 969] swipr-sample-conv-product
[954 / 969] swipr-sample-conv-product
[957 / 971] swipr-mini-demo-product
[958 / 971] ProfileRecorderServer
[960 / 971] swipr-mini-demo-product
[960 / 971] _ProfileRecorderSampleConversion
[967 / 971] _ProfileRecorderSampleConversion-product
[967 / 971] swipr-sample-conv-product
[971 / 971] swipr-mini-demo-product
Build complete! (26.57 sec)
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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(
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:87: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;36m85 |[0;0m
[0;36m86 |[0;0m #if canImport(Darwin)
[0;36m87 |[0;0m private var lzmaHandle = dlopen("liblzma.dylib", 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;36m88 |[0;0m private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
[0;36m89 |[0;0m private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:88: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;36m86 |[0;0m #if canImport(Darwin)
[0;36m87 |[0;0m private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
[0;36m88 |[0;0m private var zlibHandle = dlopen("libz.dylib", 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;36m89 |[0;0m private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
[0;36m90 |[0;0m #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:89: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;36m87 |[0;0m private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
[0;36m88 |[0;0m private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
[0;36m89 |[0;0m private var zstdHandle = dlopen("libzstd.dylib", 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;36m90 |[0;0m #elseif os(Linux)
[0;36m91 |[0;0m private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
/Users/admin/builder/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
/Users/admin/builder/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 ................................................................
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:87: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;36m85 |[0;0m
[0;36m86 |[0;0m #if canImport(Darwin)
[0;36m87 |[0;0m private var lzmaHandle = dlopen("liblzma.dylib", 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;36m88 |[0;0m private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
[0;36m89 |[0;0m private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:88: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;36m86 |[0;0m #if canImport(Darwin)
[0;36m87 |[0;0m private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
[0;36m88 |[0;0m private var zlibHandle = dlopen("libz.dylib", 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;36m89 |[0;0m private var zstdHandle = dlopen("libzstd.dylib", RTLD_LAZY)
[0;36m90 |[0;0m #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/ProfileRecorderSampleConversion/NativeELFSymboliser/Compression.swift:89: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;36m87 |[0;0m private var lzmaHandle = dlopen("liblzma.dylib", RTLD_LAZY)
[0;36m88 |[0;0m private var zlibHandle = dlopen("libz.dylib", RTLD_LAZY)
[0;36m89 |[0;0m private var zstdHandle = dlopen("libzstd.dylib", 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;36m90 |[0;0m #elseif os(Linux)
[0;36m91 |[0;0m private var lzmaHandle = dlopen("liblzma.so.5", RTLD_LAZY)
/Users/admin/builder/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
/Users/admin/builder/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 ................................................................
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
Build complete.
{
"cxx_language_standard" : "c++14",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.99.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.31.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.25.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-configuration",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-configuration.git"
}
],
"manifest_display_name" : "swift-profile-recorder",
"name" : "swift-profile-recorder",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ProfileRecorder",
"targets" : [
"ProfileRecorder"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ProfileRecorderServer",
"targets" : [
"ProfileRecorderServer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swipr-sample-conv",
"targets" : [
"swipr-sample-conv"
],
"type" : {
"executable" : null
}
},
{
"name" : "_ProfileRecorderSampleConversion",
"targets" : [
"_ProfileRecorderSampleConversion"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swipr-mini-demo",
"targets" : [
"swipr-mini-demo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swipr_sample_conv",
"module_type" : "SwiftTarget",
"name" : "swipr-sample-conv",
"path" : "Sources/swipr-sample-conv",
"product_dependencies" : [
"ArgumentParser",
"NIOFoundationCompat",
"Logging"
],
"product_memberships" : [
"swipr-sample-conv"
],
"sources" : [
"LLVMJSONOutputParserHandler.swift",
"LLVMOutputParserHandler.swift",
"LLVMStackFrameEncoderHandler.swift",
"LLVMSymbolizer.swift",
"MainFile.swift"
],
"target_dependencies" : [
"CProfileRecorderSwiftELF",
"_ProfileRecorderSampleConversion",
"ProfileRecorderHelpers",
"ProfileRecorder"
],
"type" : "executable"
},
{
"c99name" : "swipr_mini_demo",
"module_type" : "SwiftTarget",
"name" : "swipr-mini-demo",
"path" : "Sources/swipr-mini-demo",
"product_dependencies" : [
"ArgumentParser",
"NIO",
"Logging"
],
"product_memberships" : [
"swipr-mini-demo"
],
"sources" : [
"Main.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"ProfileRecorderServer",
"ProfileRecorderHelpers"
],
"type" : "executable"
},
{
"c99name" : "_ProfileRecorderSampleConversion",
"module_type" : "SwiftTarget",
"name" : "_ProfileRecorderSampleConversion",
"path" : "Sources/ProfileRecorderSampleConversion",
"product_dependencies" : [
"NIO",
"Logging",
"NIOExtras"
],
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"Coders.swift",
"CoreSymbolication/CoreSymbolication.swift",
"CoreSymbolication/CoreSymbolicationHelper.swift",
"CoreSymbolication/CoreSymbolicationSymboliser.swift",
"FakeSymbolizer.swift",
"HelperFunctions.swift",
"NIOTimeAmount+PrettyPrint.swift",
"NativeELFSymboliser/AggregatingSymbolSource.swift",
"NativeELFSymboliser/BacktracerThreadLocals.swift",
"NativeELFSymboliser/ByteSwapping.swift",
"NativeELFSymboliser/Compression.swift",
"NativeELFSymboliser/DefaultSymbolLocator.swift",
"NativeELFSymboliser/Dwarf.swift",
"NativeELFSymboliser/Elf.swift",
"NativeELFSymboliser/ElfImageCache.swift",
"NativeELFSymboliser/Image.swift",
"NativeELFSymboliser/ImageSource.swift",
"NativeELFSymboliser/Libc.swift",
"NativeELFSymboliser/MemoryReader.swift",
"NativeELFSymboliser/PDB/Bitset.swift",
"NativeELFSymboliser/PDB/FunctionInfo.swift",
"NativeELFSymboliser/PDB/Hashes.swift",
"NativeELFSymboliser/PDB/ISO8859-1.swift",
"NativeELFSymboliser/PDB/Module.swift",
"NativeELFSymboliser/PDB/MultiStreamFile.swift",
"NativeELFSymboliser/PDB/NameTableNI.swift",
"NativeELFSymboliser/PDB/PDBFile+SymbolSource.swift",
"NativeELFSymboliser/PDB/PDBFile.swift",
"NativeELFSymboliser/PDB/SectionInfo.swift",
"NativeELFSymboliser/PDB/String+EncodeAs.swift",
"NativeELFSymboliser/PDB/Windows1252.swift",
"NativeELFSymboliser/PDBCache.swift",
"NativeELFSymboliser/PeCoff.swift",
"NativeELFSymboliser/PeImageCache.swift",
"NativeELFSymboliser/Registers.swift",
"NativeELFSymboliser/SymbolLocator.swift",
"NativeELFSymboliser/Utils.swift",
"OutputFormatRendering/FlamegraphCollapsed.swift",
"OutputFormatRendering/PerfScript.swift",
"OutputFormatRendering/Pprof.swift",
"OutputFormatRendering/RendererTypes.swift",
"ProfileRecorderAddtions+Types.swift",
"ProfileRecorderSampleConverter.swift",
"SampleAggregator.swift",
"Sampler+Conversion.swift",
"Symboliser.swift",
"Types.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"CProfileRecorderSwiftELF",
"CProfileRecorderDarwin",
"ProfileRecorderPprofFormat",
"ProfileRecorderHelpers"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorderTests",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderTests",
"path" : "Tests/ProfileRecorderTests",
"product_dependencies" : [
"Atomics",
"NIO",
"Logging",
"_NIOFileSystem",
"SystemPackage"
],
"sources" : [
"ProfileRecorderTests.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"_ProfileRecorderSampleConversion",
"ProfileRecorderHelpers"
],
"type" : "test"
},
{
"c99name" : "ProfileRecorderServerTests",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderServerTests",
"path" : "Tests/ProfileRecorderServerTests",
"product_dependencies" : [
"Atomics",
"NIO",
"Logging",
"_NIOFileSystem",
"AsyncHTTPClient"
],
"sources" : [
"ProfileRecorderConfigurationTests.swift",
"ProfileRecorderServerTests.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"ProfileRecorderServer",
"_ProfileRecorderSampleConversion",
"ProfileRecorderHelpers"
],
"type" : "test"
},
{
"c99name" : "ProfileRecorderServer",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderServer",
"path" : "Sources/ProfileRecorderServer",
"product_dependencies" : [
"NIO",
"NIOHTTP1",
"NIOFoundationEssentialsCompat",
"_NIOFileSystem",
"Logging",
"Configuration"
],
"product_memberships" : [
"ProfileRecorderServer",
"swipr-mini-demo"
],
"sources" : [
"Server.swift"
],
"target_dependencies" : [
"ProfileRecorderHelpers",
"ProfileRecorder",
"_ProfileRecorderSampleConversion",
"ProfileRecorderPprofFormat"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorderSampleConversionTests",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderSampleConversionTests",
"path" : "Tests/ProfileRecorderSampleConversionTests",
"product_dependencies" : [
"Atomics",
"NIO",
"Logging",
"_NIOFileSystem"
],
"sources" : [
"CachedSymbolizerTests.swift",
"FlamegraphCollapsedTests.swift",
"Helpers.swift",
"NativeELFSymboliserTests.swift",
"PerfScriptTests.swift",
"PprofTests.swift",
"SampleConversionTests.swift"
],
"target_dependencies" : [
"ProfileRecorder",
"_ProfileRecorderSampleConversion",
"ProfileRecorderPprofFormat",
"ProfileRecorderHelpers"
],
"type" : "test"
},
{
"c99name" : "ProfileRecorderPprofFormat",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderPprofFormat",
"path" : "Sources/ProfileRecorderPprofFormat",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"profile.pb.swift"
],
"target_dependencies" : [
"ProfileRecorderHelpers"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorderHelpers",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorderHelpers",
"path" : "Sources/ProfileRecorderHelpers",
"product_dependencies" : [
"NIO",
"_NIOFileSystem"
],
"product_memberships" : [
"ProfileRecorder",
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"Helpers.swift"
],
"type" : "library"
},
{
"c99name" : "ProfileRecorder",
"module_type" : "SwiftTarget",
"name" : "ProfileRecorder",
"path" : "Sources/ProfileRecorder",
"product_dependencies" : [
"NIO",
"_NIOFileSystem"
],
"product_memberships" : [
"ProfileRecorder",
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"ProfileRecorderSampler.swift"
],
"target_dependencies" : [
"ProfileRecorderHelpers",
"CProfileRecorderSampler"
],
"type" : "library"
},
{
"c99name" : "CProfileRecorderSwiftELF",
"module_type" : "ClangTarget",
"name" : "CProfileRecorderSwiftELF",
"path" : "Sources/CProfileRecorderSwiftELF",
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"empty.c"
],
"type" : "library"
},
{
"c99name" : "CProfileRecorderSampler",
"module_type" : "ClangTarget",
"name" : "CProfileRecorderSampler",
"path" : "Sources/CProfileRecorderSampler",
"product_memberships" : [
"ProfileRecorder",
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"fp_unwinder.c",
"os_dep_darwin.c",
"os_dep_linux.c",
"sampler.c"
],
"type" : "library"
},
{
"c99name" : "CProfileRecorderDarwin",
"module_type" : "ClangTarget",
"name" : "CProfileRecorderDarwin",
"path" : "Sources/CProfileRecorderDarwin",
"product_memberships" : [
"ProfileRecorderServer",
"swipr-sample-conv",
"_ProfileRecorderSampleConversion",
"swipr-mini-demo"
],
"sources" : [
"empty.c"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/apple/swift-profile-recorder/main
Repository: apple/swift-profile-recorder
Swift version used: 6.4
Target: ProfileRecorderServer
Extracting symbol information for 'ProfileRecorderServer'...
Updating https://github.com/apple/swift-atomics.git
Updating https://github.com/apple/swift-distributed-tracing.git
Updating https://github.com/apple/swift-nio-http2.git
Updating https://github.com/apple/swift-async-algorithms.git
Updating https://github.com/apple/swift-certificates.git
Updating https://github.com/apple/swift-http-types.git
Updating https://github.com/swift-server/async-http-client.git
Updated https://github.com/apple/swift-nio-http2.git (0.59s)
Updating https://github.com/apple/swift-nio-ssl.git
Updated https://github.com/swift-server/async-http-client.git (0.70s)
Updating https://github.com/apple/swift-log.git
Updated https://github.com/apple/swift-async-algorithms.git (0.73s)
Updated https://github.com/apple/swift-http-types.git (0.73s)
Updated https://github.com/apple/swift-distributed-tracing.git (0.73s)
Updated https://github.com/apple/swift-atomics.git (0.73s)
Updated https://github.com/apple/swift-certificates.git (0.73s)
Updating https://github.com/apple/swift-nio-transport-services.git
Updating https://github.com/apple/swift-nio.git
Updating https://github.com/apple/swift-crypto.git
Updating https://github.com/apple/swift-service-context.git
Updating https://github.com/apple/swift-system.git
Updated https://github.com/apple/swift-nio-ssl.git (0.55s)
Updating https://github.com/apple/swift-asn1.git
Updated https://github.com/apple/swift-log.git (0.56s)
Updating https://github.com/apple/swift-algorithms.git
Updated https://github.com/apple/swift-nio-transport-services.git (0.55s)
Updated https://github.com/apple/swift-crypto.git (0.57s)
Updating https://github.com/apple/swift-collections
Updated https://github.com/apple/swift-service-context.git (0.58s)
Updated https://github.com/apple/swift-system.git (0.58s)
Updating https://github.com/apple/swift-nio-extras.git
Updating https://github.com/apple/swift-numerics.git
Updating https://github.com/apple/swift-protobuf.git
Updated https://github.com/apple/swift-nio.git (0.84s)
Updating https://github.com/apple/swift-http-structured-headers.git
Updated https://github.com/apple/swift-asn1.git (0.51s)
Updating https://github.com/apple/swift-argument-parser.git
Updated https://github.com/apple/swift-algorithms.git (0.54s)
Updating https://github.com/swift-server/swift-service-lifecycle
Updated https://github.com/apple/swift-nio-extras.git (0.54s)
Updating https://github.com/apple/swift-configuration.git
Updated https://github.com/apple/swift-collections (0.62s)
Fetching https://github.com/swiftlang/swift-docc-plugin
Updated https://github.com/apple/swift-http-structured-headers.git (0.46s)
Updated https://github.com/apple/swift-protobuf.git (0.74s)
Updated https://github.com/apple/swift-numerics.git (0.78s)
Updated https://github.com/apple/swift-argument-parser.git (0.63s)
Updated https://github.com/swift-server/swift-service-lifecycle (0.54s)
Updated https://github.com/apple/swift-configuration.git (0.51s)
[1/2381] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (1.31s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (4.02s)
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/jpsim/Yams
[1/3643] Fetching swift-metrics
[2/15553] Fetching swift-metrics, yams
Fetched https://github.com/apple/swift-metrics (1.21s)
[834/11910] Fetching yams
Fetched https://github.com/jpsim/Yams (3.59s)
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 (4.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.57s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.61s)
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.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.54s)
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.54s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.53s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.61s)
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.53s)
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.51s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.58s)
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.52s)
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.52s)
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.56s)
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.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.60s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.64s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.53s)
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.56s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.52s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (0.65s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.51s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.13.1 (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3866] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.93s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.13.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[20 / 43] Snippets
[31 / 58] SymbolKit
[35 / 58] Snippets
[52 / 59] SymbolKit
[56 / 63] SymbolKit
[59 / 63] snippet-extract-product
[61 / 63] snippet-extract-product
Build complete! (2.43 sec)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1519]
[Planning 1519 / 1519]
[Creating build graph]
[Starting]
[3 / 464] _NIOBase64
[64 / 349]
[76 / 331] _NIOBase64
[82 / 341] Atomics
[86 / 356]
[98 / 404]
[105 / 461] ConcurrencyHelpers
[116 / 461] CoreMetrics
[135 / 453]
[139 / 453]
[152 / 449] SystemPackage
[160 / 449] SystemPackage
[165 / 445] Atomics
[169 / 445] SwiftProtobuf
[170 / 445] SwiftProtobuf
[173 / 445]
[175 / 445]
[178 / 445] SwiftProtobuf
[179 / 445]
[181 / 445]
[189 / 437]
[190 / 437]
[195 / 437] NIOConcurrencyHelpers
[196 / 438] _NIOBase64
[202 / 439] _NIODataStructures
[209 / 439] Logging
[216 / 439] InternalCollectionsUtilities
[222 / 445] SpanPreview
[227 / 449] SpanPreview
[237 / 445] SpanPreview
[245 / 446] Yams
[250 / 457] Yams
[252 / 457] Yams
[254 / 457] UnixSignals
[266 / 457] Yams
[271 / 457] Yams-product
[278 / 457] Atomics
[283 / 457] Atomics
[285 / 454]
[294 / 453] Yams
[299 / 464] OrderedCollections
[300 / 467] UnixSignals
[303 / 469] DequeModule
[316 / 465] OrderedCollections
[324 / 465] UnixSignals
[330 / 464]
[332 / 464] NIOCore
[340 / 475] NIOCore
[342 / 475] OrderedCollections
[345 / 475] OrderedCollections
[353 / 476]
[353 / 476] AsyncAlgorithms
[358 / 487] AsyncAlgorithms
[360 / 487] SystemPackage
[361 / 486] SystemPackage
[364 / 486] AsyncAlgorithms
[365 / 486] AsyncAlgorithms
[373 / 487] AsyncAlgorithms
[381 / 497] ServiceLifecycle
[385 / 497] ServiceLifecycle
[393 / 498] ServiceLifecycle
[396 / 510]
[406 / 510] Configuration
[407 / 510] Configuration
[407 / 510] NIOCore
[422 / 518] Configuration
[422 / 518] NIOEmbedded
[431 / 525] Configuration
[436 / 536] NIOPosix
[443 / 528] NIOEmbedded
[447 / 528] NIOFoundationEssentialsCompat
[448 / 526] NIOPosix
[454 / 524] NIO
[456 / 526] _NIOFileSystem
[465 / 537] _NIOFileSystem
[467 / 537] _NIOFileSystem
[470 / 539] NIOFileSystem
[471 / 539] NIOFileSystem
[473 / 541] NIO
[478 / 538] NIOFileSystem
[492 / 548] NIOHTTP1
[496 / 544] ProfileRecorderHelpers
[498 / 549] ProfileRecorderPprofFormat
[503 / 551]
[509 / 550] ProfileRecorder
/Users/admin/builder/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>
[512 / 552] ProfileRecorder
/Users/admin/builder/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>
[526 / 563] ProfileRecorder
[530 / 562] NIOExtras
[536 / 556] NIOExtras
[537 / 555] _ProfileRecorderSampleConversion
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:26:1: error: conflicting types for 'swipr_os_dep_get_thread_id'
26 | swipr_os_dep_get_thread_id(void) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:49:1: note: previous definition is here
49 | swipr_os_dep_get_thread_id(void) {
| ^
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:27:12: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
27 | return syscall(SYS_gettid);
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/unistd.h:754:6: note: 'syscall' has been explicitly marked deprecated here
754 | int syscall(int, ...);
| ^
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:30:19: error: conflicting types for 'swipr_os_dep_kill'
30 | static inline int swipr_os_dep_kill(swipr_os_dep_thread_id tid, int sig) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_darwin.h:23:19: note: previous definition is here
23 | static inline int swipr_os_dep_kill(swipr_os_dep_thread_id thread_id, int signal) {
| ^
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:31:12: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
31 | return syscall(SYS_tgkill, getpid(), tid, sig);
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/unistd.h:754:6: note: 'syscall' has been explicitly marked deprecated here
754 | int syscall(int, ...);
| ^
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:31:20: error: use of undeclared identifier 'SYS_tgkill'
31 | return syscall(SYS_tgkill, getpid(), tid, sig);
| ^~~~~~~~~~
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:33:35: error: typedef redefinition with different types ('struct swipr_pthread_sem *' vs 'dispatch_semaphore_t' (aka 'NSObject<OS_dispatch_semaphore> *'))
33 | typedef struct swipr_pthread_sem *swipr_os_dep_sem;
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:27:30: note: previous definition is here
27 | typedef dispatch_semaphore_t swipr_os_dep_sem;
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:35:1: error: static declaration of 'dispatch_semaphore_create' follows non-static declaration
35 | swipr_os_dep_sem_create(int value) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:28:33: note: expanded from macro 'swipr_os_dep_sem_create'
28 | #define swipr_os_dep_sem_create dispatch_semaphore_create
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/dispatch/semaphore.h:66:1: note: previous declaration is here
66 | dispatch_semaphore_create(intptr_t value);
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:51:12: error: implicit conversion of C pointer type 'struct swipr_pthread_sem *' to Objective-C pointer type 'swipr_os_dep_sem' (aka 'NSObject<OS_dispatch_semaphore> *') requires a bridged cast
51 | return sem;
| ^~~
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:51:12: note: use __bridge to convert directly (no change in ownership)
51 | return sem;
| ^
| (__bridge swipr_os_dep_sem)( )
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:51:12: note: use __bridge_transfer to transfer ownership of a +1 'struct swipr_pthread_sem *' into ARC
51 | return sem;
| ^
| (__bridge_transfer swipr_os_dep_sem)( )
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:51:12: warning: incompatible pointer types returning 'struct swipr_pthread_sem *' from a function with result type 'swipr_os_dep_sem' (aka 'NSObject<OS_dispatch_semaphore> *') [-Wincompatible-pointer-types]
51 | return sem;
| ^~~
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:55:1: error: expected identifier or '('
55 | swipr_os_dep_sem_free(swipr_os_dep_sem sem) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:29:31: note: expanded from macro 'swipr_os_dep_sem_free'
29 | #define swipr_os_dep_sem_free dispatch_release
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/dispatch/object.h:304:3: note: expanded from macro 'dispatch_release'
304 | __extension__({ dispatch_object_t _o = (object); \
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:66:1: error: static declaration of 'dispatch_semaphore_signal' follows non-static declaration
66 | swipr_os_dep_sem_signal(swipr_os_dep_sem sem) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:30:33: note: expanded from macro 'swipr_os_dep_sem_signal'
30 | #define swipr_os_dep_sem_signal dispatch_semaphore_signal
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/dispatch/semaphore.h:117:1: note: previous declaration is here
117 | dispatch_semaphore_signal(dispatch_semaphore_t dsema);
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:67:40: error: 'NSObject' does not have a member named 'mutex'
67 | int err = pthread_mutex_lock(&sem->mutex);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:70:29: error: 'NSObject' does not have a member named 'value'
70 | swipr_precondition(sem->value >= 0);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:71:10: error: 'NSObject' does not have a member named 'value'
71 | sem->value++;
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:74:37: error: 'NSObject' does not have a member named 'cond'
74 | err = pthread_cond_signal(&sem->cond);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:77:38: error: 'NSObject' does not have a member named 'mutex'
77 | err = pthread_mutex_unlock(&sem->mutex);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:81:9: warning: 'swipr_os_dep_deadline' macro redefined [-Wmacro-redefined]
81 | #define swipr_os_dep_deadline struct timespec
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:31:9: note: previous definition is here
31 | #define swipr_os_dep_deadline dispatch_time_t
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:84:1: error: conflicting types for 'swipr_os_dep_create_deadline'
84 | swipr_os_dep_create_deadline(uint64_t nsecs) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:34:1: note: previous definition is here
34 | swipr_os_dep_create_deadline(uint64_t nsecs) {
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:98:1: error: redefinition of 'swipr_os_dep_sem_wait'
98 | swipr_os_dep_sem_wait(swipr_os_dep_sem sem) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:39:1: note: previous definition is here
39 | swipr_os_dep_sem_wait(swipr_os_dep_sem sem) {
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:99:40: error: 'NSObject' does not have a member named 'mutex'
99 | int err = pthread_mutex_lock(&sem->mutex);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:102:29: error: 'NSObject' does not have a member named 'value'
102 | swipr_precondition(sem->value >= 0);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:103:17: error: 'NSObject' does not have a member named 'value'
103 | while (sem->value <= 0) {
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:104:39: error: 'NSObject' does not have a member named 'cond'
104 | err = pthread_cond_wait(&sem->cond, &sem->mutex);
| ~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
4 warnings and 20 errors generated.
error: ExtractAPI /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/arm64/CProfileRecorderSampler.symbolgraphs/CProfileRecorderSampler.symbols.json failed with a nonzero exit code. Command line: cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -extract-api --extract-api-ignores\=/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/swift/compatibility-symbols -o /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/arm64/CProfileRecorderSampler.symbolgraphs/CProfileRecorderSampler.symbols.json --target\=arm64-apple-macos12.0 -isysroot /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -I/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/include -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-profile-recorder.build/Debug/CProfileRecorderSampler-t.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-profile-recorder.build/Debug/CProfileRecorderSampler-t.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-profile-recorder.build/Debug/CProfileRecorderSampler-t.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -iframework /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -fmodules -fmodules-cache-path\=/Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -fobjc-arc -DSWIFT_PACKAGE -DDEBUG\=1 --product-name\=CProfileRecorderSampler -fmodule-name\=CProfileRecorderSampler -x objective-c-header /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/asserts.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/common.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/fp_unwinder.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/include/CSampler.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/interface.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_darwin.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/sampler.h
[547 / 566] _ProfileRecorderSampleConversion
error: Build failed
error: unspecified("fatalError")
Extracting symbol information for 'ProfileRecorderServer'...
Building for debugging...
[Using on-disk description]
Build complete! (0.64 sec)
Building for debugging...
[Computing dependencies]
[Provisioning 3 / 69]
[Using on-disk description]
[1 / 156]
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:26:1: error: conflicting types for 'swipr_os_dep_get_thread_id'
26 | swipr_os_dep_get_thread_id(void) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:49:1: note: previous definition is here
49 | swipr_os_dep_get_thread_id(void) {
| ^
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:27:12: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
27 | return syscall(SYS_gettid);
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/unistd.h:754:6: note: 'syscall' has been explicitly marked deprecated here
754 | int syscall(int, ...);
| ^
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:30:19: error: conflicting types for 'swipr_os_dep_kill'
30 | static inline int swipr_os_dep_kill(swipr_os_dep_thread_id tid, int sig) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_darwin.h:23:19: note: previous definition is here
23 | static inline int swipr_os_dep_kill(swipr_os_dep_thread_id thread_id, int signal) {
| ^
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:31:12: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
31 | return syscall(SYS_tgkill, getpid(), tid, sig);
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/unistd.h:754:6: note: 'syscall' has been explicitly marked deprecated here
754 | int syscall(int, ...);
| ^
In file included from <extract-api-includes>:9:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h:31:20: error: use of undeclared identifier 'SYS_tgkill'
31 | return syscall(SYS_tgkill, getpid(), tid, sig);
| ^~~~~~~~~~
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:33:35: error: typedef redefinition with different types ('struct swipr_pthread_sem *' vs 'dispatch_semaphore_t' (aka 'NSObject<OS_dispatch_semaphore> *'))
33 | typedef struct swipr_pthread_sem *swipr_os_dep_sem;
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:27:30: note: previous definition is here
27 | typedef dispatch_semaphore_t swipr_os_dep_sem;
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:35:1: error: static declaration of 'dispatch_semaphore_create' follows non-static declaration
35 | swipr_os_dep_sem_create(int value) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:28:33: note: expanded from macro 'swipr_os_dep_sem_create'
28 | #define swipr_os_dep_sem_create dispatch_semaphore_create
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/dispatch/semaphore.h:66:1: note: previous declaration is here
66 | dispatch_semaphore_create(intptr_t value);
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:51:12: error: implicit conversion of C pointer type 'struct swipr_pthread_sem *' to Objective-C pointer type 'swipr_os_dep_sem' (aka 'NSObject<OS_dispatch_semaphore> *') requires a bridged cast
51 | return sem;
| ^~~
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:51:12: note: use __bridge to convert directly (no change in ownership)
51 | return sem;
| ^
| (__bridge swipr_os_dep_sem)( )
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:51:12: note: use __bridge_transfer to transfer ownership of a +1 'struct swipr_pthread_sem *' into ARC
51 | return sem;
| ^
| (__bridge_transfer swipr_os_dep_sem)( )
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:51:12: warning: incompatible pointer types returning 'struct swipr_pthread_sem *' from a function with result type 'swipr_os_dep_sem' (aka 'NSObject<OS_dispatch_semaphore> *') [-Wincompatible-pointer-types]
51 | return sem;
| ^~~
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:55:1: error: expected identifier or '('
55 | swipr_os_dep_sem_free(swipr_os_dep_sem sem) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:29:31: note: expanded from macro 'swipr_os_dep_sem_free'
29 | #define swipr_os_dep_sem_free dispatch_release
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/dispatch/object.h:304:3: note: expanded from macro 'dispatch_release'
304 | __extension__({ dispatch_object_t _o = (object); \
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:66:1: error: static declaration of 'dispatch_semaphore_signal' follows non-static declaration
66 | swipr_os_dep_sem_signal(swipr_os_dep_sem sem) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:30:33: note: expanded from macro 'swipr_os_dep_sem_signal'
30 | #define swipr_os_dep_sem_signal dispatch_semaphore_signal
| ^
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/dispatch/semaphore.h:117:1: note: previous declaration is here
117 | dispatch_semaphore_signal(dispatch_semaphore_t dsema);
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:67:40: error: 'NSObject' does not have a member named 'mutex'
67 | int err = pthread_mutex_lock(&sem->mutex);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:70:29: error: 'NSObject' does not have a member named 'value'
70 | swipr_precondition(sem->value >= 0);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:71:10: error: 'NSObject' does not have a member named 'value'
71 | sem->value++;
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:74:37: error: 'NSObject' does not have a member named 'cond'
74 | err = pthread_cond_signal(&sem->cond);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:77:38: error: 'NSObject' does not have a member named 'mutex'
77 | err = pthread_mutex_unlock(&sem->mutex);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:81:9: warning: 'swipr_os_dep_deadline' macro redefined [-Wmacro-redefined]
81 | #define swipr_os_dep_deadline struct timespec
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:31:9: note: previous definition is here
31 | #define swipr_os_dep_deadline dispatch_time_t
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:84:1: error: conflicting types for 'swipr_os_dep_create_deadline'
84 | swipr_os_dep_create_deadline(uint64_t nsecs) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:34:1: note: previous definition is here
34 | swipr_os_dep_create_deadline(uint64_t nsecs) {
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:98:1: error: redefinition of 'swipr_os_dep_sem_wait'
98 | swipr_os_dep_sem_wait(swipr_os_dep_sem sem) {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h:39:1: note: previous definition is here
39 | swipr_os_dep_sem_wait(swipr_os_dep_sem sem) {
| ^
In file included from <extract-api-includes>:10:
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:99:40: error: 'NSObject' does not have a member named 'mutex'
99 | int err = pthread_mutex_lock(&sem->mutex);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:102:29: error: 'NSObject' does not have a member named 'value'
102 | swipr_precondition(sem->value >= 0);
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:103:17: error: 'NSObject' does not have a member named 'value'
103 | while (sem->value <= 0) {
| ~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h:104:39: error: 'NSObject' does not have a member named 'cond'
104 | err = pthread_cond_wait(&sem->cond, &sem->mutex);
| ~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
4 warnings and 20 errors generated.
error: ExtractAPI /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/arm64/CProfileRecorderSampler.symbolgraphs/CProfileRecorderSampler.symbols.json failed with a nonzero exit code. Command line: cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -extract-api --extract-api-ignores\=/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/swift/compatibility-symbols -o /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/arm64/CProfileRecorderSampler.symbolgraphs/CProfileRecorderSampler.symbols.json --target\=arm64-apple-macos12.0 -isysroot /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -I/Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/include -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-profile-recorder.build/Debug/CProfileRecorderSampler-t.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-profile-recorder.build/Debug/CProfileRecorderSampler-t.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-profile-recorder.build/Debug/CProfileRecorderSampler-t.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -iframework /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -fmodules -fmodules-cache-path\=/Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -fobjc-arc -DSWIFT_PACKAGE -DDEBUG\=1 --product-name\=CProfileRecorderSampler -fmodule-name\=CProfileRecorderSampler -x objective-c-header /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/asserts.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/common.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/fp_unwinder.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/include/CSampler.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/interface.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_darwin.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_dispatch.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_linux.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/os_dep_pthread.h /Users/admin/builder/spi-builder-workspace/Sources/CProfileRecorderSampler/sampler.h
error: Build failed
error: unspecified("fatalError")
Error while generating docs: retryLimitExceeded(lastError: Optional(Shell command failed:
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift package --allow-writing-to-directory .docs/apple/swift-profile-recorder/main generate-documentation --emit-digest --disable-indexing --output-path .docs/apple/swift-profile-recorder/main --hosting-base-path apple/swift-profile-recorder/main --source-service github --source-service-base-url https://github.com/apple/swift-profile-recorder/blob/main --checkout-path $PWD --target ProfileRecorderServer))
✅ Doc result (failed) reported
Done.