Build Information
Successful build of Pusher, reference main (a9dc19
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 18:44:43 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/pusher-http-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pusher/pusher-http-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a9dc19b Automated release setup (#48)
Cloned https://github.com/pusher/pusher-http-swift.git
Revision (git rev-parse @):
a9dc19b702d0a1f40a23b904cbd92bf9de7253ee
SUCCESS checkout https://github.com/pusher/pusher-http-swift.git at main
Fetching https://github.com/bitmark-inc/tweetnacl-swiftwrap
[1/404] Fetching tweetnacl-swiftwrap
Fetched https://github.com/bitmark-inc/tweetnacl-swiftwrap from cache (1.06s)
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/apple/swift-crypto from cache
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/782] Fetching anycodable
[72/1711] Fetching anycodable, swiftytexttable
Fetched https://github.com/apple/swift-crypto from cache (0.74s)
Fetching https://github.com/danielrbrowne/APIota
Fetched https://github.com/Flight-School/AnyCodable from cache (0.79s)
Fetched https://github.com/jpsim/Yams.git from cache (0.79s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[270/929] Fetching swiftytexttable
[438/17041] Fetching swiftytexttable, sourcekitten
[11081/17745] Fetching swiftytexttable, sourcekitten, apiota
[12791/167638] Fetching swiftytexttable, sourcekitten, apiota, swiftlint
[12792/170458] Fetching swiftytexttable, sourcekitten, apiota, swiftlint, swxmlhash
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (1.67s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.67s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.67s)
[7766/153417] Fetching apiota, swiftlint, swxmlhash
Fetched https://github.com/danielrbrowne/APIota from cache (0.98s)
[13229/152713] Fetching swiftlint, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.99s)
[13041/149893] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (64.10s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.6 (64.94s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.4.0 (0.58s)
Computing version for https://github.com/danielrbrowne/APIota
Computed https://github.com/danielrbrowne/APIota at 0.2.0 (0.57s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.43.1 (0.67s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.61s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.5 (0.59s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.59s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (0.62s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.65s)
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 0.3.2
Creating working copy for https://github.com/bitmark-inc/tweetnacl-swiftwrap
Working copy of https://github.com/bitmark-inc/tweetnacl-swiftwrap resolved at f8fd111642bf2336b11ef9ea828510693106e954
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.5
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.6
Creating working copy for https://github.com/danielrbrowne/APIota
Working copy of https://github.com/danielrbrowne/APIota resolved at 0.2.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.43.1
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.4.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.31.0
========================================
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",
"dependencies": [
{
"identity": "pusher-http-swift",
"name": "Pusher",
"url": "https://github.com/pusher/pusher-http-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/pusher-http-swift",
"dependencies": [
{
"identity": "apiota",
"name": "APIota",
"url": "https://github.com/danielrbrowne/APIota",
"version": "0.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/APIota",
"dependencies": [
]
},
{
"identity": "anycodable",
"name": "AnyCodable",
"url": "https://github.com/Flight-School/AnyCodable",
"version": "0.6.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnyCodable",
"dependencies": [
]
},
{
"identity": "swift-crypto",
"name": "swift-crypto",
"url": "https://github.com/apple/swift-crypto",
"version": "1.1.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
"dependencies": [
]
},
{
"identity": "tweetnacl-swiftwrap",
"name": "TweetNacl",
"url": "https://github.com/bitmark-inc/tweetnacl-swiftwrap",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/tweetnacl-swiftwrap",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/pusher/pusher-http-swift.git
[1/1636] Fetching pusher-http-swift
Fetched https://github.com/pusher/pusher-http-swift.git from cache (1.08s)
Fetching https://github.com/bitmark-inc/tweetnacl-swiftwrap from cache
Fetched https://github.com/bitmark-inc/tweetnacl-swiftwrap from cache (0.40s)
Fetching https://github.com/apple/swift-crypto from cache
Fetching https://github.com/danielrbrowne/APIota from cache
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetched https://github.com/danielrbrowne/APIota from cache (0.46s)
Fetched https://github.com/Flight-School/AnyCodable from cache (0.46s)
Fetched https://github.com/apple/swift-crypto from cache (0.56s)
Computing version for https://github.com/danielrbrowne/APIota
Computed https://github.com/danielrbrowne/APIota at 0.2.0 (0.61s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (0.03s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.56s)
Creating working copy for https://github.com/pusher/pusher-http-swift.git
Working copy of https://github.com/pusher/pusher-http-swift.git resolved at main (a9dc19b)
Creating working copy for https://github.com/danielrbrowne/APIota
Working copy of https://github.com/danielrbrowne/APIota resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Creating working copy for https://github.com/bitmark-inc/tweetnacl-swiftwrap
Working copy of https://github.com/bitmark-inc/tweetnacl-swiftwrap resolved at f8fd111642bf2336b11ef9ea828510693106e954
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
warning: '.resolve-product-dependencies': dependency 'pusher-http-swift' is not used by any target
Found 4 product dependencies
- APIota
- AnyCodable
- swift-crypto
- TweetNacl
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pusher/pusher-http-swift.git
https://github.com/pusher/pusher-http-swift.git
{
"dependencies" : [
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "apiota",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/danielrbrowne/APIota"
},
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto"
},
{
"identity" : "tweetnacl-swiftwrap",
"requirement" : {
"revision" : [
"f8fd111642bf2336b11ef9ea828510693106e954"
]
},
"type" : "sourceControl",
"url" : "https://github.com/bitmark-inc/tweetnacl-swiftwrap"
}
],
"manifest_display_name" : "Pusher",
"name" : "Pusher",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Pusher",
"targets" : [
"Pusher"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PusherTests",
"module_type" : "SwiftTarget",
"name" : "PusherTests",
"path" : "Tests/PusherTests",
"sources" : [
"AppStateQueryTests.swift",
"AuthTokenTests.swift",
"ClientOptionsTests.swift",
"EventTriggerTests.swift",
"Extensions/XCTest+Pusher.swift",
"Models/Mocks.swift",
"Models/TestObjects.swift",
"WebhookTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Pusher"
],
"type" : "test"
},
{
"c99name" : "Pusher",
"module_type" : "SwiftTarget",
"name" : "Pusher",
"path" : "Sources/Pusher",
"product_dependencies" : [
"APIota",
"AnyCodable",
"Crypto",
"TweetNacl"
],
"product_memberships" : [
"Pusher"
],
"sources" : [
"Extensions/Data+Extensions.swift",
"Extensions/String+Extensions.swift",
"Models/AuthenticationToken.swift",
"Models/Channel.swift",
"Models/ChannelAttributeFetchOptions.swift",
"Models/ChannelAttributes.swift",
"Models/ChannelFilter.swift",
"Models/ChannelInfo.swift",
"Models/ChannelSummary.swift",
"Models/ChannelType.swift",
"Models/EncryptedData.swift",
"Models/Event.swift",
"Models/PresenceUserAuthData.swift",
"Models/PusherError.swift",
"Models/SDKVersion.swift",
"Models/User.swift",
"Models/Webhook.swift",
"Models/WebhookEvent.swift",
"Models/WebhookEventType.swift",
"Networking/Client/APIClient.swift",
"Networking/Client/GetChannelEndpoint.swift",
"Networking/Client/GetChannelsEndpoint.swift",
"Networking/Client/GetUsersEndpoint.swift",
"Networking/Client/TriggerBatchEventsEndpoint.swift",
"Networking/Client/TriggerEventEndpoint.swift",
"Networking/Models/AuthInfo.swift",
"Networking/Models/ChannelInfoListAPIResponse.swift",
"Networking/Models/ChannelSummaryListAPIResponse.swift",
"Networking/Models/ChannelUsersAPIResponse.swift",
"Networking/Models/EventBatch.swift",
"Networking/Models/JSONEncoder.swift",
"Networking/Models/PusherClientOptions.swift",
"Protocols/AuthInfoRecord.swift",
"Protocols/ChannelAttributable.swift",
"Protocols/ChannelDescription.swift",
"Protocols/ChannelInfoRecord.swift",
"Protocols/ChannelSummaryRecord.swift",
"Protocols/EventInfoRecord.swift",
"Protocols/SubscriptionCountable.swift",
"Protocols/UserCountable.swift",
"Protocols/UserInfoRecord.swift",
"Protocols/WebhookEventRecord.swift",
"Pusher.swift",
"Services/AuthTokenService.swift",
"Services/CryptoService.swift",
"Services/WebhookService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/412] Write sources
[3/412] Write swift-version-2F0A5646E1D333AE.txt
[4/412] Compiling CTweetNacl ctweetnacl.c
[5/412] Compiling bn_asn1.c
[6/412] Compiling blake2.c
[7/412] Compiling v3_skey.c
[8/412] Compiling convert.c
[9/415] Compiling buf.c
[10/415] Compiling v3_purp.c
[11/415] Compiling v3_prn.c
[12/415] Compiling v3_pmaps.c
[13/415] Compiling CCryptoBoringSSLShims shims.c
[14/415] Compiling v3_pcons.c
[15/415] Compiling v3_utl.c
[16/415] Compiling v3_pcia.c
[17/415] Compiling v3_pci.c
[18/415] Compiling v3_ocsp.c
[19/415] Compiling v3_int.c
[20/415] Compiling v3_lib.c
[21/415] Compiling v3_ncons.c
[22/415] Compiling v3_info.c
[23/415] Compiling v3_ia5.c
[24/415] Compiling v3_genn.c
[25/415] Compiling v3_extku.c
[26/415] Compiling v3_enum.c
[27/415] Compiling v3_cpols.c
[28/415] Compiling v3_crld.c
[29/415] Compiling v3_bitst.c
[30/415] Compiling v3_conf.c
[31/415] Compiling v3_bcons.c
[32/415] Compiling v3_alt.c
[33/415] Compiling v3_akeya.c
[34/415] Compiling v3_akey.c
[35/415] Compiling pcy_map.c
[36/415] Compiling pcy_node.c
[37/415] Compiling pcy_tree.c
[38/415] Compiling pcy_lib.c
[39/415] Compiling pcy_data.c
[40/415] Compiling pcy_cache.c
[41/415] Compiling x_x509a.c
[42/415] Compiling x_val.c
[43/415] Compiling x_spki.c
[44/415] Compiling x_sig.c
[45/415] Compiling x_x509.c
[46/415] Compiling x_req.c
[47/415] Compiling socket_helper.c
[48/415] Compiling x_pubkey.c
[49/415] Compiling x_pkey.c
[50/415] Compiling x_info.c
[51/415] Compiling x_exten.c
[52/415] Compiling x_name.c
[53/415] Compiling x_attrib.c
[54/415] Compiling x_all.c
[55/415] Compiling socket.c
[56/415] Compiling x_crl.c
[57/415] Compiling x_algor.c
[58/415] Compiling x509spki.c
[59/415] Compiling x509rset.c
[60/415] Compiling x509name.c
[61/415] Compiling x509cset.c
[62/415] Compiling x509_txt.c
[63/415] Compiling x509_vpm.c
[64/415] Compiling x509_v3.c
[65/415] Compiling x509_set.c
[66/415] Compiling x509_trs.c
[67/415] Compiling x509_vfy.c
[68/415] Compiling x509_req.c
[69/415] Compiling x509_obj.c
[70/415] Compiling x509_def.c
[71/415] Compiling x509_lu.c
[72/415] Compiling x509_ext.c
[73/415] Compiling x509_d2.c
[74/415] Compiling x509.c
[75/415] Compiling x509_cmp.c
[76/415] Compiling x509_att.c
[77/415] Compiling t_x509a.c
[78/415] Compiling i2d_pr.c
[79/415] Compiling t_x509.c
[80/415] Compiling t_req.c
[81/415] Compiling rsa_pss.c
[82/415] Compiling t_crl.c
[83/415] Compiling by_file.c
[84/415] Compiling algorithm.c
[85/415] Compiling by_dir.c
[86/415] Compiling asn1_gen.c
[87/415] Compiling a_verify.c
[88/415] Compiling a_strex.c
[89/415] Compiling voprf.c
[90/415] Compiling a_sign.c
[91/415] Compiling a_digest.c
[92/415] Compiling thread_win.c
[93/415] Compiling trust_token.c
[94/415] Compiling thread.c
[94/415] Compiling thread_none.c
[96/415] Compiling thread_pthread.c
[97/415] Compiling pmbtoken.c
[98/415] Compiling siphash.c
[99/415] Compiling stack.c
[100/415] Compiling rsa_print.c
[101/415] Compiling rsa_asn1.c
[102/415] Compiling refcount_lock.c
[103/415] Compiling refcount_c11.c
[104/415] Compiling rc4.c
[105/415] Compiling windows.c
[106/415] Compiling poly1305_arm_asm.S
[107/415] Compiling rand_extra.c
[108/415] Compiling fuchsia.c
[109/415] Compiling deterministic.c
[110/415] Compiling passive.c
[111/415] Compiling forkunsafe.c
[112/415] Compiling poly1305_vec.c
[113/415] Compiling pool.c
[114/415] Compiling poly1305_arm.c
[115/415] Compiling poly1305.c
[116/415] Compiling pkcs7.c
[117/415] Compiling p5_pbev2.c
[118/415] Compiling pkcs8.c
[119/415] Compiling pkcs8_x509.c
[120/415] Compiling pem_xaux.c
[121/415] Compiling pkcs7_x509.c
[122/415] Compiling pem_x509.c
[123/415] Compiling pem_pkey.c
[124/415] Compiling pem_pk8.c
[125/415] Compiling pem_oth.c
[126/415] Compiling poly_rq_mul.S
[127/415] Compiling obj_xref.c
[128/415] Compiling lhash.c
[129/415] Compiling mem.c
[130/415] Compiling pem_info.c
[131/415] Compiling x86_64-mont5.mac.x86_64.S
[132/415] Compiling x86_64-mont5.linux.x86_64.S
[133/415] Compiling obj.c
[134/415] Compiling hkdf.c
[135/415] Compiling pem_lib.c
[136/415] Compiling pem_all.c
[137/415] Compiling x86_64-mont.mac.x86_64.S
[138/415] Compiling hpke.c
[139/415] Compiling x86_64-mont.linux.x86_64.S
[140/415] Compiling x86-mont.windows.x86.S
[141/415] Compiling x86-mont.linux.x86.S
[142/415] Compiling vpaes-x86_64.mac.x86_64.S
[143/415] Compiling vpaes-x86_64.linux.x86_64.S
[143/415] Compiling vpaes-x86.linux.x86.S
[143/415] Compiling vpaes-x86.windows.x86.S
[146/415] Compiling vpaes-armv8.linux.aarch64.S
[147/415] Compiling vpaes-armv8.ios.aarch64.S
[148/415] Compiling vpaes-armv7.linux.arm.S
[149/415] Compiling vpaes-armv7.ios.arm.S
[150/415] Compiling sha512-armv8.linux.aarch64.S
[151/415] Compiling sha512-x86_64.mac.x86_64.S
[152/415] Compiling sha512-x86_64.linux.x86_64.S
[153/415] Compiling sha512-armv8.ios.aarch64.S
[154/415] Compiling sha512-armv4.linux.arm.S
[155/415] Compiling sha512-armv4.ios.arm.S
[156/415] Compiling sha512-586.windows.x86.S
[157/415] Compiling kdf.c
[158/415] Compiling sha256-x86_64.mac.x86_64.S
[159/415] Compiling sha256-x86_64.linux.x86_64.S
[160/415] Compiling sha512-586.linux.x86.S
[161/415] Compiling sha256-armv8.linux.aarch64.S
[162/415] Compiling hrss.c
[163/415] Compiling sha256-armv4.linux.arm.S
[163/415] Compiling sha256-armv8.ios.aarch64.S
[165/415] Compiling sha256-armv4.ios.arm.S
[166/415] Compiling sha256-586.windows.x86.S
[167/415] Compiling sha256-586.linux.x86.S
[168/415] Compiling sha1-x86_64.linux.x86_64.S
[168/415] Compiling sha1-x86_64.mac.x86_64.S
[170/415] Compiling sha1-armv8.linux.aarch64.S
[171/415] Compiling sha1-armv4-large.linux.arm.S
[172/415] Compiling sha1-armv4-large.ios.arm.S
[173/415] Compiling sha1-586.linux.x86.S
[174/415] Compiling sha1-586.windows.x86.S
[175/415] Compiling sha1-armv8.ios.aarch64.S
[176/415] Compiling rsaz-avx2.linux.x86_64.S
[177/415] Compiling rsaz-avx2.mac.x86_64.S
[178/415] Compiling sha1-altivec.c
[179/415] Compiling sha512.c
[180/415] Compiling sha256.c
[181/415] Compiling sha1.c
[182/415] Compiling rdrand-x86_64.mac.x86_64.S
[183/415] Compiling rdrand-x86_64.linux.x86_64.S
[184/415] Compiling self_check.c
[185/415] Compiling rsa_impl.c
[186/415] Compiling rsa.c
[187/415] Compiling blinding.c
[188/415] Compiling rand.c
[189/415] Compiling padding.c
[190/415] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[191/415] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[192/415] Compiling urandom.c
[193/415] Compiling fork_detect.c
[194/415] Compiling p256-x86_64-asm.mac.x86_64.S
[195/415] Compiling p256-x86_64-asm.linux.x86_64.S
[196/415] Compiling ctrdrbg.c
[197/415] Compiling md5-x86_64.mac.x86_64.S
[198/415] Compiling polyval.c
[199/415] Compiling ofb.c
[200/415] Compiling md5-x86_64.linux.x86_64.S
[201/415] Compiling md5-586.windows.x86.S
[202/415] Compiling md5-586.linux.x86.S
[203/415] Compiling cfb.c
[204/415] Compiling gcm.c
[205/415] Compiling cbc.c
[206/415] Compiling ctr.c
[207/415] Compiling gcm_nohw.c
[208/415] Compiling md5.c
[209/415] Compiling md4.c
[210/415] Compiling is_fips.c
[211/415] Compiling ghashv8-armx64.linux.aarch64.S
[212/415] Compiling ghashv8-armx64.ios.aarch64.S
[213/415] Compiling hmac.c
[214/415] Compiling ghashv8-armx32.linux.arm.S
[215/415] Compiling ghashv8-armx32.ios.arm.S
[216/415] Compiling ghash-x86_64.mac.x86_64.S
[217/415] Compiling ghash-x86_64.linux.x86_64.S
[218/415] Compiling ghash-x86.windows.x86.S
[219/415] Compiling ghash-x86.linux.x86.S
[220/415] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[221/415] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[222/415] Compiling ghash-ssse3-x86.windows.x86.S
[223/415] Compiling ghash-ssse3-x86.linux.x86.S
[224/415] Compiling ghash-neon-armv8.linux.aarch64.S
[225/415] Compiling ghash-armv4.linux.arm.S
[226/415] Compiling ghash-neon-armv8.ios.aarch64.S
[227/415] Compiling ghash-armv4.ios.arm.S
[228/415] Compiling fips_shared_support.c
[229/415] Compiling ecdh.c
[230/415] Compiling wnaf.c
[231/415] Compiling util.c
[232/415] Compiling ecdsa.c
[233/415] Compiling simple.c
[234/415] Compiling scalar.c
[235/415] Compiling simple_mul.c
[236/415] Compiling p256-x86_64.c
[237/415] Compiling p256.c
[238/415] Compiling p224-64.c
[239/415] Compiling felem.c
[240/415] Compiling oct.c
[241/415] Compiling ec_montgomery.c
[242/415] Compiling digest.c
[243/415] Compiling ec_key.c
[244/415] Compiling digests.c
[245/415] Compiling dh.c
[246/415] Compiling co-586.windows.x86.S
[247/415] Compiling check.c
[248/415] Compiling ec.c
[249/415] Compiling co-586.linux.x86.S
[250/415] Compiling bsaes-armv7.linux.arm.S
[251/415] Compiling bsaes-armv7.ios.arm.S
[252/415] Compiling des.c
[253/415] Compiling e_des.c
[254/415] Compiling aead.c
[255/415] Compiling cipher.c
[256/415] Compiling sqrt.c
[257/415] Compiling shift.c
[258/415] Compiling e_aes.c
[259/415] Compiling rsaz_exp.c
[260/415] Compiling random.c
[261/415] Compiling prime.c
[262/415] Compiling mul.c
[263/415] Compiling montgomery_inv.c
[264/415] Compiling montgomery.c
[265/415] Compiling jacobi.c
[266/415] Compiling gcd_extra.c
[267/415] Compiling gcd.c
[268/415] Compiling generic.c
[269/415] Compiling exponentiation.c
[270/415] Compiling div_extra.c
[271/415] Compiling ctx.c
[272/415] Compiling bytes.c
[273/415] Compiling cmp.c
[274/415] Compiling x86_64-gcc.c
[275/415] Compiling bn-586.windows.x86.S
[276/415] Compiling bn-586.linux.x86.S
[277/415] Compiling div.c
[278/415] Compiling bn.c
[279/415] Compiling add.c
[280/415] Compiling armv8-mont.linux.aarch64.S
[280/415] Compiling armv4-mont.linux.arm.S
[282/415] Compiling armv4-mont.ios.arm.S
[283/415] Compiling armv8-mont.ios.aarch64.S
[284/415] Compiling aesv8-armx64.linux.aarch64.S
[285/415] Compiling aesv8-armx32.linux.arm.S
[286/415] Compiling aesv8-armx64.ios.aarch64.S
[287/415] Compiling aesv8-armx32.ios.arm.S
[288/415] Compiling aesni-x86_64.linux.x86_64.S
[289/415] Compiling aesni-x86_64.mac.x86_64.S
[289/415] Compiling aesni-x86.windows.x86.S
[291/415] Compiling aesni-x86.linux.x86.S
[292/415] Compiling aesni-gcm-x86_64.mac.x86_64.S
[293/415] Compiling aesni-gcm-x86_64.linux.x86_64.S
[294/415] Compiling mode_wrappers.c
[295/415] Compiling key_wrap.c
[296/415] Compiling aes_nohw.c
[297/415] Compiling ex_data.c
[298/415] Compiling aes.c
[299/415] Compiling sign.c
[300/415] Compiling scrypt.c
[301/415] Compiling print.c
[302/415] Compiling pbkdf.c
[303/415] Compiling p_x25519_asn1.c
[303/415] Compiling p_x25519.c
[305/415] Compiling p_rsa_asn1.c
[306/415] Compiling p_dsa_asn1.c
[307/415] Compiling p_ed25519.c
[307/415] Compiling p_ed25519_asn1.c
[309/415] Compiling p_rsa.c
[310/415] Compiling p_ec.c
[311/415] Compiling p_ec_asn1.c
[312/415] Compiling evp_ctx.c
[313/415] Compiling evp_asn1.c
[314/415] Compiling evp.c
[315/415] Compiling err_data.c
[316/415] Compiling digestsign.c
[317/415] Compiling engine.c
[318/415] Compiling err.c
[319/415] Compiling ecdh_extra.c
[320/415] Compiling ecdsa_asn1.c
[321/415] Compiling ec_derive.c
[322/415] Compiling hash_to_curve.c
[323/415] Compiling ec_asn1.c
[324/415] Compiling dsa_asn1.c
[325/415] Compiling x25519-asm-arm.S
[326/415] Compiling dsa.c
[327/415] Compiling digest_extra.c
[328/415] Compiling params.c
[329/415] Compiling dh_asn1.c
[330/415] Compiling spake25519.c
[331/415] Compiling cpu-ppc64le.c
[332/415] Compiling cpu-intel.c
[333/415] Compiling crypto.c
[334/415] Compiling cpu-arm.c
[335/415] Compiling cpu-arm-linux.c
[336/415] Compiling curve25519.c
[337/415] Compiling cpu-aarch64-win.c
[338/415] Compiling cpu-aarch64-linux.c
[339/415] Compiling cpu-aarch64-fuchsia.c
[340/415] Compiling cmac.c
[341/415] Compiling e_rc4.c
[342/415] Compiling tls_cbc.c
[342/415] Compiling conf.c
[344/415] Compiling e_tls.c
[345/415] Compiling e_null.c
[346/415] Compiling e_aesgcmsiv.c
[346/415] Compiling e_rc2.c
[348/415] Compiling e_chacha20poly1305.c
[349/415] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[350/415] Compiling e_aesctrhmac.c
[351/415] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[352/415] Compiling derive_key.c
[353/415] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[354/415] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[355/415] Compiling cipher_extra.c
[356/415] Compiling e_aesccm.c
[357/415] Compiling chacha-x86_64.mac.x86_64.S
[358/415] Compiling chacha-x86_64.linux.x86_64.S
[359/415] Compiling chacha-x86.windows.x86.S
[360/415] Compiling chacha.c
[361/415] Compiling chacha-x86.linux.x86.S
[362/415] Compiling chacha-armv8.linux.aarch64.S
[363/415] Compiling chacha-armv4.linux.arm.S
[364/415] Compiling chacha-armv4.ios.arm.S
[365/415] Compiling chacha-armv8.ios.aarch64.S
[366/415] Compiling unicode.c
[367/415] Compiling cbs.c
[368/415] Compiling ber.c
[369/415] Compiling cbb.c
[370/415] Compiling printf.c
[371/415] Compiling asn1_compat.c
[372/415] Compiling hexdump.c
[373/415] Compiling file.c
[374/415] Compiling pair.c
[375/415] Compiling fd.c
[376/415] Compiling connect.c
[377/415] Compiling bio_mem.c
[378/415] Compiling base64.c
[379/415] Compiling bio.c
[380/415] Compiling time_support.c
[381/415] Compiling tasn_typ.c
[382/415] Compiling tasn_new.c
[383/415] Compiling tasn_utl.c
[384/415] Compiling f_string.c
[385/415] Compiling tasn_fre.c
[386/415] Compiling f_int.c
[387/415] Compiling tasn_enc.c
[388/415] Compiling tasn_dec.c
[389/415] Compiling f_enum.c
[390/415] Compiling asn_pack.c
[391/415] Compiling asn1_par.c
[392/415] Compiling a_utf8.c
[393/415] Compiling a_utctm.c
[394/415] Compiling asn1_lib.c
[395/415] Compiling a_time.c
[396/415] Compiling a_type.c
[397/415] Compiling a_strnid.c
[398/415] Compiling a_print.c
[399/415] Compiling a_octet.c
[400/415] Compiling a_object.c
[401/415] Compiling a_mbstr.c
[402/415] Write sources
[404/415] Compiling a_i2d_fp.c
[405/415] Compiling a_int.c
[406/415] Compiling a_gentm.c
[407/415] Compiling a_dup.c
[408/415] Compiling a_d2i_fp.c
[409/415] Compiling a_enum.c
[410/415] Compiling a_bool.c
[411/415] Compiling a_bitstr.c
[413/484] Emitting module TweetNacl
[414/484] Compiling TweetNacl TweetNacl.swift
[415/484] Compiling TweetNacl Constant.swift
[416/484] Compiling AnyCodable AnyDecodable.swift
[417/484] Compiling APIota HTTPStatusCode.swift
[418/484] Compiling APIota HTTPMethod.swift
[419/484] Compiling APIota APIotaURLEncodedFormEndpoint.swift
[420/484] Compiling AnyCodable AnyEncodable.swift
[421/484] Emitting module APIota
[422/484] Compiling AnyCodable AnyCodable.swift
[423/484] Emitting module AnyCodable
[424/484] Compiling APIota HTTPMediaType.swift
[425/484] Compiling APIota HTTPHeaders.swift
[426/484] Compiling APIota APIotaClientError.swift
[427/484] Compiling APIota APIotaClient.swift
[428/484] Compiling APIota APIotaCodableEndpoint.swift
[429/484] Compiling APIota HTTPHeader.swift
[430/484] Emitting module Crypto
[431/484] Compiling Crypto ObjectIdentifier.swift
[432/484] Compiling Crypto ECDSASignature.swift
[433/484] Compiling Crypto PEMDocument.swift
[434/484] Compiling Crypto PKCS8PrivateKey.swift
[435/484] Compiling Crypto SEC1PrivateKey.swift
[436/484] Compiling Crypto SubjectPublicKeyInfo.swift
[437/484] Compiling Crypto AES-GCM.swift
[438/484] Compiling Crypto AES-GCM_boring.swift
[439/484] Compiling Crypto ChaChaPoly_boring.swift
[440/484] Compiling Crypto ChaChaPoly.swift
[441/484] Compiling Crypto Cipher.swift
[442/484] Compiling Crypto Nonces.swift
[443/484] Compiling Crypto CryptoKitErrors.swift
[444/484] Compiling Crypto Digest_boring.swift
[445/484] Compiling Crypto Digest.swift
[446/484] Compiling Crypto Digests.swift
[447/484] Compiling Crypto HashFunctions.swift
[448/484] Compiling Crypto HashFunctions_SHA2.swift
[449/484] Compiling Crypto ASN1.swift
[450/484] Compiling Crypto ASN1BitString.swift
[451/484] Compiling Crypto ASN1Identifier.swift
[452/484] Compiling Crypto ASN1Integer.swift
[453/484] Compiling Crypto ASN1OctetString.swift
[454/484] Compiling Crypto ArraySliceBigint.swift
[455/490] Compiling Crypto Ed25519_boring.swift
[456/490] Compiling Crypto EllipticCurvePoint_boring.swift
[457/490] Compiling Crypto EllipticCurve_boring.swift
[458/490] Compiling Crypto NISTCurvesKeys_boring.swift
[459/490] Compiling Crypto X25519Keys_boring.swift
[460/490] Compiling Crypto Curve25519.swift
[461/490] Compiling Crypto MessageAuthenticationCode.swift
[462/490] Compiling Crypto AES.swift
[463/490] Compiling Crypto ECDSASignature_boring.swift
[464/490] Compiling Crypto ECDSA_boring.swift
[465/490] Compiling Crypto EdDSA_boring.swift
[466/490] Compiling Crypto ECDSA.swift
[467/490] Compiling Crypto Ed25519.swift
[468/490] Compiling Crypto NISTCurvesKeys.swift
[469/490] Compiling Crypto X25519Keys.swift
[470/490] Compiling Crypto SymmetricKeys.swift
[471/490] Compiling Crypto HMAC.swift
[472/490] Compiling Crypto MACFunctions.swift
[473/490] Compiling Crypto Insecure.swift
[474/490] Compiling Crypto Insecure_HashFunctions.swift
[475/490] Compiling Crypto ECDH_boring.swift
[476/490] Compiling Crypto DH.swift
[477/490] Compiling Crypto ECDH.swift
[478/490] Compiling Crypto HKDF.swift
[479/490] Compiling Crypto EdDSA.swift
[480/490] Compiling Crypto Signature.swift
[481/490] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[482/490] Compiling Crypto CryptoKitErrors_boring.swift
[483/490] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[484/490] Compiling Crypto RNG_boring.swift
[485/490] Compiling Crypto SafeCompare_boring.swift
[486/490] Compiling Crypto Zeroization_boring.swift
[487/490] Compiling Crypto PrettyBytes.swift
[488/490] Compiling Crypto SafeCompare.swift
[489/490] Compiling Crypto SecureBytes.swift
[490/490] Compiling Crypto Zeroization.swift
[491/533] Compiling Pusher ChannelDescription.swift
[492/533] Compiling Pusher ChannelInfoRecord.swift
[493/533] Compiling Pusher ChannelSummaryRecord.swift
[494/533] Compiling Pusher EventInfoRecord.swift
[495/537] Emitting module Pusher
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:19:23: warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
17 | ///
18 | /// This attribute is only supported for presence channels.
19 | public static let userCount = Self(rawValue: 1 << 0)
| |- warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// The number of all connections currently subscribed.
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:26:23: warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
24 | /// page of your Channels dashboard. Attempts to fetch it when it is disabled result in
25 | /// an error.
26 | public static let subscriptionCount = Self(rawValue: 1 << 1)
| |- warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'subscriptionCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// All available attributes for the occupied channel. (i.e. `[.userCount, .subscriptionCount]`).
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:32:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
30 | /// This is only supported for presence channels and applications that have enabled
31 | /// `subscriptionCount` attribute queries.
32 | public static let all: Self = [.userCount, .subscriptionCount]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:30:16: warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| `- warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/APIota/Sources/APIota/HTTP/HTTPHeaders.swift:7:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
5 | /// An instance can be initialized using a dictionary literal
6 | /// (e.g. `headers = [.contentType: HTTPMediaType.json.stringValue()]`).
7 | public struct HTTPHeaders {
| `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
8 |
9 | private var headers: [HTTPHeader: String]
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
1 | import APIota
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
2 | import Foundation
3 | #if canImport(FoundationNetworking)
:
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| |- note: add '@MainActor' to make static property 'defaultHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[496/537] Compiling Pusher JSONEncoder.swift
[497/537] Compiling Pusher PusherClientOptions.swift
[498/537] Compiling Pusher AuthInfoRecord.swift
[499/537] Compiling Pusher ChannelAttributable.swift
[500/537] Compiling Pusher ChannelAttributes.swift
[501/537] Compiling Pusher ChannelFilter.swift
[502/537] Compiling Pusher ChannelInfo.swift
[503/537] Compiling Pusher ChannelSummary.swift
[504/537] Compiling Pusher ChannelType.swift
[505/537] Compiling Pusher Data+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:19:23: warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
17 | ///
18 | /// This attribute is only supported for presence channels.
19 | public static let userCount = Self(rawValue: 1 << 0)
| |- warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// The number of all connections currently subscribed.
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:26:23: warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
24 | /// page of your Channels dashboard. Attempts to fetch it when it is disabled result in
25 | /// an error.
26 | public static let subscriptionCount = Self(rawValue: 1 << 1)
| |- warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'subscriptionCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// All available attributes for the occupied channel. (i.e. `[.userCount, .subscriptionCount]`).
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:32:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
30 | /// This is only supported for presence channels and applications that have enabled
31 | /// `subscriptionCount` attribute queries.
32 | public static let all: Self = [.userCount, .subscriptionCount]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[506/537] Compiling Pusher String+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:19:23: warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
17 | ///
18 | /// This attribute is only supported for presence channels.
19 | public static let userCount = Self(rawValue: 1 << 0)
| |- warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// The number of all connections currently subscribed.
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:26:23: warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
24 | /// page of your Channels dashboard. Attempts to fetch it when it is disabled result in
25 | /// an error.
26 | public static let subscriptionCount = Self(rawValue: 1 << 1)
| |- warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'subscriptionCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// All available attributes for the occupied channel. (i.e. `[.userCount, .subscriptionCount]`).
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:32:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
30 | /// This is only supported for presence channels and applications that have enabled
31 | /// `subscriptionCount` attribute queries.
32 | public static let all: Self = [.userCount, .subscriptionCount]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[507/537] Compiling Pusher AuthenticationToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:19:23: warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
17 | ///
18 | /// This attribute is only supported for presence channels.
19 | public static let userCount = Self(rawValue: 1 << 0)
| |- warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// The number of all connections currently subscribed.
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:26:23: warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
24 | /// page of your Channels dashboard. Attempts to fetch it when it is disabled result in
25 | /// an error.
26 | public static let subscriptionCount = Self(rawValue: 1 << 1)
| |- warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'subscriptionCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// All available attributes for the occupied channel. (i.e. `[.userCount, .subscriptionCount]`).
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:32:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
30 | /// This is only supported for presence channels and applications that have enabled
31 | /// `subscriptionCount` attribute queries.
32 | public static let all: Self = [.userCount, .subscriptionCount]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[508/537] Compiling Pusher Channel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:19:23: warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
17 | ///
18 | /// This attribute is only supported for presence channels.
19 | public static let userCount = Self(rawValue: 1 << 0)
| |- warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// The number of all connections currently subscribed.
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:26:23: warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
24 | /// page of your Channels dashboard. Attempts to fetch it when it is disabled result in
25 | /// an error.
26 | public static let subscriptionCount = Self(rawValue: 1 << 1)
| |- warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'subscriptionCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// All available attributes for the occupied channel. (i.e. `[.userCount, .subscriptionCount]`).
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:32:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
30 | /// This is only supported for presence channels and applications that have enabled
31 | /// `subscriptionCount` attribute queries.
32 | public static let all: Self = [.userCount, .subscriptionCount]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[509/537] Compiling Pusher ChannelAttributeFetchOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:19:23: warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
17 | ///
18 | /// This attribute is only supported for presence channels.
19 | public static let userCount = Self(rawValue: 1 << 0)
| |- warning: static property 'userCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// The number of all connections currently subscribed.
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:26:23: warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
24 | /// page of your Channels dashboard. Attempts to fetch it when it is disabled result in
25 | /// an error.
26 | public static let subscriptionCount = Self(rawValue: 1 << 1)
| |- warning: static property 'subscriptionCount' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'subscriptionCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// All available attributes for the occupied channel. (i.e. `[.userCount, .subscriptionCount]`).
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Models/ChannelAttributeFetchOptions.swift:32:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// Attempting to fetch an attribute for a channel that does not support that attribute
7 | /// query will result in an error.
8 | public struct ChannelAttributeFetchOptions: OptionSet {
| `- note: consider making struct 'ChannelAttributeFetchOptions' conform to the 'Sendable' protocol
9 |
10 | public let rawValue: Int
:
30 | /// This is only supported for presence channels and applications that have enabled
31 | /// `subscriptionCount` attribute queries.
32 | public static let all: Self = [.userCount, .subscriptionCount]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ChannelAttributeFetchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[510/537] Compiling Pusher AuthInfo.swift
[511/537] Compiling Pusher ChannelInfoListAPIResponse.swift
[512/537] Compiling Pusher ChannelSummaryListAPIResponse.swift
[513/537] Compiling Pusher ChannelUsersAPIResponse.swift
[514/537] Compiling Pusher EventBatch.swift
[515/537] Compiling Pusher SubscriptionCountable.swift
[516/537] Compiling Pusher UserCountable.swift
[517/537] Compiling Pusher UserInfoRecord.swift
[518/537] Compiling Pusher WebhookEventRecord.swift
[519/537] Compiling Pusher User.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:30:16: warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| `- warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/APIota/Sources/APIota/HTTP/HTTPHeaders.swift:7:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
5 | /// An instance can be initialized using a dictionary literal
6 | /// (e.g. `headers = [.contentType: HTTPMediaType.json.stringValue()]`).
7 | public struct HTTPHeaders {
| `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
8 |
9 | private var headers: [HTTPHeader: String]
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
1 | import APIota
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
2 | import Foundation
3 | #if canImport(FoundationNetworking)
:
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| |- note: add '@MainActor' to make static property 'defaultHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[520/537] Compiling Pusher Webhook.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:30:16: warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| `- warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/APIota/Sources/APIota/HTTP/HTTPHeaders.swift:7:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
5 | /// An instance can be initialized using a dictionary literal
6 | /// (e.g. `headers = [.contentType: HTTPMediaType.json.stringValue()]`).
7 | public struct HTTPHeaders {
| `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
8 |
9 | private var headers: [HTTPHeader: String]
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
1 | import APIota
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
2 | import Foundation
3 | #if canImport(FoundationNetworking)
:
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| |- note: add '@MainActor' to make static property 'defaultHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[521/537] Compiling Pusher WebhookEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:30:16: warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| `- warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/APIota/Sources/APIota/HTTP/HTTPHeaders.swift:7:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
5 | /// An instance can be initialized using a dictionary literal
6 | /// (e.g. `headers = [.contentType: HTTPMediaType.json.stringValue()]`).
7 | public struct HTTPHeaders {
| `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
8 |
9 | private var headers: [HTTPHeader: String]
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
1 | import APIota
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
2 | import Foundation
3 | #if canImport(FoundationNetworking)
:
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| |- note: add '@MainActor' to make static property 'defaultHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[522/537] Compiling Pusher WebhookEventType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:30:16: warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| `- warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/APIota/Sources/APIota/HTTP/HTTPHeaders.swift:7:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
5 | /// An instance can be initialized using a dictionary literal
6 | /// (e.g. `headers = [.contentType: HTTPMediaType.json.stringValue()]`).
7 | public struct HTTPHeaders {
| `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
8 |
9 | private var headers: [HTTPHeader: String]
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
1 | import APIota
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
2 | import Foundation
3 | #if canImport(FoundationNetworking)
:
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| |- note: add '@MainActor' to make static property 'defaultHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[523/537] Compiling Pusher APIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:30:16: warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| `- warning: static property 'defaultHeaders' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/APIota/Sources/APIota/HTTP/HTTPHeaders.swift:7:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
5 | /// An instance can be initialized using a dictionary literal
6 | /// (e.g. `headers = [.contentType: HTTPMediaType.json.stringValue()]`).
7 | public struct HTTPHeaders {
| `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
8 |
9 | private var headers: [HTTPHeader: String]
/Users/admin/builder/spi-builder-workspace/Sources/Pusher/Networking/Client/APIClient.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
1 | import APIota
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'APIota'
2 | import Foundation
3 | #if canImport(FoundationNetworking)
:
28 |
29 | /// The default Channels HTTP API headers that should be appended to each `URLRequest` made by the receiver.
30 | static let defaultHeaders: HTTPHeaders = [HTTPHeader("X-Pusher-Library"): "pusher-http-swift \(SDKVersion.current)"]
| |- note: add '@MainActor' to make static property 'defaultHeaders' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[524/537] Compiling Pusher EncryptedData.swift
[525/537] Compiling Pusher Event.swift
[526/537] Compiling Pusher PresenceUserAuthData.swift
[527/537] Compiling Pusher PusherError.swift
[528/537] Compiling Pusher SDKVersion.swift
[529/537] Compiling Pusher GetChannelEndpoint.swift
[530/537] Compiling Pusher GetChannelsEndpoint.swift
[531/537] Compiling Pusher GetUsersEndpoint.swift
[532/537] Compiling Pusher TriggerBatchEventsEndpoint.swift
[533/537] Compiling Pusher TriggerEventEndpoint.swift
[534/537] Compiling Pusher Pusher.swift
[535/537] Compiling Pusher AuthTokenService.swift
[536/537] Compiling Pusher CryptoService.swift
[537/537] Compiling Pusher WebhookService.swift
Build complete! (16.64s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "apiota",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/danielrbrowne/APIota"
},
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto"
},
{
"identity" : "tweetnacl-swiftwrap",
"requirement" : {
"revision" : [
"f8fd111642bf2336b11ef9ea828510693106e954"
]
},
"type" : "sourceControl",
"url" : "https://github.com/bitmark-inc/tweetnacl-swiftwrap"
}
],
"manifest_display_name" : "Pusher",
"name" : "Pusher",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Pusher",
"targets" : [
"Pusher"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PusherTests",
"module_type" : "SwiftTarget",
"name" : "PusherTests",
"path" : "Tests/PusherTests",
"sources" : [
"AppStateQueryTests.swift",
"AuthTokenTests.swift",
"ClientOptionsTests.swift",
"EventTriggerTests.swift",
"Extensions/XCTest+Pusher.swift",
"Models/Mocks.swift",
"Models/TestObjects.swift",
"WebhookTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Pusher"
],
"type" : "test"
},
{
"c99name" : "Pusher",
"module_type" : "SwiftTarget",
"name" : "Pusher",
"path" : "Sources/Pusher",
"product_dependencies" : [
"APIota",
"AnyCodable",
"Crypto",
"TweetNacl"
],
"product_memberships" : [
"Pusher"
],
"sources" : [
"Extensions/Data+Extensions.swift",
"Extensions/String+Extensions.swift",
"Models/AuthenticationToken.swift",
"Models/Channel.swift",
"Models/ChannelAttributeFetchOptions.swift",
"Models/ChannelAttributes.swift",
"Models/ChannelFilter.swift",
"Models/ChannelInfo.swift",
"Models/ChannelSummary.swift",
"Models/ChannelType.swift",
"Models/EncryptedData.swift",
"Models/Event.swift",
"Models/PresenceUserAuthData.swift",
"Models/PusherError.swift",
"Models/SDKVersion.swift",
"Models/User.swift",
"Models/Webhook.swift",
"Models/WebhookEvent.swift",
"Models/WebhookEventType.swift",
"Networking/Client/APIClient.swift",
"Networking/Client/GetChannelEndpoint.swift",
"Networking/Client/GetChannelsEndpoint.swift",
"Networking/Client/GetUsersEndpoint.swift",
"Networking/Client/TriggerBatchEventsEndpoint.swift",
"Networking/Client/TriggerEventEndpoint.swift",
"Networking/Models/AuthInfo.swift",
"Networking/Models/ChannelInfoListAPIResponse.swift",
"Networking/Models/ChannelSummaryListAPIResponse.swift",
"Networking/Models/ChannelUsersAPIResponse.swift",
"Networking/Models/EventBatch.swift",
"Networking/Models/JSONEncoder.swift",
"Networking/Models/PusherClientOptions.swift",
"Protocols/AuthInfoRecord.swift",
"Protocols/ChannelAttributable.swift",
"Protocols/ChannelDescription.swift",
"Protocols/ChannelInfoRecord.swift",
"Protocols/ChannelSummaryRecord.swift",
"Protocols/EventInfoRecord.swift",
"Protocols/SubscriptionCountable.swift",
"Protocols/UserCountable.swift",
"Protocols/UserInfoRecord.swift",
"Protocols/WebhookEventRecord.swift",
"Pusher.swift",
"Services/AuthTokenService.swift",
"Services/CryptoService.swift",
"Services/WebhookService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.