Build Information
Successful build of PerfectCrypto, reference 4.0.0 (39ddac
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 12:56:45 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-crypto.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-crypto
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 39ddac5 readme
Cloned https://github.com/perfectlysoft/perfect-crypto.git
Revision (git rev-parse @):
39ddac516788294629dfdb509fa6c9d1e1808bb1
SUCCESS checkout https://github.com/perfectlysoft/perfect-crypto.git at 4.0.0
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/379] Fetching perfect-thread
[146/4340] Fetching perfect-thread, perfect-copenssl
[299/15124] Fetching perfect-thread, perfect-copenssl, perfectlib
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git from cache (0.92s)
[835/14745] Fetching perfect-copenssl, perfectlib
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL.git from cache (4.93s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (4.93s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (0.61s)
Computing version for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Computed https://github.com/PerfectlySoft/Perfect-COpenSSL.git at 4.0.2 (2.46s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.59s)
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 4.0.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
Creating working copy for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Working copy of https://github.com/PerfectlySoft/Perfect-COpenSSL.git resolved at 4.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "perfect-crypto",
"name": "PerfectCrypto",
"url": "https://github.com/perfectlysoft/perfect-crypto.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-crypto",
"dependencies": [
{
"identity": "perfectlib",
"name": "PerfectLib",
"url": "https://github.com/PerfectlySoft/PerfectLib.git",
"version": "4.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PerfectLib",
"dependencies": [
]
},
{
"identity": "perfect-thread",
"name": "PerfectThread",
"url": "https://github.com/PerfectlySoft/Perfect-Thread.git",
"version": "3.0.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-Thread",
"dependencies": [
]
},
{
"identity": "perfect-copenssl",
"name": "COpenSSL",
"url": "https://github.com/PerfectlySoft/Perfect-COpenSSL.git",
"version": "4.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-COpenSSL",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-crypto.git
[7/612] Fetching perfect-crypto
Fetched https://github.com/perfectlysoft/perfect-crypto.git from cache (0.95s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git from cache
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL.git from cache (0.53s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.53s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git from cache (0.53s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (0.02s)
Computing version for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Computed https://github.com/PerfectlySoft/Perfect-COpenSSL.git at 4.0.2 (0.02s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.02s)
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 4.0.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
Creating working copy for https://github.com/perfectlysoft/perfect-crypto.git
Working copy of https://github.com/perfectlysoft/perfect-crypto.git resolved at 4.0.0 (39ddac5)
Creating working copy for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Working copy of https://github.com/PerfectlySoft/Perfect-COpenSSL.git resolved at 4.0.2
warning: '.resolve-product-dependencies': dependency 'perfect-crypto' is not used by any target
Found 3 product dependencies
- PerfectLib
- PerfectThread
- COpenSSL
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-crypto.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/237] Write swift-version--7754E27361AE5C74.txt
[1/237] Write sources
[3/241] Compiling COpenSSL cmll_.c
[4/241] Compiling COpenSSL buf_.c
[4/241] Compiling COpenSSL b_dump.c
[5/241] Write sources
[7/241] Compiling COpenSSL e_cast.c
[8/241] Compiling COpenSSL ameth_lib.c
[8/241] Compiling COpenSSL asn_.c
[10/241] Compiling COpenSSL asn1_.c
[11/241] Compiling COpenSSL b_print.c
[12/241] Compiling COpenSSL xts128.c
[13/251] Compiling COpenSSL xcbc_enc.c
[14/251] Compiling COpenSSL x509spki.c
[15/251] Compiling COpenSSL x509rset.c
[16/251] Compiling COpenSSL x509name.c
[17/251] Compiling COpenSSL x509cset.c
[18/251] Compiling COpenSSL x509type.c
[19/251] Compiling COpenSSL wrap128.c
[20/251] Compiling COpenSSL x_.c
[21/251] Compiling COpenSSL v3err.c
[22/251] Compiling COpenSSL wp_.c
[23/251] Compiling COpenSSL uid.c
[24/251] Compiling COpenSSL v3_lib.c
[25/251] Compiling COpenSSL x509_.c
[26/251] Compiling COpenSSL txt_db.c
[27/251] Compiling COpenSSL v3_.c
[28/251] Compiling COpenSSL tb_store.c
[29/251] Compiling COpenSSL tb_rsa.c
[30/251] Compiling COpenSSL b_sock.c
[31/251] Compiling COpenSSL tb_rand.c
[32/251] Compiling COpenSSL ui_.c
[33/251] Compiling COpenSSL tb_pkmeth.c
[34/251] Compiling COpenSSL tb_ecdsa.c
[35/251] Compiling COpenSSL th-lock.c
[36/251] Compiling COpenSSL tls_srp.c
[37/251] Compiling COpenSSL tb_ecdh.c
[38/251] Compiling COpenSSL tb_dsa.c
[39/251] Compiling COpenSSL ts_.c
[40/251] Compiling COpenSSL tb_digest.c
[41/251] Compiling COpenSSL tb_dh.c
[42/251] Compiling COpenSSL tb_cipher.c
[43/251] Compiling COpenSSL tb_asnmth.c
[44/251] Compiling COpenSSL str2key.c
[45/251] Compiling COpenSSL stack.c
[45/251] Compiling COpenSSL t_.c
[47/251] Compiling COpenSSL sha_.c
[48/251] Compiling COpenSSL srp_.c
[49/251] Compiling COpenSSL tasn_.c
[50/251] Compiling COpenSSL sha512.c
[51/251] Compiling COpenSSL sha1_one.c
[52/251] Compiling COpenSSL sha256.c
[53/251] Compiling COpenSSL seed_.c
[54/251] Compiling COpenSSL set_key.c
[55/251] Compiling COpenSSL sha1dgst.c
[56/251] Compiling COpenSSL rsaz_exp.c
[57/251] Compiling COpenSSL t1_.c
[58/251] Compiling COpenSSL seed.c
[59/251] Compiling COpenSSL rpc_enc.c
[60/251] Compiling COpenSSL read2pwd.c
[61/251] Compiling COpenSSL s2_.c
[62/251] Compiling COpenSSL rmd_.c
[63/251] Compiling COpenSSL rc2ofb64.c
[64/251] Compiling COpenSSL s23_.c
[65/251] Compiling COpenSSL rc2cfb64.c
[66/251] Compiling COpenSSL ssl_.c
[67/251] Compiling COpenSSL rc4_.c
[68/251] Compiling COpenSSL rc2_.c
[69/251] Compiling COpenSSL rsa_.c
[70/251] Compiling COpenSSL qud_cksm.c
[71/251] Compiling COpenSSL randfile.c
[72/251] Compiling COpenSSL pqueue.c
[73/251] Compiling COpenSSL rand_.c
[74/251] Compiling COpenSSL pvkfmt.c
[75/251] Compiling COpenSSL pkcs7err.c
[76/251] Compiling COpenSSL s3_.c
[77/251] Compiling COpenSSL pmeth_.c
[78/251] Compiling COpenSSL pk12err.c
[79/251] Compiling COpenSSL pcbc_enc.c
[80/251] Compiling COpenSSL pcy_.c
[81/251] Compiling COpenSSL pk7_.c
[82/251] Compiling COpenSSL pem_.c
[83/251] Compiling COpenSSL p8_pkey.c
[84/251] Compiling COpenSSL p_.c
[85/251] Compiling COpenSSL openbsd_hw.c
[86/251] Compiling COpenSSL p5_.c
[87/251] Compiling COpenSSL ofb_enc.c
[88/251] Compiling COpenSSL ofb64enc.c
[89/251] Compiling COpenSSL ofb128.c
[90/251] Compiling COpenSSL ofb64ede.c
[91/251] Compiling COpenSSL p12_.c
[92/251] Compiling COpenSSL o_.c
[93/251] Compiling COpenSSL obj_.c
[94/251] Compiling COpenSSL ocsp_.c
[95/251] Compiling COpenSSL nsseq.c
[96/251] Compiling COpenSSL mem_.c
[97/251] Compiling COpenSSL n_pkey.c
[98/251] Compiling COpenSSL mem.c
[99/251] Compiling COpenSSL mdc2dgst.c
[100/251] Compiling COpenSSL mdc2_one.c
[101/251] Compiling COpenSSL names.c
[102/251] Compiling COpenSSL md_rand.c
[103/251] Compiling COpenSSL md5_.c
[104/251] Compiling COpenSSL md4_.c
[105/251] Compiling COpenSSL m_wp.c
[106/251] Compiling COpenSSL m_sigver.c
[107/251] Compiling COpenSSL m_sha1.c
[108/251] Compiling COpenSSL m_ripemd.c
[109/251] Compiling COpenSSL m_sha.c
[110/251] Compiling COpenSSL m_null.c
[111/251] Compiling COpenSSL m_md5.c
[112/251] Compiling COpenSSL m_mdc2.c
[113/251] Compiling COpenSSL m_md4.c
[114/251] Compiling COpenSSL m_md2.c
[115/251] Compiling COpenSSL m_ecdsa.c
[116/251] Compiling COpenSSL m_dss1.c
[117/251] Compiling COpenSSL m_dss.c
[118/251] Compiling COpenSSL lhash.c
[119/251] Compiling COpenSSL lh_stats.c
[120/251] Compiling COpenSSL i_.c
[121/251] Compiling COpenSSL krb5_asn.c
[122/251] Compiling COpenSSL i2d_.c
[123/251] Compiling COpenSSL hmac.c
[124/251] Compiling COpenSSL kssl.c
[125/251] Compiling COpenSSL gosthash.c
[126/251] Compiling COpenSSL hm_.c
[127/251] Compiling COpenSSL gost89.c
[128/251] Compiling COpenSSL fips_ers.c
[129/251] Compiling COpenSSL gost94_keyx.c
[130/251] Compiling COpenSSL getenv.c
[131/251] Compiling COpenSSL gcm128.c
[132/251] Compiling COpenSSL gost2001_keyx.c
[133/251] Compiling COpenSSL gost2001.c
[134/251] Compiling COpenSSL fcrypt_b.c
[135/251] Compiling COpenSSL gost_.c
[136/251] Compiling COpenSSL fcrypt.c
[137/251] Compiling COpenSSL ex_data.c
[138/251] Compiling COpenSSL f_.c
[139/251] Compiling COpenSSL err.c
[140/251] Compiling COpenSSL enc_.c
[141/251] Compiling COpenSSL encode.c
[142/251] Compiling COpenSSL err_.c
[143/251] Compiling COpenSSL ede_cbcm_enc.c
[144/251] Compiling COpenSSL evp_.c
[145/251] Compiling COpenSSL ecp_nistputil.c
[146/251] Compiling COpenSSL ecp_nistp521.c
[147/251] Compiling COpenSSL ecp_nistp256.c
[148/251] Compiling COpenSSL ecp_nistp224.c
[149/251] Compiling COpenSSL eng_.c
[150/251] Compiling COpenSSL ecs_.c
[151/251] Compiling COpenSSL ecp_oct.c
[152/251] Compiling COpenSSL ecp_smpl.c
[153/251] Compiling COpenSSL ecp_nist.c
[154/251] Compiling COpenSSL ecp_mont.c
[155/251] Compiling COpenSSL eck_prn.c
[156/251] Compiling COpenSSL ecb_enc.c
[157/251] Compiling COpenSSL ecb3_enc.c
[158/251] Compiling COpenSSL ebcdic.c
[159/251] Compiling COpenSSL ech_.c
[160/251] Compiling COpenSSL e_ubsec_err.c
[161/251] Compiling COpenSSL ec2_.c
[162/251] Compiling COpenSSL e_sureware_err.c
[163/251] Compiling COpenSSL e_xcbc_d.c
[164/251] Compiling COpenSSL e_seed.c
[165/251] Compiling COpenSSL e_rc5.c
[166/251] Compiling COpenSSL e_ubsec.c
[167/251] Compiling COpenSSL e_sureware.c
[168/251] Compiling COpenSSL e_rc4_hmac_md5.c
[169/251] Compiling COpenSSL e_rc4.c
[170/251] Compiling COpenSSL e_rc2.c
[171/251] Compiling COpenSSL e_old.c
[172/251] Compiling COpenSSL e_nuron_err.c
[173/251] Compiling COpenSSL e_padlock.c
[174/251] Compiling COpenSSL e_null.c
[175/251] Compiling COpenSSL e_gost_err.c
[176/251] Compiling COpenSSL ec_.c
[177/251] Compiling COpenSSL e_nuron.c
[178/251] Compiling COpenSSL e_idea.c
[179/251] Compiling COpenSSL e_gmp_err.c
[180/251] Compiling COpenSSL e_gmp.c
[181/251] Compiling COpenSSL e_des3.c
[182/251] Compiling COpenSSL e_cswift_err.c
[183/251] Compiling COpenSSL e_chil_err.c
[184/251] Compiling COpenSSL e_capi_err.c
[185/251] Compiling COpenSSL e_des.c
[186/251] Compiling COpenSSL e_atalla_err.c
[187/251] Compiling COpenSSL e_cswift.c
[188/251] Compiling COpenSSL e_bf.c
[189/251] Compiling COpenSSL e_camellia.c
[190/251] Compiling COpenSSL e_aes_cbc_hmac_sha1.c
[191/251] Compiling COpenSSL e_aes_cbc_hmac_sha256.c
[192/251] Compiling COpenSSL e_capi.c
[193/251] Compiling COpenSSL e_aep_err.c
[194/251] Compiling COpenSSL e_chil.c
[195/251] Compiling COpenSSL e_4758cca_err.c
[196/251] Compiling COpenSSL e_atalla.c
[197/251] Compiling COpenSSL e_aes.c
[198/251] Compiling COpenSSL dso_.c
[199/251] Compiling COpenSSL des_old2.c
[200/251] Compiling COpenSSL e_aep.c
[201/251] Compiling COpenSSL des_old.c
[202/251] Compiling COpenSSL e_4758cca.c
[203/251] Compiling COpenSSL digest.c
[204/251] Compiling COpenSSL des_enc.c
[205/251] Compiling COpenSSL cversion.c
[206/251] Compiling COpenSSL d2i_.c
[207/251] Compiling COpenSSL ctr128.c
[208/251] Compiling COpenSSL dsa_.c
[209/251] Compiling COpenSSL cpt_err.c
[210/251] Compiling COpenSSL cryptlib.c
[211/251] Compiling COpenSSL dh_.c
[212/251] Compiling COpenSSL comp_.c
[213/251] Compiling COpenSSL cmac.c
[214/251] Compiling COpenSSL cm_.c
[215/251] Compiling COpenSSL cfb64enc.c
[216/251] Compiling COpenSSL cfb_enc.c
[217/251] Compiling COpenSSL d1_lib.c
[218/251] Compiling COpenSSL cfb64ede.c
[219/251] Compiling COpenSSL cfb128.c
[220/251] Compiling COpenSSL ccm128.c
[221/251] Compiling COpenSSL conf_.c
[222/251] Compiling COpenSSL cbc_.c
[223/251] Compiling COpenSSL cbc3_enc.c
[224/251] Compiling COpenSSL cbc128.c
[225/251] Compiling COpenSSL camellia.c
[226/251] Compiling COpenSSL buffer.c
[227/251] Compiling COpenSSL d1_.c
[228/251] Compiling COpenSSL aes_.c
[229/251] Compiling COpenSSL by_.c
[230/251] Compiling COpenSSL c_.c
[231/251] Compiling COpenSSL bf_.c
[232/251] Compiling COpenSSL bss_.c
[233/251] Compiling COpenSSL cms_.c
[234/251] Compiling COpenSSL bio_.c
[235/251] Compiling COpenSSL a_.c
[236/251] Compiling COpenSSL bn_.c
[238/251] Compiling PerfectThread Threading.swift
[239/251] Compiling PerfectLib SysProcess.swift
[240/251] Compiling PerfectThread Promise.swift
[241/251] Emitting module PerfectThread
[242/251] Compiling PerfectThread ThreadQueue.swift
[243/251] Compiling PerfectLib Log.swift
[244/251] Compiling PerfectLib PerfectError.swift
[245/251] Compiling PerfectLib File.swift
[246/251] Compiling PerfectLib Dir.swift
[247/251] Compiling PerfectLib JSONConvertible.swift
[248/251] Compiling PerfectLib Bytes.swift
[249/251] Compiling PerfectLib PerfectServer.swift
[250/251] Emitting module PerfectLib
[251/251] Compiling PerfectLib Utilities.swift
[252/260] Compiling PerfectCrypto PerfectCrypto.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/PerfectCrypto.swift:21:20: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public enum PerfectCrypto {
21 | public static var isInitialized: Bool = {
| |- warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInitialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | return OpenSSLInternal.isInitialized
23 | }()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/OpenSSLInternal.swift:31:13: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct OpenSSLInternal {
31 | static var isInitialized: Bool = {
| |- warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInitialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | copenssl_SSL_library_init()
33 |
[253/260] Compiling PerfectCrypto Keys.swift
[254/260] Compiling PerfectCrypto JWK.swift
[255/260] Compiling PerfectCrypto Algorithms.swift
[256/260] Emitting module PerfectCrypto
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/JWT.swift:25:13: warning: let 'jwtEncoding' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private let dot = UInt8(46)
25 | private let jwtEncoding = Encoding.base64url
| |- warning: let 'jwtEncoding' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jwtEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Types used by both JWTCreator and JWTVerifier
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/Algorithms.swift:21:13: note: consider making enum 'Encoding' conform to the 'Sendable' protocol
19 |
20 | /// Available encoding methods.
21 | public enum Encoding {
| `- note: consider making enum 'Encoding' conform to the 'Sendable' protocol
22 | case base64
23 | case base64url
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/OpenSSLInternal.swift:28:13: warning: var 'openSSLLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | #endif
27 |
28 | private var openSSLLocks: [Threading.Lock] = []
| |- warning: var 'openSSLLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'openSSLLocks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'openSSLLocks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | struct OpenSSLInternal {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/OpenSSLInternal.swift:31:13: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct OpenSSLInternal {
31 | static var isInitialized: Bool = {
| |- warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInitialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | copenssl_SSL_library_init()
33 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/PerfectCrypto.swift:21:20: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public enum PerfectCrypto {
21 | public static var isInitialized: Bool = {
| |- warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInitialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | return OpenSSLInternal.isInitialized
23 | }()
[257/260] Compiling PerfectCrypto ByteIO.swift
[258/260] Compiling PerfectCrypto JWT.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/JWT.swift:25:13: warning: let 'jwtEncoding' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private let dot = UInt8(46)
25 | private let jwtEncoding = Encoding.base64url
| |- warning: let 'jwtEncoding' is not concurrency-safe because non-'Sendable' type 'Encoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jwtEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Types used by both JWTCreator and JWTVerifier
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/Algorithms.swift:21:13: note: consider making enum 'Encoding' conform to the 'Sendable' protocol
19 |
20 | /// Available encoding methods.
21 | public enum Encoding {
| `- note: consider making enum 'Encoding' conform to the 'Sendable' protocol
22 | case base64
23 | case base64url
[259/260] Compiling PerfectCrypto Extensions.swift
[260/260] Compiling PerfectCrypto OpenSSLInternal.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/OpenSSLInternal.swift:28:13: warning: var 'openSSLLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | #endif
27 |
28 | private var openSSLLocks: [Threading.Lock] = []
| |- warning: var 'openSSLLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'openSSLLocks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'openSSLLocks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | struct OpenSSLInternal {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCrypto/OpenSSLInternal.swift:31:13: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct OpenSSLInternal {
31 | static var isInitialized: Bool = {
| |- warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isInitialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | copenssl_SSL_library_init()
33 |
Build complete! (16.64s)
Build complete.
{
"dependencies" : [
{
"identity" : "perfectlib",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectlySoft/PerfectLib.git"
},
{
"identity" : "perfect-thread",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectlySoft/Perfect-Thread.git"
},
{
"identity" : "perfect-copenssl",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectlySoft/Perfect-COpenSSL.git"
}
],
"manifest_display_name" : "PerfectCrypto",
"name" : "PerfectCrypto",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "PerfectCrypto",
"targets" : [
"PerfectCrypto"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PerfectCryptoTests",
"module_type" : "SwiftTarget",
"name" : "PerfectCryptoTests",
"path" : "Tests/PerfectCryptoTests",
"sources" : [
"PerfectCryptoTests.swift"
],
"target_dependencies" : [
"PerfectCrypto"
],
"type" : "test"
},
{
"c99name" : "PerfectCrypto",
"module_type" : "SwiftTarget",
"name" : "PerfectCrypto",
"path" : "Sources/PerfectCrypto",
"product_dependencies" : [
"PerfectLib",
"PerfectThread",
"COpenSSL"
],
"product_memberships" : [
"PerfectCrypto"
],
"sources" : [
"Algorithms.swift",
"ByteIO.swift",
"Extensions.swift",
"JWK.swift",
"JWT.swift",
"Keys.swift",
"OpenSSLInternal.swift",
"PerfectCrypto.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.