Build Information
Failed to build PulsarClient, reference main (f32d0d), with Swift 6.4 for Linux on 23 Sep 2026 13:38:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendylabsinc/pulsar-client.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/wendylabsinc/pulsar-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f32d0da Merge pull request #21 from edgeengineer/telemetry-metrics
Cloned https://github.com/wendylabsinc/pulsar-client.git
Revision (git rev-parse @):
f32d0da6192e9db30138c64065b958d11b7e7296
SUCCESS checkout https://github.com/wendylabsinc/pulsar-client.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/wendylabsinc/pulsar-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/edgeengineer/cyclic-redundancy-check.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/8164] Fetching swift-log
[1716/11680] Fetching swift-log, swift-metrics
[2755/30229] Fetching swift-log, swift-metrics, swift-crypto
[3001/30316] Fetching swift-log, swift-metrics, swift-crypto, cyclic-redundancy-check
[9869/36656] Fetching swift-log, swift-metrics, swift-crypto, cyclic-redundancy-check, swift-distributed-tracing
Fetched https://github.com/apple/swift-log.git (0.61s)
[10422/28492] Fetching swift-metrics, swift-crypto, cyclic-redundancy-check, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-distributed-tracing.git (0.66s)
Fetching https://github.com/apple/swift-protobuf.git
[5644/22152] Fetching swift-metrics, swift-crypto, cyclic-redundancy-check
[13621/38217] Fetching swift-metrics, swift-crypto, cyclic-redundancy-check, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (0.94s)
Fetching https://github.com/apple/swift-nio.git
[1/6720] Fetching swift-async-algorithms
[69/60918] Fetching swift-async-algorithms, swift-protobuf
Fetched https://github.com/edgeengineer/cyclic-redundancy-check.git (1.80s)
Fetched https://github.com/apple/swift-async-algorithms.git (1.80s)
Fetched https://github.com/apple/swift-metrics.git (1.80s)
[4336/54198] Fetching swift-protobuf
Fetched https://github.com/apple/swift-crypto.git (1.82s)
[39024/140263] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-protobuf.git (4.17s)
Fetched https://github.com/apple/swift-nio.git (3.81s)
Computing version for https://github.com/edgeengineer/cyclic-redundancy-check.git
Computed https://github.com/edgeengineer/cyclic-redundancy-check.git at 0.0.5 (5.52s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.21s)
Fetching https://github.com/apple/swift-collections.git
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.64s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.18s)
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (1.10s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.28s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
[1876/8791] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.66s)
Fetched https://github.com/apple/swift-system.git (0.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.84s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.10s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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.3
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/edgeengineer/cyclic-redundancy-check.git
Working copy of https://github.com/edgeengineer/cyclic-redundancy-check.git resolved at 0.0.5
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/PulsarClient/Telemetry/README.md
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1226]
[Planning deferred tasks]
[Constructing 2019 / 3383]
[203 / 1193] Atomics
[235 / 1237] InternalCollectionsUtilities
[236 / 1246] CyclicRedundancyCheck
[253 / 1246] _NIODataStructures
[255 / 1246] _NIODataStructures
[266 / 1246] SwiftProtobuf
[266 / 1246] InternalCollectionsUtilities
[278 / 1246] SwiftProtobuf
[280 / 1247] _NIOBase64
[284 / 1247] SwiftProtobuf
[291 / 1248] SwiftProtobuf-product
[292 / 1248] SwiftProtobuf-product
[293 / 1248] SwiftProtobuf-product
[294 / 1249] NIOConcurrencyHelpers
[297 / 1249] SwiftProtobuf
[299 / 1249] NIOConcurrencyHelpers
[301 / 1249] NIOConcurrencyHelpers
[302 / 1249] Logging
[304 / 1249] Logging
[307 / 1250] NIOConcurrencyHelpers
[311 / 1250] Logging
[312 / 1250] InternalCollectionsUtilities
[315 / 1251] SpanPreview
[320 / 1251] InternalCollectionsUtilities
[324 / 1252] _NIOBase64
[333 / 1266] CNIOWindows
[339 / 1266] CNIOOpenBSD
[351 / 1266] CNIOLinux
[355 / 1268] InternalCollectionsUtilities
[361 / 1268] CryptoBoringWrapper
[362 / 1268] CryptoBoringWrapper
[373 / 1269] Atomics
[380 / 1283] SpanPreview
[382 / 1283] CryptoBoringWrapper
[385 / 1284] SpanPreview
[392 / 1284] CNIOBoringSSL
[393 / 1285] CoreMetrics
[394 / 1285] CNIOBoringSSL
[398 / 1285] CNIOBoringSSL
[402 / 1285] CNIOBoringSSL
[405 / 1285] CNIOBoringSSL
[408 / 1286] CNIOBoringSSL
[410 / 1286] CNIOBoringSSL
[411 / 1286] CNIOBoringSSL
[415 / 1286] CNIOBoringSSL
[422 / 1286] CNIOBoringSSL
[425 / 1286] CNIOBoringSSL
[429 / 1286] CNIOBoringSSL
[432 / 1286] CNIOBoringSSL
[438 / 1286] CNIOBoringSSL
[442 / 1286] CNIOBoringSSL
[444 / 1286] CNIOBoringSSL
[445 / 1286] CNIOBoringSSL
[450 / 1286] CNIOBoringSSL
[452 / 1286] CNIOBoringSSL
[455 / 1286] CNIOBoringSSL
[457 / 1286] CNIOBoringSSL
[461 / 1286] CNIOBoringSSL
[463 / 1286] CNIOBoringSSL
[465 / 1286] CNIOBoringSSL
[470 / 1286] CNIOBoringSSL
[471 / 1286] CNIOBoringSSL
[474 / 1286] CNIOBoringSSL
[475 / 1286] CNIOBoringSSL
[478 / 1286] CNIOBoringSSL
[481 / 1286] CNIOBoringSSL
[486 / 1286] CNIOBoringSSL
[487 / 1286] CNIOBoringSSL
[488 / 1286] CNIOBoringSSL
[490 / 1286] CNIOBoringSSL
[495 / 1286] CNIOBoringSSL
[496 / 1286] CNIOBoringSSL
[498 / 1286] CNIOBoringSSL
[499 / 1286] CNIOBoringSSL
[501 / 1286] CNIOBoringSSL
[503 / 1286] CNIOBoringSSL
[505 / 1286] CNIOBoringSSL
[508 / 1286] CNIOBoringSSL
[509 / 1286] CNIOBoringSSL
[518 / 1286] CNIOBoringSSL
[530 / 1286] CNIOBoringSSL
[542 / 1286] CNIOBoringSSL
[547 / 1286] CNIOBoringSSL
[550 / 1286] CNIOBoringSSL
[553 / 1286] CNIOBoringSSL
[557 / 1286] CNIOBoringSSL
[559 / 1286] CNIOBoringSSL
[561 / 1286] CNIOBoringSSL
[563 / 1286] CNIOBoringSSL
[568 / 1286] CNIOBoringSSL
[569 / 1286] CNIOBoringSSL
[571 / 1286] CNIOBoringSSL
[575 / 1286] CNIOBoringSSL
[578 / 1286] CNIOBoringSSL
[580 / 1286] CNIOBoringSSL
[582 / 1286] CNIOBoringSSL
[585 / 1286] CNIOBoringSSL
[588 / 1286] CNIOBoringSSL
[591 / 1286] CNIOBoringSSL
[595 / 1286] CNIOBoringSSL
[608 / 1286] CNIOBoringSSL
[609 / 1286] CNIOBoringSSL
[616 / 1286] CNIOBoringSSL
[619 / 1286] CNIOBoringSSL
[621 / 1286] CNIOBoringSSL
[624 / 1286] CNIOBoringSSL
[628 / 1286] CNIOBoringSSL
[637 / 1286] CNIOBoringSSL
[647 / 1286] CNIOBoringSSL
[653 / 1286] CNIOBoringSSL
[656 / 1286] CNIOBoringSSL
[659 / 1286] CNIOBoringSSL
[662 / 1286] CNIOBoringSSL
[665 / 1286] CNIOBoringSSL
[668 / 1286] CNIOBoringSSL
[671 / 1286] CNIOBoringSSL
[673 / 1286] CNIOBoringSSL
[677 / 1286] CNIOBoringSSL
[679 / 1286] CNIOBoringSSL
[683 / 1286] CNIOBoringSSL
[684 / 1286] CNIOBoringSSL
[687 / 1286] CNIOBoringSSL
[689 / 1286] CNIOBoringSSL
[692 / 1286] CNIOBoringSSL
[695 / 1286] CNIOBoringSSL
[696 / 1286] CNIOBoringSSL
[698 / 1286] CNIOBoringSSL
[702 / 1286] CNIOBoringSSL
[703 / 1286] CNIOBoringSSL
[708 / 1286] CNIOBoringSSL
[718 / 1286] CNIOBoringSSL
[726 / 1286] CNIOBoringSSL
[732 / 1286] CNIOBoringSSL
[736 / 1286] CNIOBoringSSL
[741 / 1286] CNIOBoringSSL
[744 / 1286] CNIOBoringSSL
[747 / 1286] CNIOBoringSSL
[757 / 1286] CNIOBoringSSL
[766 / 1286] CNIOBoringSSL
[774 / 1286] CNIOBoringSSL
[775 / 1286] CNIOBoringSSL
[779 / 1286] CNIOBoringSSL
[781 / 1286] CNIOBoringSSL
[784 / 1286] CNIOBoringSSL
[786 / 1286] CNIOBoringSSL
[789 / 1286] CNIOBoringSSL
[791 / 1286] CNIOBoringSSL
[796 / 1286] CCryptoBoringSSL
[797 / 1286] CCryptoBoringSSL
[798 / 1286] CCryptoBoringSSL
[805 / 1286] CCryptoBoringSSL
[808 / 1286] CCryptoBoringSSL
[810 / 1286] CCryptoBoringSSL
[812 / 1286] CCryptoBoringSSL
[815 / 1286] CCryptoBoringSSL
[819 / 1286] CCryptoBoringSSL
[821 / 1286] CCryptoBoringSSL
[822 / 1286] CCryptoBoringSSL
[826 / 1286] CCryptoBoringSSL
[827 / 1286] CCryptoBoringSSL
[828 / 1286] CCryptoBoringSSL
[829 / 1286] CCryptoBoringSSL
[839 / 1286] CCryptoBoringSSL
[845 / 1286] CCryptoBoringSSL
[847 / 1286] CCryptoBoringSSL
[848 / 1286] CCryptoBoringSSL
[849 / 1286] CCryptoBoringSSL
[853 / 1286] CCryptoBoringSSL
[854 / 1286] CCryptoBoringSSL
[856 / 1286] CCryptoBoringSSL
[858 / 1286] CCryptoBoringSSL
[862 / 1286] CCryptoBoringSSL
[863 / 1286] CCryptoBoringSSL
[864 / 1286] CCryptoBoringSSL
[865 / 1286] CCryptoBoringSSL
[869 / 1286] CCryptoBoringSSL
[872 / 1286] CCryptoBoringSSL
[874 / 1286] CCryptoBoringSSL
[878 / 1286] CCryptoBoringSSL
[881 / 1286] CCryptoBoringSSL
[885 / 1286] CCryptoBoringSSL
[886 / 1286] CCryptoBoringSSL
[889 / 1286] CCryptoBoringSSL
[890 / 1286] CCryptoBoringSSL
[902 / 1286] CCryptoBoringSSL
[911 / 1286] CCryptoBoringSSL
[927 / 1286] CCryptoBoringSSL
[929 / 1286] CCryptoBoringSSL
[933 / 1286] CCryptoBoringSSL
[936 / 1286] CCryptoBoringSSL
[941 / 1286] CCryptoBoringSSL
[944 / 1286] CCryptoBoringSSL
[948 / 1286] CCryptoBoringSSL
[950 / 1286] CCryptoBoringSSL
[954 / 1286] CCryptoBoringSSL
[956 / 1286] CCryptoBoringSSL
[958 / 1286] CCryptoBoringSSL
[960 / 1286] CCryptoBoringSSL
[965 / 1286] CCryptoBoringSSL
[968 / 1286] CCryptoBoringSSL
[975 / 1286] CCryptoBoringSSL
[981 / 1286] CCryptoBoringSSL
[986 / 1286] CCryptoBoringSSL
[987 / 1286] CCryptoBoringSSL
[990 / 1286] CCryptoBoringSSL
[996 / 1286] CCryptoBoringSSL
[1002 / 1286] CCryptoBoringSSL
[1010 / 1286] CCryptoBoringSSL
[1021 / 1286] CCryptoBoringSSL
[1034 / 1286] CCryptoBoringSSL
[1041 / 1286] CCryptoBoringSSL
[1046 / 1286] CCryptoBoringSSL
[1047 / 1286] CCryptoBoringSSL
[1050 / 1286] CCryptoBoringSSL
[1053 / 1286] CCryptoBoringSSL
[1055 / 1286] CCryptoBoringSSL
[1061 / 1286] CCryptoBoringSSL
[1062 / 1286] CCryptoBoringSSL
[1065 / 1286] CCryptoBoringSSL
[1067 / 1286] CCryptoBoringSSL
[1072 / 1286] CCryptoBoringSSL
[1076 / 1286] CCryptoBoringSSL
[1082 / 1286] CCryptoBoringSSL
[1090 / 1286] CCryptoBoringSSL
[1098 / 1286] CCryptoBoringSSL
[1101 / 1286] CCryptoBoringSSL
[1107 / 1286] CCryptoBoringSSL
[1108 / 1286] CCryptoBoringSSL
[1110 / 1286] CCryptoBoringSSL
[1115 / 1286] CCryptoBoringSSL
[1123 / 1286] CCryptoBoringSSL
[1133 / 1286] CCryptoBoringSSL
[1140 / 1286] CCryptoBoringSSL
[1145 / 1286] CCryptoBoringSSL
[1147 / 1286] CCryptoBoringSSL
[1149 / 1286] CCryptoBoringSSL
[1151 / 1286] CCryptoBoringSSL
[1155 / 1286] CCryptoBoringSSL
[1158 / 1286] CCryptoBoringSSL
[1163 / 1286] CCryptoBoringSSL
[1172 / 1287] CCryptoBoringSSL
[1180 / 1289] _NIOBase64
[1186 / 1307] OrderedCollections
[1195 / 1307] Metrics
[1196 / 1307] OrderedCollections
[1202 / 1307] OrderedCollections
[1203 / 1307] OrderedCollections
[1203 / 1307] Metrics
[1204 / 1307] Metrics-product
[1207 / 1308] Tracing
[1215 / 1319] Tracing
[1216 / 1319] Tracing
[1222 / 1320] Tracing
[1228 / 1321] SwiftProtobuf_SwiftProtobuf
[1233 / 1331] Crypto
[1235 / 1331] SwiftProtobuf
[1239 / 1332] OrderedCollections
[1246 / 1332] OrderedCollections-product
[1247 / 1332] Crypto
[1254 / 1332] Crypto
[1262 / 1342] DequeModule
[1262 / 1342] OrderedCollections
[1264 / 1342] DequeModule
[1265 / 1342] DequeModule
[1266 / 1342] DequeModule
[1268 / 1342] DequeModule
[1269 / 1342] Atomics
[1273 / 1342] CNIOBoringSSLShims
[1273 / 1342] DequeModule
[1275 / 1343] CCryptoBoringSSL
[1278 / 1344] CryptoBoringWrapper
[1279 / 1344] DequeModule
[1289 / 1347] NIOCore
[1298 / 1364] NIOCore
[1299 / 1364] AsyncAlgorithms
[1302 / 1364] AsyncAlgorithms
[1308 / 1364] AsyncAlgorithms
[1309 / 1364] AsyncAlgorithms-product
[1310 / 1364] AsyncAlgorithms-product
[1311 / 1364] AsyncAlgorithms-product
[1312 / 1364]
[1312 / 1364] AsyncAlgorithms
[1312 / 1365] NIOCore
[1328 / 1380] NIOPosix
[1329 / 1380] NIOPosix
[1330 / 1380] NIOEmbedded
[1332 / 1380] NIOEmbedded
[1337 / 1380] NIOPosix
[1338 / 1381] NIOPosix
[1339 / 1382] NIOPosix
[1340 / 1382] NIOEmbedded
[1351 / 1383] AsyncAlgorithms
[1356 / 1385] NIO
[1363 / 1393] NIOTLS
[1364 / 1393] NIOTLS
[1365 / 1393] NIOTLS
[1367 / 1393] NIOTLS
[1371 / 1393] NIOTLS
[1376 / 1403] NIOSSL
[1377 / 1403] NIOSSL
[1378 / 1404] NIOTLS
[1382 / 1404] NIOSSL
[1383 / 1404] NIOSSL
[1383 / 1404] NIOPosix
[1385 / 1405] NIOSSL
[1393 / 1405] NIOSSL
[1394 / 1406]
[1399 / 1415] NIOSSL
[1400 / 1415] PulsarClient
[1402 / 1415] PulsarClient
[1403 / 1415] PulsarClient
[1404 / 1415] PulsarClient
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/PulsarClient/Internal/ChannelManager+Handlers.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile ChannelManager+Handlers.swift
/host/spi-builder-workspace/Sources/PulsarClient/Internal/ChannelManager+Handlers.swift:134:22: [1;31merror: [1;39mstatic property 'messageStates' is not concurrency-safe because it is nonisolated global shared mutable state[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m132 |[0;0m }
[0;36m133 |[0;0m
[0;36m134 |[0;0m private static var messageStates: [UInt64: MessageState] = [:]
[0;36m|[0;0m |- [1;31merror: [1;39mstatic property 'messageStates' is not concurrency-safe because it is nonisolated global shared mutable state[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'messageStates' 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 'messageStates' 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;36m135 |[0;0m
[0;36m136 |[0;0m /// Handle incoming message
/host/spi-builder-workspace/Sources/PulsarClient/Internal/ChannelPipelineBuilder.swift:105:41: [1;33mwarning: [1;39mtype 'any ChannelHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m103 |[0;0m with handlers: [ChannelHandler]
[0;36m104 |[0;0m ) -> EventLoopFuture<Void> {
[0;36m105 |[0;0m return channel.pipeline.addHandlers(handlers, position: .last)
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'any ChannelHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m106 |[0;0m }
[0;36m107 |[0;0m
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/Authentication.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/BuilderProtocols.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/ConsumerProtocol.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/GetLastMessageIds.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/HandleException.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/MessageBuilder.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/MessageInterceptor.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/MessageProtocol.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/MessageRouter.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/ProducerProtocol.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/PulsarClientProtocol.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/ReaderProtocol.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/Receivable.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/Schema.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/Seekable.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/SendChannel.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/StateProtocol+Waiting.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/StateProtocol.swift /host/spi-builder-workspace/Sources/PulsarClient/Abstractions/Transaction.swift /host/spi-builder-workspace/Sources/PulsarClient/AuthenticationFactory.swift /host/spi-builder-workspace/Sources/PulsarClient/Builders.swift /host/spi-builder-workspace/Sources/PulsarClient/Builders/ConsumerBuilder.swift /host/spi-builder-workspace/Sources/PulsarClient/Builders/ProducerBuilder.swift /host/spi-builder-workspace/Sources/PulsarClient/Builders/ReaderBuilder.swift /host/spi-builder-workspace/Sources/PulsarClient/Common/Types.swift /host/spi-builder-workspace/Sources/PulsarClient/ConsumerOptions.swift /host/spi-builder-workspace/Sources/PulsarClient/ConsumerState.swift /host/spi-builder-workspace/Sources/PulsarClient/CustomAuthentication.swift /host/spi-builder-workspace/Sources/PulsarClient/DeadLetterPolicy.swift /host/spi-builder-workspace/Sources/PulsarClient/EncryptionPolicy.swift /host/spi-builder-workspace/Sources/PulsarClient/Exceptions/PulsarClientError.swift /host/spi-builder-workspace/Sources/PulsarClient/Extensions/ByteBufferExtensions.swift /host/spi-builder-workspace/Sources/PulsarClient/Extensions/ConsumerExtensions.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Extensions/MessageExtensions.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Extensions/ProducerExtensions.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Extensions/PulsarClientExtensions.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Extensions/ReaderExtensions.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/FaultAction.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Internal/ChannelManager+Handlers.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Internal/ChannelManager.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Internal/ChannelPipelineBuilder.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Internal/ConnectedFrameHandler.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Internal/Connection+Enhanced.swift -primary-file /host/spi-builder-workspace/Sources/PulsarClient/Internal/Connection.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/ConnectionPool+Enhanced.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/ConnectionPool.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/ConsumerImpl.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/DeadLetterQueueHandler.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/FaultHandler.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/InterceptorChain.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/ProducerImpl.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/ReaderImpl.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/RetryPolicy.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/SendOperation.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/SendOperationWrapper.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/SendQueue.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/StateManager.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/TransactionCoordinator.swift /host/spi-builder-workspace/Sources/PulsarClient/Internal/TransactionImpl.swift /host/spi-builder-workspace/Sources/PulsarClient/Message.swift /host/spi-builder-workspace/Sources/PulsarClient/MessageId.swift /host/spi-builder-workspace/Sources/PulsarClient/MessageMetadata.swift /host/spi-builder-workspace/Sources/PulsarClient/MultiTopicProducer.swift /host/spi-builder-workspace/Sources/PulsarClient/OAuth2Authentication.swift /host/spi-builder-workspace/Sources/PulsarClient/ProducerAccessMode.swift /host/spi-builder-workspace/Sources/PulsarClient/ProducerOptions.swift /host/spi-builder-workspace/Sources/PulsarClient/ProducerState.swift /host/spi-builder-workspace/Sources/PulsarClient/PulsarApi.pb.swift /host/spi-builder-workspace/Sources/PulsarClient/PulsarClient.swift /host/spi-builder-workspace/Sources/PulsarClient/PulsarProtocol.swift /host/spi-builder-workspace/Sources/PulsarClient/ReaderOptions.swift /host/spi-builder-workspace/Sources/PulsarClient/ReaderState.swift /host/spi-builder-workspace/Sources/PulsarClient/RegexSubscriptionMode.swift /host/spi-builder-workspace/Sources/PulsarClient/Schemas/AutoSchemas.swift /host/spi-builder-workspace/Sources/PulsarClient/Schemas/BooleanSchema.swift /host/spi-builder-workspace/Sources/PulsarClient/Schemas/BytesSchema.swift /host/spi-builder-workspace/Sources/PulsarClient/Schemas/FloatingPointSchemas.swift /host/spi-builder-workspace/Sources/PulsarClient/Schemas/IntegerSchemas.swift /host/spi-builder-workspace/Sources/PulsarClient/Schemas/JSONSchema.swift /host/spi-builder-workspace/Sources/PulsarClient/Schemas/StringSchema.swift /host/spi-builder-workspace/Sources/PulsarClient/Schemas/TimeSchemas.swift /host/spi-builder-workspace/Sources/PulsarClient/State.swift /host/spi-builder-workspace/Sources/PulsarClient/TLSAuthentication.swift /host/spi-builder-workspace/Sources/PulsarClient/Telemetry/ConsumerMetricsInterceptor.swift /host/spi-builder-workspace/Sources/PulsarClient/Telemetry/ProducerMetricsInterceptor.swift /host/spi-builder-workspace/Sources/PulsarClient/Telemetry/PulsarMetrics.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/supplementaryOutputs-79 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOBoringSSLShims.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PulsarClient -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/PulsarClient_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/MessageExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ProducerExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/PulsarClientExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ReaderExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/FaultAction.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ChannelManager+Handlers.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ChannelManager.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ChannelPipelineBuilder.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ConnectedFrameHandler.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/Connection+Enhanced.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/Connection.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/MessageExtensions.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ProducerExtensions.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/PulsarClientExtensions.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ReaderExtensions.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/FaultAction.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ChannelManager+Handlers.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ChannelManager.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ChannelPipelineBuilder.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/ConnectedFrameHandler.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/Connection+Enhanced.o -index-unit-output-path /PulsarClient.build/Debug-linux-x86_64/PulsarClient-t.build/Objects-normal/x86_64/Connection.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux