Build Information
Successful build of SwiftSnmpKit, reference 0.2.0 (97e749
), with Swift 6.0 for Linux on 2 Nov 2024 21:12:05 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrellroot/SwiftSnmpKit.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/darrellroot/SwiftSnmpKit
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 97e7493 Updated documentation
Cloned https://github.com/darrellroot/SwiftSnmpKit.git
Revision (git rev-parse @):
97e7493e0030909048fb6a6e09bca51f5a6918cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/darrellroot/SwiftSnmpKit.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/darrellroot/SwiftSnmpKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/12703] Fetching cryptoswift
[1907/23119] Fetching cryptoswift, swift-crypto
[20100/94266] Fetching cryptoswift, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (4.64s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (4.64s)
Fetched https://github.com/apple/swift-nio.git from cache (4.71s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.51s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.3 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.65s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[535/5470] Fetching swift-atomics, swift-system
[5471/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.06s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.06s)
Fetched https://github.com/apple/swift-collections.git from cache (1.09s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.69s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Building for debugging...
[0/437] Write sources
[10/437] Copying PrivacyInfo.xcprivacy
[10/437] Write sources
[12/437] Compiling CNIOWindows WSAStartup.c
[13/437] Compiling CNIOWindows shim.c
[13/437] Compiling CNIOWASI CNIOWASI.c
[15/437] Compiling _AtomicsShims.c
[16/437] Compiling CNIODarwin shim.c
[17/437] Compiling CNIOLinux liburing_shims.c
[18/437] Compiling fiat_curve25519_adx_square.S
[19/437] Compiling fiat_curve25519_adx_mul.S
[20/437] Compiling CNIOLinux shim.c
[21/437] Write swift-version-24593BA9C3E375BF.txt
[22/437] Compiling v3_prn.c
[23/437] Compiling v3_utl.c
[24/437] Compiling v3_skey.c
[25/437] Compiling CCryptoBoringSSLShims shims.c
[26/437] Compiling v3_purp.c
[27/437] Compiling v3_pmaps.c
[28/456] Compiling v3_pcons.c
[29/561] Compiling v3_ocsp.c
[30/561] Compiling v3_ncons.c
[31/561] Compiling v3_lib.c
[32/561] Compiling v3_int.c
[34/561] Emitting module _NIOBase64
[34/561] Compiling v3_ia5.c
[35/561] Compiling v3_info.c
[36/561] Compiling v3_genn.c
[37/561] Compiling v3_extku.c
[38/561] Compiling v3_enum.c
[39/561] Compiling v3_crld.c
[40/561] Compiling v3_cpols.c
[41/561] Compiling v3_conf.c
[42/561] Compiling v3_bitst.c
[43/561] Compiling v3_bcons.c
[44/561] Compiling v3_alt.c
[45/561] Compiling v3_akeya.c
[46/561] Compiling c-nioatomics.c
[47/561] Compiling v3_akey.c
[48/561] Compiling x_x509a.c
[49/561] Compiling x_x509.c
[50/561] Compiling x_val.c
[51/561] Compiling x_spki.c
[52/561] Compiling c-atomics.c
[53/561] Compiling x_sig.c
[54/561] Compiling x_req.c
[55/561] Compiling x_pubkey.c
[56/561] Compiling x_pkey.c
[57/567] Compiling x_info.c
[58/567] Compiling x_name.c
[59/567] Compiling x_exten.c
[60/567] Compiling x_crl.c
[61/567] Compiling x_attrib.c
[62/567] Compiling x_algor.c
[63/567] Compiling x509spki.c
[64/567] Compiling x_all.c
[65/567] Compiling x509rset.c
[66/567] Compiling x509name.c
[67/567] Compiling x509cset.c
[68/567] Compiling x509_vpm.c
[69/567] Compiling x509_vfy.c
[70/567] Compiling x509_v3.c
[71/567] Compiling x509_txt.c
[72/567] Compiling x509_trs.c
[73/567] Compiling x509_req.c
[74/567] Compiling x509_set.c
[75/567] Compiling x509_obj.c
[76/567] Compiling x509_lu.c
[77/567] Compiling x509_def.c
[78/567] Compiling x509_ext.c
[79/567] Compiling x509_d2.c
[80/567] Compiling x509_att.c
[81/567] Compiling x509_cmp.c
[82/567] Compiling x509.c
[84/567] Compiling CryptoSwift ASN1Decoder.swift
[85/567] Compiling CryptoSwift ASN1Encoder.swift
[86/567] Compiling CryptoSwift ASN1Scanner.swift
[87/567] Compiling CryptoSwift Array+Extension.swift
[88/567] Compiling CryptoSwift Authenticator.swift
[89/567] Compiling CryptoSwift BatchedCollection.swift
[90/567] Compiling _NIOBase64 Base64.swift
[91/570] Compiling CryptoSwift Bit.swift
[92/570] Compiling CryptoSwift BlockCipher.swift
[93/570] Compiling CryptoSwift BlockDecryptor.swift
[94/570] Compiling CryptoSwift CMAC.swift
[94/570] Compiling t_x509a.c
[96/570] Compiling _NIODataStructures _TinyArray.swift
[97/570] Compiling CryptoSwift AES.Cryptors.swift
[98/570] Compiling CryptoSwift AES.swift
[99/570] Compiling CryptoSwift ASN1.swift
[100/570] Compiling _NIODataStructures PriorityQueue.swift
[101/570] Emitting module InternalCollectionsUtilities
[102/570] Compiling CryptoSwift AEAD.swift
[103/570] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[104/570] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[105/570] Compiling t_req.c
[106/570] Compiling t_x509.c
[107/570] Compiling t_crl.c
[108/570] Compiling rsa_pss.c
[110/570] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[111/570] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[111/571] Compiling i2d_pr.c
[112/571] Compiling name_print.c
[113/571] Compiling by_file.c
[114/571] Compiling policy.c
[116/571] Compiling algorithm.c
[117/571] Compiling asn1_gen.c
[118/571] Compiling a_verify.c
[119/571] Compiling by_dir.c
[120/571] Compiling a_sign.c
[121/578] Compiling trust_token.c
[122/586] Compiling voprf.c
[123/586] Compiling a_digest.c
[124/586] Compiling thread_win.c
[125/586] Compiling thread_none.c
[126/586] Compiling thread_pthread.c
[127/586] Compiling thread.c
[128/586] Compiling pmbtoken.c
[130/586] Compiling NIOConcurrencyHelpers lock.swift
[131/586] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[132/586] Compiling NIOConcurrencyHelpers atomics.swift
[132/586] Compiling siphash.c
[134/586] Compiling _NIODataStructures Heap.swift
[135/586] Emitting module _NIODataStructures
[135/586] Compiling rsa_print.c
[137/587] Emitting module NIOConcurrencyHelpers
[138/587] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[139/587] Compiling NIOConcurrencyHelpers NIOLock.swift
[140/588] Compiling DequeModule Deque+CustomReflectable.swift
[141/588] Compiling DequeModule Deque+Descriptions.swift
[142/588] Compiling DequeModule Deque+Equatable.swift
[143/588] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[143/590] Compiling stack.c
[144/590] Compiling rc4.c
[145/590] Compiling refcount.c
[147/590] Compiling DequeModule _DequeBuffer.swift
[148/590] Compiling DequeModule _DequeBufferHeader.swift
[150/590] Compiling rsa_asn1.c
[151/590] Compiling trusty.c
[152/590] Compiling rsa_crypt.c
[153/590] Compiling windows.c
[154/590] Compiling rand_extra.c
[155/590] Compiling getentropy.c
[156/590] Compiling ios.c
[157/590] Compiling passive.c
[158/590] Compiling deterministic.c
[159/590] Compiling forkunsafe.c
[160/590] Compiling poly1305_arm_asm.S
[161/590] Compiling pool.c
[162/590] Compiling poly1305_arm.c
[163/590] Compiling poly1305.c
[164/590] Compiling poly1305_vec.c
[166/590] Compiling DequeModule Deque+Extras.swift
[167/590] Compiling DequeModule Deque+Hashable.swift
[167/590] Compiling pkcs7.c
[168/590] Compiling pem_xaux.c
[169/590] Compiling pkcs8_x509.c
[170/590] Compiling pkcs8.c
[172/590] Compiling DequeModule _DequeSlot.swift
[173/590] Compiling DequeModule _UnsafeWrappedBuffer.swift
[173/590] Compiling p5_pbev2.c
[174/590] Compiling pem_x509.c
[175/590] Compiling pkcs7_x509.c
[176/590] Compiling pem_pkey.c
[177/590] Compiling pem_info.c
[178/590] Compiling obj_xref.c
[179/590] Compiling pem_pk8.c
[181/590] Compiling DequeModule Deque+Testing.swift
[182/590] Compiling DequeModule Deque._Storage.swift
[183/590] Compiling DequeModule Deque._UnsafeHandle.swift
[184/590] Compiling DequeModule Deque.swift
[184/590] Compiling pem_oth.c
[185/590] Compiling pem_all.c
[187/590] Compiling DequeModule Deque+Codable.swift
[188/590] Compiling DequeModule Deque+Collection.swift
[188/590] Compiling pem_lib.c
[189/590] Compiling kyber.c
[190/590] Compiling keccak.c
[191/590] Compiling lhash.c
[192/590] Compiling obj.c
[193/590] Compiling mem.c
[194/590] Compiling x86_64-mont5-mac.mac.x86_64.S
[195/590] Compiling x86_64-mont-mac.mac.x86_64.S
[196/590] Compiling x86_64-mont5-linux.linux.x86_64.S
[197/590] Compiling x86_64-mont-linux.linux.x86_64.S
[198/590] Compiling hpke.c
[199/590] Compiling poly_rq_mul.S
[200/590] Compiling x86-mont-windows.windows.x86.S
[201/590] Compiling x86-mont-linux.linux.x86.S
[202/590] Compiling vpaes-x86_64-mac.mac.x86_64.S
[203/590] Compiling vpaes-x86-windows.windows.x86.S
[204/590] Compiling vpaes-x86_64-linux.linux.x86_64.S
[205/590] Compiling vpaes-armv8-linux.linux.aarch64.S
[205/590] Compiling vpaes-x86-linux.linux.x86.S
[207/590] Compiling hrss.c
[208/590] Compiling vpaes-armv8-ios.ios.aarch64.S
[209/590] Compiling vpaes-armv7-ios.ios.arm.S
[210/590] Compiling vpaes-armv7-linux.linux.arm.S
[211/590] Compiling sha512-x86_64-mac.mac.x86_64.S
[212/590] Compiling kdf.c
[213/590] Compiling sha512-armv8-linux.linux.aarch64.S
[213/590] Compiling sha512-armv8-ios.ios.aarch64.S
[215/590] Compiling sha512-x86_64-linux.linux.x86_64.S
[216/590] Compiling sha512-armv4-linux.linux.arm.S
[217/590] Compiling sha512-armv4-ios.ios.arm.S
[219/590] Emitting module DequeModule
[219/590] Compiling sha256-x86_64-mac.mac.x86_64.S
[220/590] Compiling sha512-586-windows.windows.x86.S
[221/590] Compiling sha512-586-linux.linux.x86.S
[222/591] Compiling sha256-armv8-linux.linux.aarch64.S
[223/591] Compiling sha256-armv8-ios.ios.aarch64.S
[224/591] Compiling sha256-x86_64-linux.linux.x86_64.S
[225/591] Compiling sha256-armv4-linux.linux.arm.S
[226/591] Compiling sha256-armv4-ios.ios.arm.S
[227/591] Compiling sha256-586-windows.windows.x86.S
[228/591] Compiling sha256-586-linux.linux.x86.S
[229/591] Compiling sha1-x86_64-mac.mac.x86_64.S
[230/591] Compiling sha1-armv8-linux.linux.aarch64.S
[232/591] Compiling sha1-armv8-ios.ios.aarch64.S
[233/591] Compiling sha1-x86_64-linux.linux.x86_64.S
[234/591] Compiling sha1-armv4-large-linux.linux.arm.S
[235/591] Compiling sha1-armv4-large-ios.ios.arm.S
[236/591] Compiling sha1-586-windows.windows.x86.S
[237/591] Compiling sha1-586-linux.linux.x86.S
[238/591] Compiling sha1.c
[240/591] Compiling CryptoSwift XChaCha20+Foundation.swift
[241/591] Compiling CryptoSwift Generics.swift
[242/591] Compiling CryptoSwift HKDF.swift
[243/591] Compiling CryptoSwift HMAC.swift
[244/591] Compiling CryptoSwift ISO10126Padding.swift
[245/591] Compiling CryptoSwift ISO78164Padding.swift
[246/591] Compiling CryptoSwift Int+Extension.swift
[247/591] Compiling CryptoSwift MD5.swift
[248/591] Compiling CryptoSwift NoPadding.swift
[249/591] Compiling CryptoSwift Operators.swift
[250/591] Compiling CryptoSwift DER.swift
[251/591] Compiling CryptoSwift PBKDF1.swift
[252/591] Compiling CryptoSwift PBKDF2.swift
[253/591] Compiling CryptoSwift PKCS1v15.swift
[253/591] Compiling service_indicator.c
[254/605] Compiling rsaz-avx2-mac.mac.x86_64.S
[255/605] Compiling sha512.c
[256/605] Compiling rsaz-avx2-linux.linux.x86_64.S
[257/605] Compiling sha256.c
[258/605] Compiling fips.c
[263/605] Compiling CryptoSwift BigUInt.swift
[264/605] Compiling CryptoSwift BitwiseOps.swift
[265/605] Compiling CryptoSwift CS.swift
[266/605] Compiling CryptoSwift Codable.swift
[267/605] Compiling CryptoSwift Comparable.swift
[268/605] Compiling CryptoSwift DataConversion.swift
[269/605] Compiling CryptoSwift Division.swift
[270/605] Compiling CryptoSwift Exponentiation.swift
[271/605] Compiling CryptoSwift FloatingPointConversion.swift
[272/605] Compiling CryptoSwift GCD.swift
[273/605] Compiling CryptoSwift Hashable.swift
[273/605] Compiling self_check.c
[274/605] Compiling rdrand-x86_64-linux.linux.x86_64.S
[275/605] Compiling rdrand-x86_64-mac.mac.x86_64.S
[276/605] Compiling blinding.c
[277/605] Compiling urandom.c
[278/605] Compiling rand.c
[278/605] Compiling padding.c
[279/605] Compiling rsa_impl.c
[281/605] Compiling rsa.c
[282/605] Compiling fork_detect.c
[283/605] Compiling p256_beeu-x86_64-asm-mac.mac.x86_64.S
[283/605] Compiling ctrdrbg.c
[285/605] Compiling p256_beeu-armv8-asm-ios.ios.aarch64.S
[286/605] Compiling p256_beeu-armv8-asm-linux.linux.aarch64.S
[287/605] Compiling p256-x86_64-asm-mac.mac.x86_64.S
[289/605] Compiling CryptoSwift BlockEncryptor.swift
[290/605] Compiling CryptoSwift BlockMode.swift
[291/605] Compiling CryptoSwift BlockModeOptions.swift
[292/605] Compiling CryptoSwift CBC.swift
[293/605] Compiling CryptoSwift CCM.swift
[294/605] Compiling CryptoSwift CFB.swift
[295/605] Compiling CryptoSwift CTR.swift
[296/605] Compiling CryptoSwift CipherModeWorker.swift
[297/605] Compiling CryptoSwift ECB.swift
[298/605] Compiling CryptoSwift GCM.swift
[299/605] Compiling CryptoSwift OCB.swift
[300/605] Compiling CryptoSwift OFB.swift
[301/605] Compiling CryptoSwift PCBC.swift
[302/605] Compiling CryptoSwift Blowfish.swift
[303/605] Compiling CryptoSwift CBCMAC.swift
[303/605] Compiling p256_beeu-x86_64-asm-linux.linux.x86_64.S
[305/605] Compiling CryptoSwift IntegerConversion.swift
[306/605] Compiling CryptoSwift Multiplication.swift
[307/605] Compiling CryptoSwift PrimeTest.swift
[308/605] Compiling CryptoSwift Random.swift
[309/605] Compiling CryptoSwift Shifts.swift
[310/605] Compiling CryptoSwift SquareRoot.swift
[311/605] Compiling CryptoSwift Strideable.swift
[312/605] Compiling CryptoSwift StringConversion.swift
[313/605] Compiling CryptoSwift Subtraction.swift
[314/605] Compiling CryptoSwift WordsAndBits.swift
[315/605] Compiling CryptoSwift ChaCha20.swift
[316/605] Compiling CryptoSwift Checksum.swift
[317/605] Compiling CryptoSwift Cipher.swift
[318/605] Compiling CryptoSwift Collection+Extension.swift
[319/605] Compiling CryptoSwift CompactMap.swift
[320/605] Compiling CryptoSwift Cryptor.swift
[321/605] Compiling CryptoSwift Cryptors.swift
[322/605] Compiling CryptoSwift Digest.swift
[323/605] Compiling CryptoSwift DigestType.swift
[324/605] Compiling CryptoSwift AES+Foundation.swift
[325/605] Compiling CryptoSwift Array+Foundation.swift
[326/605] Compiling CryptoSwift Blowfish+Foundation.swift
[327/605] Compiling CryptoSwift ChaCha20+Foundation.swift
[328/605] Compiling CryptoSwift Data+Extension.swift
[329/605] Compiling CryptoSwift HMAC+Foundation.swift
[330/605] Compiling CryptoSwift Rabbit+Foundation.swift
[331/605] Compiling CryptoSwift String+FoundationExtension.swift
[332/605] Compiling CryptoSwift Utils+Foundation.swift
[332/605] Compiling p256-armv8-asm-ios.ios.aarch64.S
[333/605] Compiling p256-armv8-asm-linux.linux.aarch64.S
[334/605] Compiling p256-x86_64-asm-linux.linux.x86_64.S
[335/605] Compiling ofb.c
[336/605] Compiling polyval.c
[337/605] Compiling gcm_nohw.c
[338/605] Compiling ctr.c
[339/605] Compiling gcm.c
[340/605] Compiling md5-x86_64-mac.mac.x86_64.S
[341/605] Compiling cbc.c
[341/605] Compiling cfb.c
[343/605] Compiling md5-x86_64-linux.linux.x86_64.S
[343/605] Compiling md5-586-windows.windows.x86.S
[343/605] Compiling md5.c
[361/605] Compiling md5-586-linux.linux.x86.S
[362/605] Compiling ghashv8-armv8-ios.ios.aarch64.S
[363/605] Compiling ghashv8-armv7-linux.linux.arm.S
[364/605] Compiling ghashv8-armv8-linux.linux.aarch64.S
[365/605] Compiling hkdf.c
[366/605] Compiling hmac.c
[367/605] Compiling md4.c
[368/605] Compiling ghashv8-armv7-ios.ios.arm.S
[369/605] Compiling ghash-x86_64-mac.mac.x86_64.S
[371/605] Emitting module CryptoSwift
[371/605] Compiling ghash-x86_64-linux.linux.x86_64.S
[372/605] Compiling ghash-x86-windows.windows.x86.S
[373/605] Compiling ghash-ssse3-x86_64-mac.mac.x86_64.S
[374/605] Compiling ghash-x86-linux.linux.x86.S
[375/605] Compiling ghash-ssse3-x86-windows.windows.x86.S
[376/605] Compiling ghash-ssse3-x86_64-linux.linux.x86_64.S
[377/605] Compiling ghash-ssse3-x86-linux.linux.x86.S
[378/605] Compiling ghash-neon-armv8-linux.linux.aarch64.S
[379/605] Compiling ghash-neon-armv8-ios.ios.aarch64.S
[380/605] Compiling ghash-armv4-linux.linux.arm.S
[381/605] Compiling fips_shared_support.c
[382/605] Compiling ghash-armv4-ios.ios.arm.S
[383/605] Compiling ecdh.c
[384/605] Compiling util.c
[385/605] Compiling ecdsa.c
[386/605] Compiling wnaf.c
[387/605] Compiling simple_mul.c
[388/605] Compiling simple.c
[389/605] Compiling oct.c
[390/605] Compiling scalar.c
[391/605] Compiling felem.c
[392/605] Compiling ec_montgomery.c
[393/605] Compiling p224-64.c
[394/605] Compiling ec_key.c
[395/605] Compiling p256.c
[396/605] Compiling digest.c
[396/605] Compiling ec.c
[398/605] Compiling dh.c
[399/605] Compiling digestsign.c
[400/605] Compiling co-586-windows.windows.x86.S
[401/605] Compiling check.c
[401/605] Compiling digests.c
[403/605] Compiling co-586-linux.linux.x86.S
[404/605] Compiling cmac.c
[405/605] Compiling bsaes-armv7-linux.linux.arm.S
[406/605] Compiling e_aesccm.c
[407/605] Compiling bsaes-armv7-ios.ios.arm.S
[408/605] Compiling aead.c
[409/605] Compiling p256-nistz.c
[410/605] Compiling cipher.c
[411/605] Compiling e_aes.c
[412/605] Compiling random.c
[413/605] Compiling prime.c
[414/605] Compiling sqrt.c
[415/605] Compiling rsaz_exp.c
[416/605] Compiling shift.c
[417/605] Compiling montgomery_inv.c
[418/605] Compiling montgomery.c
[419/605] Compiling mul.c
[420/605] Compiling jacobi.c
[421/605] Compiling generic.c
[422/605] Compiling div_extra.c
[423/605] Compiling gcd_extra.c
[424/605] Compiling gcd.c
[425/605] Compiling div.c
[426/605] Compiling ctx.c
[427/605] Compiling cmp.c
[428/605] Compiling exponentiation.c
[429/605] Compiling bytes.c
[430/605] Compiling bn.c
[431/605] Compiling add.c
[432/605] Compiling bn-armv8-linux.linux.aarch64.S
[433/605] Compiling x86_64-gcc.c
[434/605] Compiling armv8-mont-ios.ios.aarch64.S
[435/605] Compiling armv8-mont-linux.linux.aarch64.S
[435/605] Compiling armv4-mont-linux.linux.arm.S
[435/605] Compiling bn-586-linux.linux.x86.S
[435/605] Compiling bn-586-windows.windows.x86.S
[435/605] Compiling bn-armv8-ios.ios.aarch64.S
[440/605] Compiling armv4-mont-ios.ios.arm.S
[441/605] Compiling aesv8-armv8-linux.linux.aarch64.S
[442/605] Compiling aesv8-gcm-armv8-linux.linux.aarch64.S
[443/605] Compiling aesv8-armv7-linux.linux.arm.S
[444/605] Compiling aesv8-armv8-ios.ios.aarch64.S
[445/605] Compiling aesni-x86_64-mac.mac.x86_64.S
[446/605] Compiling aesv8-armv7-ios.ios.arm.S
[447/605] Compiling aesv8-gcm-armv8-ios.ios.aarch64.S
[448/605] Compiling aesni-x86-windows.windows.x86.S
[449/605] Compiling aesni-gcm-x86_64-mac.mac.x86_64.S
[450/605] Compiling aesni-x86-linux.linux.x86.S
[451/605] Compiling aesni-gcm-x86_64-linux.linux.x86_64.S
[452/605] Compiling aesni-x86_64-linux.linux.x86_64.S
[453/605] Compiling mode_wrappers.c
[454/605] Compiling key_wrap.c
[455/605] Compiling aes.c
[456/605] Compiling sign.c
[456/605] Compiling ex_data.c
[458/605] Compiling scrypt.c
[459/605] Compiling aes_nohw.c
[460/605] Compiling print.c
[461/605] Compiling p_x25519.c
[462/605] Compiling pbkdf.c
[463/605] Compiling p_x25519_asn1.c
[464/605] Compiling p_rsa_asn1.c
[465/605] Compiling p_ed25519.c
[466/605] Compiling p_hkdf.c
[467/605] Compiling p_ec_asn1.c
[469/605] Compiling CryptoSwift PKCS5.swift
[470/605] Compiling CryptoSwift PKCS7.swift
[471/605] Compiling CryptoSwift PKCS7Padding.swift
[472/605] Compiling CryptoSwift Padding.swift
[473/605] Compiling CryptoSwift Poly1305.swift
[474/605] Compiling CryptoSwift RSA+Cipher.swift
[475/605] Compiling CryptoSwift RSA+Signature.swift
[476/605] Compiling CryptoSwift RSA.swift
[477/605] Compiling CryptoSwift Rabbit.swift
[478/605] Compiling CryptoSwift SHA1.swift
[479/605] Compiling CryptoSwift SHA2.swift
[480/605] Compiling CryptoSwift SHA3.swift
[481/605] Compiling CryptoSwift Scrypt.swift
[482/605] Compiling CryptoSwift SecureBytes.swift
[482/605] Compiling p_ed25519_asn1.c
[483/605] Compiling p_rsa.c
[484/605] Compiling evp_ctx.c
[484/605] Compiling p_ec.c
[486/605] Compiling p_dsa_asn1.c
[486/605] Compiling err_data.c
[488/605] Compiling evp_asn1.c
[489/605] Compiling evp.c
[490/605] Compiling engine.c
[491/605] Compiling err.c
[492/605] Compiling ecdh_extra.c
[493/605] Compiling ec_derive.c
[494/605] Compiling ecdsa_asn1.c
[495/605] Compiling hash_to_curve.c
[496/605] Compiling ec_asn1.c
[497/605] Compiling dsa_asn1.c
[498/605] Compiling params.c
[499/605] Compiling digest_extra.c
[500/605] Compiling dsa.c
[501/605] Compiling dh_asn1.c
[502/605] Compiling spake25519.c
[504/605] Compiling CryptoSwift Signature.swift
[505/605] Compiling CryptoSwift StreamDecryptor.swift
[506/605] Compiling CryptoSwift StreamEncryptor.swift
[507/605] Compiling CryptoSwift String+Extension.swift
[508/605] Compiling CryptoSwift UInt128.swift
[509/605] Compiling CryptoSwift UInt16+Extension.swift
[510/605] Compiling CryptoSwift UInt32+Extension.swift
[511/605] Compiling CryptoSwift UInt64+Extension.swift
[512/605] Compiling CryptoSwift UInt8+Extension.swift
[513/605] Compiling CryptoSwift Updatable.swift
[514/605] Compiling CryptoSwift Utils.swift
[515/605] Compiling CryptoSwift XChaCha20.swift
[516/605] Compiling CryptoSwift ZeroPadding.swift
[517/605] Compiling CryptoSwift resource_bundle_accessor.swift
[517/605] Compiling x25519-asm-arm.S
[518/605] Compiling des.c
[519/605] Compiling cpu_arm_linux.c
[520/605] Compiling crypto.c
[521/606] Compiling cpu_intel.c
[522/606] Compiling cpu_arm_freebsd.c
[523/606] Compiling cpu_arm.c
[524/606] Compiling cpu_aarch64_win.c
[526/606] Compiling cpu_aarch64_openbsd.c
[526/606] Compiling cpu_aarch64_sysreg.c
[528/606] Compiling cpu_aarch64_linux.c
[529/606] Compiling cpu_aarch64_fuchsia.c
[530/606] Compiling cpu_aarch64_apple.c
[531/606] Compiling curve25519.c
[532/606] Compiling tls_cbc.c
[533/606] Compiling e_tls.c
[534/606] Compiling e_rc4.c
[535/606] Compiling e_rc2.c
[536/606] Compiling conf.c
[537/606] Compiling e_null.c
[538/606] Compiling e_des.c
[539/606] Compiling e_chacha20poly1305.c
[540/606] Compiling derive_key.c
[541/606] Compiling e_aesctrhmac.c
[542/606] Compiling chacha20_poly1305_x86_64-mac.mac.x86_64.S
[543/606] Compiling chacha20_poly1305_armv8-linux.linux.aarch64.S
[544/606] Compiling cipher_extra.c
[545/606] Compiling curve25519_64_adx.c
[546/606] Compiling e_aesgcmsiv.c
[547/606] Compiling aes128gcmsiv-x86_64-mac.mac.x86_64.S
[548/606] Compiling chacha20_poly1305_armv8-ios.ios.aarch64.S
[549/606] Compiling chacha-x86_64-mac.mac.x86_64.S
[550/606] Compiling chacha-x86-windows.windows.x86.S
[551/606] Compiling chacha-x86-linux.linux.x86.S
[552/606] Compiling aes128gcmsiv-x86_64-linux.linux.x86_64.S
[553/606] Compiling chacha-x86_64-linux.linux.x86_64.S
[554/606] Compiling chacha-armv8-linux.linux.aarch64.S
[555/606] Compiling chacha20_poly1305_x86_64-linux.linux.x86_64.S
[556/606] Compiling chacha-armv4-ios.ios.arm.S
[557/606] Compiling chacha-armv4-linux.linux.arm.S
[558/606] Compiling chacha.c
[559/606] Compiling chacha-armv8-ios.ios.aarch64.S
[560/606] Compiling unicode.c
[561/606] Compiling ber.c
[562/606] Compiling asn1_compat.c
[563/606] Compiling buf.c
[564/606] Compiling cbb.c
[565/606] Compiling blake2.c
[566/606] Compiling cbs.c
[567/606] Compiling bn_asn1.c
[568/606] Compiling printf.c
[569/606] Compiling convert.c
[570/606] Compiling pair.c
[570/606] Compiling hexdump.c
[572/606] Compiling errno.c
[573/606] Compiling file.c
[574/606] Compiling fd.c
[575/606] Compiling bio_mem.c
[576/606] Compiling base64.c
[577/606] Compiling bio.c
[578/606] Compiling tasn_typ.c
[578/606] Compiling tasn_fre.c
[580/606] Compiling tasn_new.c
[581/606] Compiling tasn_utl.c
[582/606] Compiling tasn_enc.c
[583/606] Compiling posix_time.c
[584/606] Compiling f_int.c
[585/606] Compiling asn1_par.c
[586/606] Compiling asn_pack.c
[587/606] Compiling tasn_dec.c
[588/606] Compiling asn1_lib.c
[589/606] Compiling a_utctm.c
[590/606] Compiling f_string.c
[590/606] Compiling a_octet.c
[592/606] Compiling a_type.c
[593/606] Compiling a_time.c
[593/606] Compiling a_strnid.c
[594/606] Compiling a_strex.c
[596/606] Compiling a_mbstr.c
[597/606] Compiling a_object.c
[598/606] Write sources
[599/606] Compiling a_i2d_fp.c
[600/606] Compiling a_dup.c
[601/606] Compiling a_d2i_fp.c
[602/606] Compiling a_int.c
[603/606] Compiling a_bool.c
[604/606] Compiling a_gentm.c
[605/606] Compiling a_bitstr.c
[607/628] Compiling Atomics Primitives.shims.swift
[608/628] Compiling Atomics AtomicInteger.swift
[609/628] Compiling Atomics AtomicOptionalWrappable.swift
[610/630] Compiling Atomics AtomicMemoryOrderings.swift
[611/630] Compiling Atomics DoubleWord.swift
[612/630] Compiling Atomics UnsafeAtomic.swift
[613/630] Compiling Atomics UnsafeAtomicLazyReference.swift
[614/630] Compiling Atomics ManagedAtomic.swift
[615/630] Compiling Atomics ManagedAtomicLazyReference.swift
[616/630] Compiling Atomics IntegerOperations.swift
[617/630] Compiling Atomics Unmanaged extensions.swift
[618/630] Compiling Atomics AtomicReference.swift
[619/630] Compiling Atomics AtomicStorage.swift
[620/630] Compiling Atomics AtomicValue.swift
[621/630] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[622/630] Emitting module CryptoBoringWrapper
[623/630] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[625/691] Compiling Crypto ChaChaPoly.swift
[626/691] Compiling Crypto Cipher.swift
[627/691] Compiling Crypto Nonces.swift
[628/691] Compiling Crypto ASN1.swift
[629/691] Compiling Crypto ASN1Any.swift
[630/691] Compiling Crypto ASN1BitString.swift
[631/691] Emitting module Atomics
[633/692] Emitting module Crypto
[634/760] Compiling NIOCore NIOAsyncWriter.swift
[635/760] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[636/760] Compiling NIOCore EventLoopFuture+Deprecated.swift
[637/760] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[638/760] Compiling NIOCore EventLoopFuture.swift
[639/760] Compiling NIOCore FileDescriptor.swift
[640/760] Compiling NIOCore FileHandle.swift
[641/760] Compiling NIOCore FileRegion.swift
[642/760] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[643/760] Compiling NIOCore ByteBuffer-views.swift
[644/760] Compiling NIOCore Channel.swift
[645/760] Compiling NIOCore ChannelHandler.swift
[646/760] Compiling NIOCore ChannelHandlers.swift
[647/760] Compiling NIOCore ChannelInvoker.swift
[648/760] Compiling NIOCore ChannelOption.swift
[649/760] Compiling NIOCore ChannelPipeline.swift
[650/760] Compiling NIOCore IO.swift
[651/760] Compiling NIOCore IOData.swift
[652/760] Compiling NIOCore IPProtocol.swift
[653/760] Compiling NIOCore IntegerBitPacking.swift
[654/760] Compiling NIOCore IntegerTypes.swift
[655/760] Compiling NIOCore Interfaces.swift
[656/760] Compiling NIOCore Linux.swift
[657/760] Compiling NIOCore MarkedCircularBuffer.swift
[658/760] Compiling NIOCore MulticastChannel.swift
[659/760] Compiling NIOCore NIOAny.swift
[660/760] Compiling NIOCore NIOCloseOnErrorHandler.swift
[661/760] Compiling NIOCore NIOLoopBound.swift
[662/760] Compiling NIOCore NIOScheduledCallback.swift
[663/760] Compiling NIOCore NIOSendable.swift
[664/760] Compiling NIOCore PointerHelpers.swift
[665/760] Compiling NIOCore RecvByteBufferAllocator.swift
[666/760] Compiling NIOCore ByteBuffer-multi-int.swift
[667/760] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[668/760] Compiling NIOCore BSDSocketAPI.swift
[669/760] Compiling NIOCore ByteBuffer-aux.swift
[670/760] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[671/760] Compiling NIOCore ByteBuffer-conversions.swift
[672/760] Compiling NIOCore ByteBuffer-core.swift
[673/760] Compiling NIOCore ByteBuffer-hex.swift
[674/760] Compiling NIOCore ByteBuffer-int.swift
[675/760] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[676/760] Compiling NIOCore AddressedEnvelope.swift
[677/760] Compiling NIOCore AsyncAwaitSupport.swift
[678/760] Compiling NIOCore AsyncChannel.swift
[679/760] Compiling NIOCore AsyncChannelHandler.swift
[680/760] Compiling NIOCore AsyncChannelInboundStream.swift
[681/760] Compiling NIOCore AsyncChannelOutboundWriter.swift
[682/760] Compiling NIOCore NIOAsyncSequenceProducer.swift
[683/760] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[684/760] Compiling NIOCore GlobalSingletons.swift
[685/760] Compiling NIOCore CircularBuffer.swift
[686/760] Compiling NIOCore Codec.swift
[687/760] Compiling NIOCore ConvenienceOptionSupport.swift
[688/760] Compiling NIOCore DeadChannel.swift
[689/760] Compiling NIOCore DispatchQueue+WithFuture.swift
[690/760] Compiling NIOCore EventLoop+Deprecated.swift
[691/760] Compiling NIOCore EventLoop+SerialExecutor.swift
[692/760] Compiling NIOCore EventLoop.swift
[693/760] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[694/760] Compiling Crypto RNG_boring.swift
[695/760] Compiling Crypto SafeCompare_boring.swift
[696/760] Compiling Crypto Zeroization_boring.swift
[697/760] Compiling Crypto PrettyBytes.swift
[698/760] Compiling Crypto SafeCompare.swift
[699/760] Compiling Crypto SecureBytes.swift
[700/760] Compiling Crypto Zeroization.swift
[734/769] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[735/769] Compiling NIOCore SocketAddresses.swift
[736/769] Compiling NIOCore SocketOptionProvider.swift
[737/769] Compiling NIOCore SystemCallHelpers.swift
[738/769] Compiling NIOCore TimeAmount+Duration.swift
[739/769] Compiling NIOCore TypeAssistedChannelHandler.swift
[740/769] Compiling NIOCore UniversalBootstrapSupport.swift
[741/769] Compiling NIOCore Utilities.swift
[769/769] Emitting module NIOCore
[771/818] Compiling NIOPosix Pool.swift
[772/818] Compiling NIOPosix PooledRecvBufferAllocator.swift
[773/818] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[774/818] Compiling NIOPosix PosixSingletons.swift
[775/818] Compiling NIOPosix RawSocketBootstrap.swift
[776/818] Compiling NIOPosix Resolver.swift
[777/818] Compiling NIOPosix Selectable.swift
[778/818] Compiling NIOPosix SelectableChannel.swift
[779/818] Compiling NIOPosix SelectableEventLoop.swift
[780/818] Compiling NIOPosix SelectorEpoll.swift
[781/818] Compiling NIOPosix SelectorGeneric.swift
[782/818] Compiling NIOPosix SelectorKqueue.swift
[783/818] Compiling NIOPosix SelectorUring.swift
[784/824] Emitting module NIOPosix
[785/824] Compiling NIOPosix ServerSocket.swift
[786/824] Compiling NIOPosix Socket.swift
[787/824] Compiling NIOPosix SocketChannel.swift
[788/824] Compiling NIOPosix SocketProtocols.swift
[789/824] Compiling NIOPosix System.swift
[790/824] Compiling NIOPosix Thread.swift
[791/824] Compiling NIOPosix ThreadPosix.swift
[792/824] Compiling NIOPosix ThreadWindows.swift
[793/824] Compiling NIOPosix UnsafeTransfer.swift
[794/824] Compiling NIOPosix Utilities.swift
[795/824] Compiling NIOPosix VsockAddress.swift
[796/824] Compiling NIOPosix VsockChannelEvents.swift
[797/824] Compiling NIOPosix NIOThreadPool.swift
[798/824] Compiling NIOPosix NonBlockingFileIO.swift
[799/824] Compiling NIOPosix PendingDatagramWritesManager.swift
[800/824] Compiling NIOPosix PendingWritesManager.swift
[801/824] Compiling NIOPosix PipeChannel.swift
[802/824] Compiling NIOPosix PipePair.swift
[803/824] Compiling NIOPosix PointerHelpers.swift
[804/824] Compiling NIOPosix Bootstrap.swift
[805/824] Compiling NIOPosix ControlMessage.swift
[806/824] Compiling NIOPosix DatagramVectorReadManager.swift
[807/824] Compiling NIOPosix Errors+Any.swift
[808/824] Compiling NIOPosix FileDescriptor.swift
[809/824] Compiling NIOPosix GetaddrinfoResolver.swift
[810/824] Compiling NIOPosix HappyEyeballs.swift
[811/824] Compiling NIOPosix IO.swift
[812/824] Compiling NIOPosix IntegerBitPacking.swift
[813/824] Compiling NIOPosix IntegerTypes.swift
[814/824] Compiling NIOPosix Linux.swift
[815/824] Compiling NIOPosix LinuxCPUSet.swift
[816/824] Compiling NIOPosix LinuxUring.swift
[817/824] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[818/824] Compiling NIOPosix BSDSocketAPICommon.swift
[819/824] Compiling NIOPosix BSDSocketAPIPosix.swift
[820/824] Compiling NIOPosix BSDSocketAPIWindows.swift
[821/824] Compiling NIOPosix BaseSocket.swift
[822/824] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[823/824] Compiling NIOPosix BaseSocketChannel.swift
[824/824] Compiling NIOPosix BaseStreamSocketChannel.swift
[826/843] Emitting module SwiftSnmpKit
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' 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
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:32:23: warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | /// require 3 attempts, so the client-facing timeout may be 3 times
31 | /// this value.
32 | public static var snmpTimeout: UInt64 = 5
| |- warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'snmpTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'snmpTimeout' 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
33 |
34 | // maps messageID to decryption key
[827/845] Compiling SwiftSnmpKit Int+Extensions.swift
[828/845] Compiling SwiftSnmpKit String+Extensions.swift
[829/845] Compiling SwiftSnmpKit UInt8+Extensions.swift
[830/845] Compiling SwiftSnmpKit SnmpOid.swift
[831/845] Compiling SwiftSnmpKit SnmpPdu.swift
[832/845] Compiling SwiftSnmpKit VariableBindings+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
[833/845] Compiling SwiftSnmpKit SnmpReceiver.swift
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
[834/845] Compiling SwiftSnmpKit SnmpUtils.swift
[835/845] Compiling SwiftSnmpKit SnmpV2Message.swift
[836/845] Compiling SwiftSnmpKit SnmpSender.swift
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' 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
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:32:23: warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | /// require 3 attempts, so the client-facing timeout may be 3 times
31 | /// this value.
32 | public static var snmpTimeout: UInt64 = 5
| |- warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'snmpTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'snmpTimeout' 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
33 |
34 | // maps messageID to decryption key
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:242:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
240 | // attempt #1 (may get engineId)
241 | let result1 = await self.sendV3(host: host, userName: userName, pduType: pduType, oid: oid, authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword)
242 | guard case let .failure(_) = result1 else {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
243 | return result1
244 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:247:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
245 | // attempt #2 (may update time interval)
246 | let result2 = await self.sendV3(host: host, userName: userName, pduType: pduType, oid: oid, authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword)
247 | guard case let .failure(_) = result2 else {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
248 | return result2
249 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:301:19: warning: variable 'snmpMessage' was never mutated; consider changing to 'let' constant
299 | let engineTime = Int(dateInterval.duration)
300 |
301 | guard var snmpMessage = SnmpV3Message(engineId: engineId, userName: userName, type: pduType, variableBindings: [variableBinding], authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword, engineBoots: engineBoots, engineTime: engineTime) else {
| `- warning: variable 'snmpMessage' was never mutated; consider changing to 'let' constant
302 | return .failure(SnmpError.unexpectedSnmpPdu)
303 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:321:19: warning: value 'shared' was defined but never used; consider replacing with boolean test
319 |
320 | internal func sendData(host: String, port: Int, data: Data) throws {
321 | guard let shared = SnmpSender.shared else {
| `- warning: value 'shared' was defined but never used; consider replacing with boolean test
322 | throw SnmpError.otherError
323 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:330:13: warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it
328 | }
329 | let envelope = AddressedEnvelope(remoteAddress: remoteAddress, data: buffer)
330 | let result = channel.writeAndFlush(envelope)
| `- warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it
331 | //try channel.closeFuture.wait()
332 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:77:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | let requestId = message.requestId
76 | snmpRequests[requestId] = continuation
77 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
78 | SnmpError.debug("task detached starting")
79 | try? await Task.sleep(nanoseconds: SnmpSender.snmpTimeout * 1_000_000_000)
80 | SnmpError.debug("sleep complete")
81 | if let continuation = self.snmpRequests.removeValue(forKey: requestId) {
| `- note: closure captures 'self' which is accessible to code in the current task
82 | continuation.resume(with: .success(.failure(SnmpError.noResponse)))
83 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:97:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
95 | let requestId = message.messageId
96 | snmpRequests[requestId] = continuation
97 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
98 | SnmpError.debug("task detached starting")
99 | try? await Task.sleep(nanoseconds: SnmpSender.snmpTimeout * 1_000_000_000)
100 | SnmpError.debug("sleep complete")
101 | if let continuation = self.snmpRequests.removeValue(forKey: requestId) {
| `- note: closure captures 'self' which is accessible to code in the current task
102 | continuation.resume(with: .success(.failure(SnmpError.noResponse)))
103 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:126:22: warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
124 | snmpRequests[message.requestId] = nil
125 | SnmpError.debug("about to continue \(continuation)")
126 | continuation.resume(with: .success(.success(message.variableBindings.first!)))
| `- warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
127 | }
128 |
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:185:22: warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
183 | snmpRequestToHost[message.messageId] = nil
184 | SnmpError.debug("about to continue \(continuation)")
185 | continuation.resume(with: .success(.success(snmpPdu.variableBindings.first!)))
| `- warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
186 | }
187 |
[837/845] Compiling SwiftSnmpKit AsnData-Protocol.swift
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' 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
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:32:23: warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | /// require 3 attempts, so the client-facing timeout may be 3 times
31 | /// this value.
32 | public static var snmpTimeout: UInt64 = 5
| |- warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'snmpTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'snmpTimeout' 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
33 |
34 | // maps messageID to decryption key
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:242:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
240 | // attempt #1 (may get engineId)
241 | let result1 = await self.sendV3(host: host, userName: userName, pduType: pduType, oid: oid, authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword)
242 | guard case let .failure(_) = result1 else {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
243 | return result1
244 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:247:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
245 | // attempt #2 (may update time interval)
246 | let result2 = await self.sendV3(host: host, userName: userName, pduType: pduType, oid: oid, authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword)
247 | guard case let .failure(_) = result2 else {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
248 | return result2
249 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:301:19: warning: variable 'snmpMessage' was never mutated; consider changing to 'let' constant
299 | let engineTime = Int(dateInterval.duration)
300 |
301 | guard var snmpMessage = SnmpV3Message(engineId: engineId, userName: userName, type: pduType, variableBindings: [variableBinding], authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword, engineBoots: engineBoots, engineTime: engineTime) else {
| `- warning: variable 'snmpMessage' was never mutated; consider changing to 'let' constant
302 | return .failure(SnmpError.unexpectedSnmpPdu)
303 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:321:19: warning: value 'shared' was defined but never used; consider replacing with boolean test
319 |
320 | internal func sendData(host: String, port: Int, data: Data) throws {
321 | guard let shared = SnmpSender.shared else {
| `- warning: value 'shared' was defined but never used; consider replacing with boolean test
322 | throw SnmpError.otherError
323 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:330:13: warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it
328 | }
329 | let envelope = AddressedEnvelope(remoteAddress: remoteAddress, data: buffer)
330 | let result = channel.writeAndFlush(envelope)
| `- warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it
331 | //try channel.closeFuture.wait()
332 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:77:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | let requestId = message.requestId
76 | snmpRequests[requestId] = continuation
77 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
78 | SnmpError.debug("task detached starting")
79 | try? await Task.sleep(nanoseconds: SnmpSender.snmpTimeout * 1_000_000_000)
80 | SnmpError.debug("sleep complete")
81 | if let continuation = self.snmpRequests.removeValue(forKey: requestId) {
| `- note: closure captures 'self' which is accessible to code in the current task
82 | continuation.resume(with: .success(.failure(SnmpError.noResponse)))
83 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:97:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
95 | let requestId = message.messageId
96 | snmpRequests[requestId] = continuation
97 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
98 | SnmpError.debug("task detached starting")
99 | try? await Task.sleep(nanoseconds: SnmpSender.snmpTimeout * 1_000_000_000)
100 | SnmpError.debug("sleep complete")
101 | if let continuation = self.snmpRequests.removeValue(forKey: requestId) {
| `- note: closure captures 'self' which is accessible to code in the current task
102 | continuation.resume(with: .success(.failure(SnmpError.noResponse)))
103 | }
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:126:22: warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
124 | snmpRequests[message.requestId] = nil
125 | SnmpError.debug("about to continue \(continuation)")
126 | continuation.resume(with: .success(.success(message.variableBindings.first!)))
| `- warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
127 | }
128 |
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:185:22: warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
183 | snmpRequestToHost[message.messageId] = nil
184 | SnmpError.debug("about to continue \(continuation)")
185 | continuation.resume(with: .success(.success(snmpPdu.variableBindings.first!)))
| `- warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
186 | }
187 |
[838/845] Compiling SwiftSnmpKit SnmpV3Authentication.swift
[839/845] Compiling SwiftSnmpKit SnmpVersion.swift
[840/845] Compiling SwiftSnmpKit Data+Extensions.swift
[841/845] Compiling SwiftSnmpKit AsnValue.swift
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:196:18: warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
194 | case .snmpGet(let pdu), .snmpGetNext(let pdu),.snmpResponse(let pdu), .snmpReport(let pdu):
195 | return pdu.asnData
196 | #warning("TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets")
| `- warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
197 | case .counter32(let value):
198 | var counterData = Data(capacity: 6)
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' 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
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
[842/845] Compiling SwiftSnmpKit SnmpError.swift
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:196:18: warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
194 | case .snmpGet(let pdu), .snmpGetNext(let pdu),.snmpResponse(let pdu), .snmpReport(let pdu):
195 | return pdu.asnData
196 | #warning("TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets")
| `- warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
197 | case .counter32(let value):
198 | var counterData = Data(capacity: 6)
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' 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
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
[843/845] Compiling SwiftSnmpKit SnmpPduType.swift
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:196:18: warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
194 | case .snmpGet(let pdu), .snmpGetNext(let pdu),.snmpResponse(let pdu), .snmpReport(let pdu):
195 | return pdu.asnData
196 | #warning("TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets")
| `- warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
197 | case .counter32(let value):
198 | var counterData = Data(capacity: 6)
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' 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
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
[844/845] Compiling SwiftSnmpKit SnmpV3Message.swift
/host/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:329:13: warning: immutable value 'authenticationParametersAsn' was never used; consider replacing with '_' or removing it
327 | /// Outputs the ASN.1 encoding for the security parameters field
328 | private var usmSecurityParametersAsn: AsnValue {
329 | let authenticationParametersAsn: AsnValue
| `- warning: immutable value 'authenticationParametersAsn' was never used; consider replacing with '_' or removing it
330 | switch self.authenticationType {
331 | case .noAuth:
/host/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:470:37: warning: immutable value 'msgAuthenticationParametersData' was never used; consider replacing with '_' or removing it
468 | // utf8 string decoding should never fail
469 | self.userName = String(data: usernameData, encoding: .utf8)!
470 | guard case .octetString(let msgAuthenticationParametersData) = securityParameters[4] else {
| `- warning: immutable value 'msgAuthenticationParametersData' was never used; consider replacing with '_' or removing it
471 | SnmpError.log("Expected msgAuthenticationParametersData octetString got \(securityParameters[4])")
472 | return nil
/host/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:522:37: warning: immutable value 'contextNameData' was never used; consider replacing with '_' or removing it
520 | return nil
521 | }
522 | guard case .octetString(let contextNameData) = msgData[1] else {
| `- warning: immutable value 'contextNameData' was never used; consider replacing with '_' or removing it
523 | SnmpError.log("contextName expected octetString got \(msgData[1])")
524 | return nil
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
/host/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpVariableBinding.swift:28:13: warning: initialization of immutable value 'nameLength' was never used; consider replacing with assignment to '_' or removing it
26 | init(data: Data) throws {
27 | let objectName = try AsnValue(data: data)
28 | let nameLength = try AsnValue.pduLength(data: data)
| `- warning: initialization of immutable value 'nameLength' was never used; consider replacing with assignment to '_' or removing it
29 | guard case .sequence(let sequence) = objectName else {
30 | SnmpError.log("Expected Sequence got \(objectName)")
[845/845] Compiling SwiftSnmpKit SnmpVariableBinding.swift
/host/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:329:13: warning: immutable value 'authenticationParametersAsn' was never used; consider replacing with '_' or removing it
327 | /// Outputs the ASN.1 encoding for the security parameters field
328 | private var usmSecurityParametersAsn: AsnValue {
329 | let authenticationParametersAsn: AsnValue
| `- warning: immutable value 'authenticationParametersAsn' was never used; consider replacing with '_' or removing it
330 | switch self.authenticationType {
331 | case .noAuth:
/host/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:470:37: warning: immutable value 'msgAuthenticationParametersData' was never used; consider replacing with '_' or removing it
468 | // utf8 string decoding should never fail
469 | self.userName = String(data: usernameData, encoding: .utf8)!
470 | guard case .octetString(let msgAuthenticationParametersData) = securityParameters[4] else {
| `- warning: immutable value 'msgAuthenticationParametersData' was never used; consider replacing with '_' or removing it
471 | SnmpError.log("Expected msgAuthenticationParametersData octetString got \(securityParameters[4])")
472 | return nil
/host/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:522:37: warning: immutable value 'contextNameData' was never used; consider replacing with '_' or removing it
520 | return nil
521 | }
522 | guard case .octetString(let contextNameData) = msgData[1] else {
| `- warning: immutable value 'contextNameData' was never used; consider replacing with '_' or removing it
523 | SnmpError.log("contextName expected octetString got \(msgData[1])")
524 | return nil
/host/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
/host/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpVariableBinding.swift:28:13: warning: initialization of immutable value 'nameLength' was never used; consider replacing with assignment to '_' or removing it
26 | init(data: Data) throws {
27 | let objectName = try AsnValue(data: data)
28 | let nameLength = try AsnValue.pduLength(data: data)
| `- warning: initialization of immutable value 'nameLength' was never used; consider replacing with assignment to '_' or removing it
29 | guard case .sequence(let sequence) = objectName else {
30 | SnmpError.log("Expected Sequence got \(objectName)")
Build complete! (65.12s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift"
}
],
"manifest_display_name" : "SwiftSnmpKit",
"name" : "SwiftSnmpKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftSnmpKit",
"targets" : [
"SwiftSnmpKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSnmpKitTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSnmpKitTests",
"path" : "Tests/SwiftSnmpKitTests",
"sources" : [
"SnmpAgentTests.swift",
"SnmpV3Tests.swift",
"SwiftSnmpKitTests.swift"
],
"target_dependencies" : [
"SwiftSnmpKit"
],
"type" : "test"
},
{
"c99name" : "SwiftSnmpKit",
"module_type" : "SwiftTarget",
"name" : "SwiftSnmpKit",
"path" : "Sources/SwiftSnmpKit",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"Crypto",
"CryptoSwift"
],
"product_memberships" : [
"SwiftSnmpKit"
],
"sources" : [
"Enumerations/AsnValue.swift",
"Enumerations/SnmpError.swift",
"Enumerations/SnmpPduType.swift",
"Enumerations/SnmpV3Authentication.swift",
"Enumerations/SnmpVersion.swift",
"Extensions/Data+Extensions.swift",
"Extensions/Int+Extensions.swift",
"Extensions/String+Extensions.swift",
"Extensions/UInt8+Extensions.swift",
"Extensions/VariableBindings+Extensions.swift",
"Networking/SnmpReceiver.swift",
"Networking/SnmpSender.swift",
"Protocols/AsnData-Protocol.swift",
"SnmpOid.swift",
"SnmpPdu.swift",
"SnmpUtils.swift",
"SnmpV2Message.swift",
"SnmpV3Message.swift",
"SnmpVariableBinding.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.