Closed luispadron closed 2 years ago
Building the xcmetrics package via rules_spm failes with both bazel build mode and spm mode.
rules_spm
bazel
spm
WORKSPACE:
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "cgrindel_rules_spm", sha256 = "03718eb865a100ba4449ebcbca6d97bf6ea78fa17346ce6d55532312e8bf9aa8", strip_prefix = "rules_spm-0.11.0", urls = [ "http://github.com/cgrindel/rules_spm/archive/v0.11.0.tar.gz", ], ) load( "@cgrindel_rules_spm//spm:deps.bzl", "spm_rules_dependencies", ) spm_rules_dependencies() load( "@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies", ) swift_rules_dependencies() load( "@build_bazel_rules_swift//swift:extras.bzl", "swift_rules_extra_dependencies", ) swift_rules_extra_dependencies() load("@cgrindel_rules_spm//spm:defs.bzl", "spm_pkg", "spm_repositories") spm_repositories( name = "xcode_metrics_packages", dependencies = [ spm_pkg( "https://github.com/apple/swift-argument-parser", exact_version = "0.3.2", products = ["ArgumentParser"], ), spm_pkg( "https://github.com/spotify/XCMetrics", exact_version = "0.0.10", products = [ "XCMetricsClient", "XCMetricsPlugins", ], ), ], platforms = [".macOS(.v10_15)"], swift_version = "5.5", )
Command:
bazel build @xcode_metrics_packages//XCMetrics:XCMetricsClient
Error:
Issue
Building the xcmetrics package via
rules_spm
failes with bothbazel
build mode andspm
mode.Example
WORKSPACE
:Command:
Error:
Error from build command
INFO: Analyzed target @xcode_metrics_packages//XCMetrics:XCMetricsClient (64 packages loaded, 15553 targets configured). INFO: Found 1 target... ERROR: /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/external/xcode_metrics_packages/BUILD.bazel:28392:12: Building Swift package (external/xcode_metrics_packages) for arm64-apple-macosx12.3 using SPM. failed: (Exit 1): exec_spm_build failed: error executing command bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/cgrindel_rules_spm/spm/private/exec_spm_build --worker bazel-out/host/bin/external/build_bazel_rules_swift/tools/worker/worker --sdk_name macosx ... (remaining 312 arguments skipped) Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging warning: Failed creating default security location, Error Domain=NSCocoaErrorDomain Code=513 "“security” couldn’t be removed because you don’t have permission to access it." UserInfo={NSUserStringVariant=( Remove ), NSFilePath=/Users/lpadron/.swiftpm/security, NSUnderlyingError=0x600002254990 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} warning: Failed creating default configuration location, other(1) cp: /usr/include/zconf.h: No such file or directory Compiling plugin SwiftProtobufPlugin... Building for production... [1/456] Compiling system-zlib anchor.c remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[2/462] Compiling XCMetricsCommon UploadRequestExtraInfo.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[3/466] Compiling _NIODataStructures Heap.swift [4/466] Compiling _AtomicsShims.c [5/466] Compiling writer.c [6/466] Compiling scanner.c [7/466] Compiling reader.c [8/466] Compiling parser.c [9/466] Compiling emitter.c [10/466] Compiling api.c [11/466] Compiling CNIOWindows shim.c remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[12/468] Compiling DequeModule Compatibility.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[13/469] Compiling Logging Locks.swift [14/469] Compiling CNIOWindows WSAStartup.c [15/469] Compiling CNIOLinux shim.c [16/469] Compiling CNIOLinux liburing_shims.c [17/469] Compiling XCMetricsUtils Logger.swift [18/469] Compiling CNIOLLHTTP c_nio_http.c [19/469] Compiling CNIOLLHTTP c_nio_api.c [20/469] Compiling CNIOLLHTTP c_nio_llhttp.c [21/469] Compiling CNIODarwin shim.c [22/469] Compiling Gzip Data+Gzip.swift [23/469] Compiling CNIOBoringSSLShims shims.c [24/469] Compiling PathKit PathKit.swift [25/469] Compiling tls_record.cc [26/469] Compiling tls_method.cc [27/469] Compiling MobiusCore AsyncStartStopStateMachine.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[28/469] Compiling tls13_server.cc [29/469] Compiling tls13_enc.cc [30/470] Compiling tls13_both.cc [31/470] Compiling tls13_client.cc [32/470] Compiling MobiusExtras ConnectableClass.swift [33/470] Compiling t1_enc.cc [34/470] Compiling ssl_versions.cc [35/470] Compiling Atomics AtomicInteger.swift [36/470] Compiling ssl_transcript.cc [37/470] Compiling ssl_stat.cc [38/470] Compiling ssl_x509.cc [39/470] Compiling ssl_session.cc [40/470] Compiling ssl_privkey.cc [41/470] Compiling ssl_file.cc [42/470] Compiling ssl_key_share.cc [43/470] Compiling ssl_cipher.cc [44/470] Compiling ssl_buffer.cc [45/470] Compiling ssl_asn1.cc [46/470] Compiling ssl_aead_ctx.cc [47/470] Compiling ssl_lib.cc [48/470] Compiling ssl_cert.cc [49/470] Compiling s3_pkt.cc [50/470] Compiling s3_lib.cc [51/470] Compiling s3_both.cc [52/470] Compiling handshake.cc [53/470] Compiling handshake_client.cc [54/470] Compiling handshake_server.cc [55/470] Compiling handoff.cc [56/470] Compiling dtls_record.cc [57/470] Compiling dtls_method.cc [58/470] Compiling encrypted_client_hello.cc [59/470] Compiling d1_srtp.cc [60/470] Compiling extensions.cc [61/470] Compiling d1_pkt.cc [62/470] Compiling v3_utl.c [63/470] Compiling v3_skey.c [64/470] Compiling d1_lib.cc [65/470] Compiling bio_ssl.cc [66/470] Compiling v3_prn.c [67/470] Compiling v3_pmaps.c [68/470] Compiling v3_purp.c [69/470] Compiling v3_pcia.c [70/470] Compiling v3_pcons.c [71/470] Compiling v3_ocsp.c [72/470] Compiling v3_pci.c [73/470] Compiling d1_both.cc [74/470] Compiling v3_int.c [75/470] Compiling v3_lib.c [76/470] Compiling v3_ncons.c [77/470] Compiling v3_info.c [78/470] Compiling v3_ia5.c [79/470] Compiling v3_genn.c [80/470] Compiling v3_extku.c [81/470] Compiling v3_enum.c [82/470] Compiling v3_bitst.c [83/470] Compiling v3_bcons.c [84/470] Compiling v3_crld.c [85/470] Compiling v3_cpols.c [86/470] Compiling v3_conf.c [87/470] Compiling v3_akey.c [88/470] Compiling v3_akeya.c [89/470] Compiling pcy_node.c [90/470] Compiling v3_alt.c [91/470] Compiling pcy_map.c [92/470] Compiling pcy_data.c [93/470] Compiling pcy_cache.c [94/470] Compiling pcy_tree.c [95/470] Compiling x_val.c [96/470] Compiling x_x509a.c [97/470] Compiling x_x509.c [98/470] Compiling x_spki.c [99/470] Compiling x_sig.c [100/470] Compiling x_req.c [101/470] Compiling x_pkey.c [102/470] Compiling x_pubkey.c [103/470] Compiling x_name.c [104/470] Compiling x_info.c [105/470] Compiling x_exten.c [106/470] Compiling x_attrib.c [107/470] Compiling x509rset.c [108/470] Compiling x509spki.c [109/470] Compiling x_algor.c [110/470] Compiling x_crl.c [111/470] Compiling x_all.c [112/470] Compiling x509name.c [113/470] Compiling x509cset.c [114/470] Compiling x509_txt.c [115/470] Compiling x509_vpm.c [116/470] Compiling x509_v3.c [117/470] Compiling x509_set.c [118/470] Compiling x509_trs.c [119/470] Compiling x509_req.c [120/470] Compiling x509_obj.c [121/470] Compiling x509_ext.c [122/470] Compiling x509_def.c [123/470] Compiling x509_vfy.c [124/470] Compiling x509_d2.c [125/470] Compiling x509_lu.c [126/470] Compiling x509_cmp.c [127/470] Compiling t_x509a.c [128/470] Compiling x509.c [129/470] Compiling x509_att.c [130/470] Compiling t_x509.c [131/470] Compiling t_req.c [132/470] Compiling i2d_pr.c [133/470] Compiling by_file.c [134/470] Compiling rsa_pss.c [135/470] Compiling t_crl.c [136/470] Compiling name_print.c [137/470] Compiling asn1_gen.c [138/470] Compiling a_verify.c [139/470] Compiling algorithm.c [140/470] Compiling by_dir.c [141/470] Compiling a_sign.c [142/470] Compiling a_digest.c [143/470] Compiling thread_win.c [144/470] Compiling thread_none.c [145/470] Compiling thread_pthread.c [146/470] Compiling thread.c [147/470] Compiling siphash.c [148/470] Compiling trust_token.c [149/470] Compiling rsa_print.c [150/470] Compiling stack.c [151/470] Compiling refcount_lock.c [152/470] Compiling voprf.c [153/470] Compiling refcount_c11.c [154/470] Compiling windows.c [155/470] Compiling rc4.c [156/470] Compiling rsa_asn1.c [157/470] Compiling rand_extra.c [158/470] Compiling passive.c [159/470] Compiling fuchsia.c [160/470] Compiling deterministic.c [161/470] Compiling poly1305_vec.c [162/470] Compiling poly1305_arm_asm.S [163/470] Compiling forkunsafe.c [164/470] Compiling poly1305_arm.c [165/470] Compiling pool.c [166/470] Compiling p5_pbev2.c [167/470] Compiling pkcs7_x509.c [168/470] Compiling poly1305.c [169/470] Compiling pkcs8.c [170/470] Compiling pkcs7.c [171/470] Compiling pem_xaux.c [172/470] Compiling pkcs8_x509.c [173/470] Compiling pem_x509.c [174/470] Compiling pem_pkey.c [175/470] Compiling pem_oth.c [176/470] Compiling pem_pk8.c [177/470] Compiling pmbtoken.c [178/470] Compiling obj_xref.c [179/470] Compiling pem_info.c [180/470] Compiling pem_all.c [181/470] Compiling mem.c [182/470] Compiling obj.c [183/470] Compiling pem_lib.c [184/470] Compiling poly_rq_mul.S [185/470] Compiling x86_64-mont5.mac.x86_64.S [186/470] Compiling x86_64-mont5.linux.x86_64.S [187/470] Compiling x86_64-mont.mac.x86_64.S [188/470] Compiling hkdf.c [189/470] Compiling x86_64-mont.linux.x86_64.S [190/470] Compiling vpaes-x86_64.mac.x86_64.S [191/470] Compiling lhash.c [192/470] Compiling x86-mont.linux.x86.S [193/470] Compiling vpaes-x86_64.linux.x86_64.S [194/470] Compiling vpaes-x86.linux.x86.S [195/470] Compiling vpaes-armv8.linux.aarch64.S [196/470] Compiling vpaes-armv7.linux.arm.S [197/470] Compiling vpaes-armv8.ios.aarch64.S [198/470] Compiling vpaes-armv7.ios.arm.S [199/470] Compiling sha512-x86_64.mac.x86_64.S [200/470] Compiling sha512-x86_64.linux.x86_64.S [201/470] Compiling sha512-armv8.linux.aarch64.S [202/470] Compiling kdf.c [203/470] Compiling sha512-armv4.linux.arm.S [204/470] Compiling sha512-armv8.ios.aarch64.S [205/470] Compiling sha512-armv4.ios.arm.S [206/470] Compiling sha512-586.linux.x86.S [207/470] Compiling hpke.c [208/470] Compiling sha256-x86_64.mac.x86_64.S [209/470] Compiling sha256-armv8.linux.aarch64.S [210/470] Compiling sha256-x86_64.linux.x86_64.S [211/470] Compiling sha256-armv4.linux.arm.S [212/470] Compiling sha256-armv4.ios.arm.S [213/470] Compiling sha256-armv8.ios.aarch64.S [214/470] Compiling sha256-586.linux.x86.S [215/470] Compiling sha1-x86_64.linux.x86_64.S [216/470] Compiling sha1-x86_64.mac.x86_64.S [217/470] Compiling sha1-armv8.linux.aarch64.S [218/470] Compiling sha1-armv4-large.linux.arm.S [219/470] Compiling sha1-586.linux.x86.S [220/470] Compiling sha1-armv4-large.ios.arm.S [221/470] Compiling sha1-armv8.ios.aarch64.S [222/470] Compiling sha512.c [223/470] Compiling sha1-altivec.c [224/470] Compiling sha256.c [225/470] Compiling sha1.c [226/470] Compiling service_indicator.c [227/470] Compiling rsaz-avx2.mac.x86_64.S [228/470] Compiling rsaz-avx2.linux.x86_64.S [229/470] Compiling fips.c [230/470] Compiling blinding.c [231/470] Compiling rdrand-x86_64.mac.x86_64.S [232/470] Compiling rdrand-x86_64.linux.x86_64.S [233/470] Compiling self_check.c [234/470] Compiling rsa.c [235/470] Compiling padding.c [236/470] Compiling urandom.c [237/470] Compiling fork_detect.c [238/470] Compiling rand.c [239/470] Compiling p256_beeu-x86_64-asm.linux.x86_64.S [240/470] Compiling p256_beeu-armv8-asm.linux.aarch64.S [241/470] Compiling p256_beeu-x86_64-asm.mac.x86_64.S [242/470] Compiling rsa_impl.c [243/470] Compiling p256-x86_64-asm.mac.x86_64.S [244/470] Compiling p256-x86_64-asm.linux.x86_64.S [245/470] Compiling p256_beeu-armv8-asm.ios.aarch64.S [246/470] Compiling p256-armv8-asm.linux.aarch64.S [247/470] Compiling ctrdrbg.c [248/470] Compiling p256-armv8-asm.ios.aarch64.S [249/470] Compiling gcm_nohw.c [250/470] Compiling ofb.c [251/470] Compiling polyval.c [252/470] Compiling hrss.c [253/470] Compiling ctr.c [254/470] Compiling md5-x86_64.mac.x86_64.S [255/470] Compiling gcm.c [256/470] Compiling cbc.c [257/470] Compiling cfb.c [258/470] Compiling md5-586.linux.x86.S [259/470] Compiling md5-x86_64.linux.x86_64.S [260/470] Compiling ghashv8-armx64.linux.aarch64.S [261/470] Compiling md5.c [262/470] Compiling hmac.c [263/470] Compiling ghashv8-armx64.ios.aarch64.S [264/470] Compiling ghashv8-armx32.linux.arm.S [265/470] Compiling md4.c [266/470] Compiling ghash-x86_64.mac.x86_64.S [267/470] Compiling ghashv8-armx32.ios.arm.S [268/470] Compiling ghash-x86_64.linux.x86_64.S [269/470] Compiling ghash-ssse3-x86_64.mac.x86_64.S [270/470] Compiling ghash-ssse3-x86_64.linux.x86_64.S [271/470] Compiling ghash-x86.linux.x86.S [272/470] Compiling ghash-neon-armv8.linux.aarch64.S [273/470] Compiling ghash-ssse3-x86.linux.x86.S [274/470] Compiling ghash-neon-armv8.ios.aarch64.S [275/470] Compiling ghash-armv4.ios.arm.S [276/470] Compiling ghash-armv4.linux.arm.S [277/470] Compiling fips_shared_support.c [278/470] Compiling util.c [279/470] Compiling ecdsa.c [280/470] Compiling simple_mul.c [281/470] Compiling wnaf.c [282/470] Compiling ecdh.c [283/470] Compiling simple.c [284/470] Compiling felem.c [285/470] Compiling scalar.c [286/470] Compiling oct.c [287/470] Compiling ec_key.c [288/470] Compiling ec_montgomery.c [289/470] Compiling p256-nistz.c [290/470] Compiling ec.c [291/470] Compiling digestsign.c [292/470] Compiling digests.c [293/470] Compiling digest.c [294/470] Compiling co-586.linux.x86.S [295/470] Compiling Yams Constructor.swift [296/470] Compiling check.c [297/470] Compiling dh.c [298/470] Compiling cmac.c [299/470] Compiling bsaes-armv7.linux.arm.S [300/470] Compiling e_aesccm.c [301/470] Compiling aead.c [302/470] Compiling bsaes-armv7.ios.arm.S [303/470] Compiling cipher.c [304/470] Compiling ArgumentParser BashCompletionsGenerator.swift [305/470] Compiling rsaz_exp.c [306/470] Compiling e_aes.c [307/470] Compiling sqrt.c [308/470] Compiling shift.c [309/470] Compiling montgomery_inv.c [310/470] Compiling random.c [311/470] Compiling p256.c [312/470] Compiling montgomery.c [313/470] Compiling jacobi.c [314/470] Compiling prime.c [315/470] Compiling mul.c [316/470] Compiling gcd.c [317/470] Compiling gcd_extra.c [318/470] Compiling div_extra.c [319/470] Compiling ctx.c [320/470] Compiling cmp.c [321/470] Compiling x86_64-gcc.c [322/470] Compiling div.c [323/470] Compiling exponentiation.c [324/470] Compiling bn-586.linux.x86.S [325/470] Compiling bytes.c [326/470] Compiling bn.c [327/470] Compiling armv8-mont.linux.aarch64.S [328/470] Compiling add.c [329/470] Compiling armv4-mont.linux.arm.S [330/470] Compiling armv4-mont.ios.arm.S [331/470] Compiling aesv8-armx64.linux.aarch64.S [332/470] Compiling armv8-mont.ios.aarch64.S [333/470] Compiling aesv8-armx32.ios.arm.S [334/470] Compiling aesv8-armx32.linux.arm.S [335/470] Compiling aesni-x86_64.mac.x86_64.S [336/470] Compiling aesni-x86.linux.x86.S [337/470] Compiling aesni-x86_64.linux.x86_64.S [338/470] Compiling aesv8-armx64.ios.aarch64.S [339/470] Compiling generic.c [340/470] Compiling aesni-gcm-x86_64.mac.x86_64.S [341/470] Compiling aesni-gcm-x86_64.linux.x86_64.S [342/470] Compiling aes.c [343/470] Compiling mode_wrappers.c [344/470] Compiling key_wrap.c [345/470] Compiling ex_data.c [346/470] Compiling sign.c [347/470] Compiling pbkdf.c [348/470] Compiling scrypt.c [349/470] Compiling p_x25519.c [350/470] Compiling p_rsa_asn1.c [351/470] Compiling p_x25519_asn1.c [352/470] Compiling print.c [353/470] Compiling p_ed25519.c [354/470] Compiling p_rsa.c [355/470] Compiling p_ec_asn1.c [356/470] Compiling p_hkdf.c [357/470] Compiling aes_nohw.c [358/470] Compiling p_ec.c [359/470] Compiling p_ed25519_asn1.c [360/470] Compiling err_data.c [361/470] Compiling engine.c [362/470] Compiling evp_ctx.c [363/470] Compiling p_dsa_asn1.c [364/470] Compiling evp_asn1.c [365/470] Compiling evp.c [366/470] Compiling err.c [367/470] Compiling ecdh_extra.c [368/470] Compiling ec_derive.c [369/470] Compiling ecdsa_asn1.c [370/470] Compiling params.c [371/470] Compiling ec_asn1.c [372/470] Compiling hash_to_curve.c [373/470] Compiling dh_asn1.c [374/470] Compiling dsa_asn1.c [375/470] Compiling digest_extra.c [376/470] Compiling x25519-asm-arm.S [377/470] Compiling cpu_ppc64le.c [378/470] Compiling crypto.c [379/470] Compiling dsa.c [380/470] Compiling spake25519.c [381/470] Compiling cpu_intel.c [382/470] Compiling cpu_arm_linux.c [383/470] Compiling cpu_arm_freebsd.c [384/470] Compiling cpu_arm.c [385/470] Compiling cpu_aarch64_linux.c [386/470] Compiling cpu_aarch64_fuchsia.c [387/470] Compiling cpu_aarch64_win.c [388/470] Compiling cpu_aarch64_freebsd.c [389/470] Compiling cpu_aarch64_apple.c [390/470] Compiling e_rc4.c [391/470] Compiling des.c [392/470] Compiling tls_cbc.c [393/470] Compiling e_tls.c [394/470] Compiling e_rc2.c [395/470] Compiling e_null.c [396/470] Compiling conf.c [397/470] Compiling e_des.c [398/470] Compiling e_chacha20poly1305.c [399/470] Compiling derive_key.c [400/470] Compiling chacha20_poly1305_x86_64.mac.x86_64.S [401/470] Compiling e_aesgcmsiv.c [402/470] Compiling e_aesctrhmac.c [403/470] Compiling chacha20_poly1305_x86_64.linux.x86_64.S [404/470] Compiling cipher_extra.c [405/470] Compiling chacha20_poly1305_armv8.linux.aarch64.S [406/470] Compiling aes128gcmsiv-x86_64.mac.x86_64.S [407/470] Compiling aes128gcmsiv-x86_64.linux.x86_64.S [408/470] Compiling chacha-x86_64.mac.x86_64.S [409/470] Compiling chacha-x86_64.linux.x86_64.S [410/470] Compiling chacha20_poly1305_armv8.ios.aarch64.S [411/470] Compiling chacha-x86.linux.x86.S [412/470] Compiling chacha-armv8.linux.aarch64.S [413/470] Compiling chacha.c [414/470] Compiling chacha-armv4.ios.arm.S [415/470] Compiling chacha-armv4.linux.arm.S [416/470] Compiling chacha-armv8.ios.aarch64.S [417/470] Compiling unicode.c [418/470] Compiling asn1_compat.c [419/470] Compiling ber.c [420/470] Compiling buf.c [421/470] Compiling bn_asn1.c [422/470] Compiling socket_helper.c [423/470] Compiling cbb.c [424/470] Compiling blake2.c [425/470] Compiling convert.c [426/470] Compiling socket.c [427/470] Compiling cbs.c [428/470] Compiling printf.c [429/470] Compiling hexdump.c [430/470] Compiling file.c [431/470] Compiling pair.c [432/470] Compiling fd.c [433/470] Compiling connect.c [434/470] Compiling bio_mem.c [435/470] Compiling curve25519.c [436/470] Compiling tasn_utl.c [437/470] Compiling tasn_typ.c [438/470] Compiling tasn_new.c [439/470] Compiling tasn_fre.c [440/470] Compiling bio.c [441/470] Compiling base64.c [442/470] Compiling f_string.c [443/470] Compiling f_int.c [444/470] Compiling tasn_enc.c [445/470] Compiling posix_time.c [446/470] Compiling asn_pack.c [447/470] Compiling asn1_par.c [448/470] Compiling tasn_dec.c [449/470] Compiling a_type.c [450/470] Compiling asn1_lib.c [451/470] Compiling a_time.c [452/470] Compiling a_utctm.c [453/470] Compiling a_strnid.c [454/470] Compiling a_print.c [455/470] Compiling a_octet.c [456/470] Compiling a_strex.c [457/470] Compiling a_object.c [458/470] Compiling a_mbstr.c [459/470] Compiling a_gentm.c [460/470] Compiling a_bool.c [461/470] Compiling a_d2i_fp.c [462/470] Compiling a_dup.c [463/470] Compiling a_i2d_fp.c [464/470] Compiling a_int.c [465/470] Compiling a_bitstr.c [466/470] Compiling p224-64.c [467/470] Compiling c-nioatomics.c [468/470] Compiling CryptoSwift AEAD.swift /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/CryptoSwift/Sources/CryptoSwift/Cipher.swift:21:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead public protocol Cipher: class { ^~~~~ AnyObject /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:23:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead public protocol Cryptors: class { ^~~~~ AnyObject [469/470] Compiling c-atomics.c remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[470/472] Compiling XcodeHasher XcodeHasher.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[471/473] Compiling NIOConcurrencyHelpers NIOAtomic.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[472/474] Compiling SwiftProtobuf AnyMessageStorage.swift [473/474] Compiling XCLogParser XCLogParserError.swift /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:79:24: warning: 'scanString(_:into:)' was deprecated in macOS 10.15 return scanner.scanString(Lexer.SLFHeader, into: &format) ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:108:23: warning: 'scanCharacters(from:into:)' was deprecated in macOS 10.15 while scanner.scanCharacters(from: CharacterSet(charactersIn: hexChars), into: &char), ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:121:20: warning: 'scanCharacters(from:into:)' was deprecated in macOS 10.15 if scanner.scanCharacters(from: typeDelimiters, into: &delimiters), let delimiters = delimiters { ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:127:29: warning: 'scanLocation' was deprecated in macOS 10.15 scanner.scanLocation -= delimiters.count - 1 ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:241:55: warning: 'scanLocation' was deprecated in macOS 10.15 let start = String.Index(utf16Offset: scanner.scanLocation, in: scanner.string) ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:242:53: warning: 'scanLocation' was deprecated in macOS 10.15 let end = String.Index(utf16Offset: scanner.scanLocation + value, in: scanner.string) ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:247:17: warning: 'scanLocation' was deprecated in macOS 10.15 scanner.scanLocation += value ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:271:39: warning: 'scanLocation' was deprecated in macOS 10.15 let endCount = string.count - scanLocation > 21 ? scanLocation + 21 : string.count - scanLocation ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:271:59: warning: 'scanLocation' was deprecated in macOS 10.15 let endCount = string.count - scanLocation > 21 ? scanLocation + 21 : string.count - scanLocation ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:271:94: warning: 'scanLocation' was deprecated in macOS 10.15 let endCount = string.count - scanLocation > 21 ? scanLocation + 21 : string.count - scanLocation ^ /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/xclogparser/Sources/XCLogParser/lexer/Lexer.swift:273:47: warning: 'scanLocation' was deprecated in macOS 10.15 let start = String.Index(utf16Offset: scanLocation, in: self.string) ^ [474/474] Compiling NIOCore AddressedEnvelope.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[475/476] Compiling NIOEmbedded AsyncTestingChannel.swift [476/476] Compiling NIOPosix BSDSocketAPICommon.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[477/477] Compiling NIO Exports.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[478/480] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[479/481] Compiling NIOHTTP1 ByteCollectionUtils.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[480/482] Compiling NIOSSL ByteBufferBIO.swift [481/482] Compiling NIOHPACK DynamicHeaderTable.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[482/483] Compiling NIOFoundationCompat ByteBuffer-foundation.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[483/484] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift [484/484] Compiling NIOHTTP2 ConnectionStateMachine.swift remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[485/485] Compiling GRPC Box.swift /private/var/tmp/_bazel_lpadron/dcc9b7d829465dad7d100aa40f0dcc17/sandbox/darwin-sandbox/17/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/external/xcode_metrics_packages/spm_build/checkouts/grpc-swift/Sources/GRPC/ClientCalls/BaseClientCall.swift:99:19: warning: 'createStreamChannel(promise:_:)' is deprecated: The signature of 'streamStateInitializer' has changed to '(Channel) -> EventLoopFuture