Build Information
Successful build of Yorkie, reference 0.6.15 (14c906
), with Swift 6.1 for macOS (SPM) on 11 Sep 2025 09:23:57 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
[355/586] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[356/586] Compiling SwiftProtobuf TextFormatEncoder.swift
[357/586] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[358/586] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[359/586] Compiling SwiftProtobuf TextFormatScanner.swift
[360/586] Compiling SwiftProtobuf TimeUtils.swift
[361/586] Compiling SwiftProtobuf UnknownStorage.swift
[362/586] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[363/586] Compiling SwiftProtobuf Varint.swift
[364/586] Compiling SwiftProtobuf Version.swift
[365/586] Compiling SwiftProtobuf Visitor.swift
[366/586] Compiling SwiftProtobuf WireFormat.swift
[367/586] Compiling SwiftProtobuf ZigZag.swift
[368/586] Compiling SwiftProtobuf any.pb.swift
[369/586] Compiling SwiftProtobuf api.pb.swift
[370/586] Compiling SwiftProtobuf descriptor.pb.swift
[370/586] Compiling x509_def.cc
[371/586] Compiling x509_d2.cc
[372/586] Compiling x509_cmp.cc
[373/586] Compiling x509_att.cc
[374/586] Compiling x509.cc
[375/586] Compiling v3_prn.cc
[376/586] Compiling v3_skey.cc
[377/586] Compiling v3_purp.cc
[378/586] Compiling v3_utl.cc
[379/605] Compiling v3_pmaps.cc
[380/641] Compiling v3_pcons.cc
[381/641] Compiling v3_ncons.cc
[382/641] Compiling v3_int.cc
[383/641] Compiling v3_ia5.cc
[384/641] Compiling v3_info.cc
[385/641] Compiling v3_genn.cc
[386/641] Compiling v3_ocsp.cc
[387/641] Compiling v3_lib.cc
[388/641] Compiling v3_extku.cc
[389/641] Compiling v3_enum.cc
[390/641] Compiling v3_bitst.cc
[391/641] Compiling v3_crld.cc
[392/641] Compiling v3_conf.cc
[393/641] Compiling v3_cpols.cc
[394/641] Compiling v3_bcons.cc
[395/641] Compiling v3_alt.cc
[396/641] Compiling v3_akeya.cc
[397/641] Compiling v3_akey.cc
[398/641] Compiling i2d_pr.cc
[399/641] Compiling t_x509a.cc
[400/641] Compiling t_crl.cc
[401/641] Compiling t_req.cc
[402/641] Compiling t_x509.cc
[403/641] Compiling name_print.cc
[403/641] Compiling rsa_pss.cc
[405/641] Compiling policy.cc
[406/641] Compiling by_file.cc
[407/641] Compiling by_dir.cc
[408/641] Compiling asn1_gen.cc
[409/641] Compiling voprf.cc
[410/641] Compiling trust_token.cc
[411/641] Compiling a_digest.cc
[412/641] Compiling algorithm.cc
[413/641] Compiling a_sign.cc
[414/641] Compiling a_verify.cc
[415/641] Compiling pmbtoken.cc
[416/641] Compiling thread_win.cc
[417/641] Compiling thread_pthread.cc
[418/641] Compiling thread_none.cc
[419/641] Compiling thread.cc
[420/641] Compiling stack.cc
[421/641] Compiling siphash.cc
[422/641] Compiling slhdsa.cc
[423/641] Compiling sha512.cc
[424/641] Compiling spake2plus.cc
[425/641] Compiling sha256.cc
[426/641] Compiling sha1.cc
[427/641] Compiling rsa_extra.cc
[428/641] Compiling rsa_print.cc
[429/641] Compiling rsa_crypt.cc
[430/641] Compiling rc4.cc
[431/641] Compiling refcount.cc
[432/641] Compiling rsa_asn1.cc
[433/641] Compiling windows.cc
[434/641] Compiling trusty.cc
[435/641] Compiling urandom.cc
[436/641] Compiling rand.cc
[437/641] Compiling passive.cc
[438/641] Compiling poly1305_arm_asm.S
[439/641] Compiling ios.cc
[440/641] Compiling getentropy.cc
[441/641] Compiling forkunsafe.cc
[442/641] Compiling deterministic.cc
[443/641] Compiling fork_detect.cc
[444/641] Compiling poly1305_vec.cc
[445/641] Compiling poly1305_arm.cc
[446/641] Compiling poly1305.cc
[447/641] Compiling pool.cc
[448/641] Compiling pkcs7.cc
[449/641] Compiling pkcs8_x509.cc
[450/641] Compiling pkcs8.cc
[451/641] Compiling p5_pbev2.cc
[452/641] Compiling pkcs7_x509.cc
[454/641] Compiling Connect UnaryInterceptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[455/641] Compiling Connect MethodSpec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[456/641] Compiling Connect NetworkProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[457/641] Compiling Connect ProtobufMessage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[458/641] Compiling Connect ProtocolClientConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[459/641] Compiling Connect ProtocolClientInterface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[460/641] Compiling Connect ConnectError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[461/641] Compiling Connect HTTPClientInterface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[462/641] Compiling Connect HTTPMethod.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[463/641] Compiling Connect HTTPMetrics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[464/641] Compiling Connect HTTPRequest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[465/641] Compiling Connect HTTPResponse.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[465/646] Compiling pem_xaux.cc
[466/646] Compiling pem_x509.cc
[468/646] Compiling Connect RequestCallbacks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[469/646] Compiling Connect ResponseCallbacks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[470/646] Compiling Connect ServerOnlyStreamInterface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[471/646] Compiling Connect StreamResult.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[472/646] Compiling Connect Trailers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[472/646] Compiling pem_pkey.cc
[473/646] Compiling pem_pk8.cc
[474/646] Compiling obj_xref.cc
[475/646] Compiling pem_oth.cc
[476/646] Compiling pem_lib.cc
[477/646] Compiling pem_info.cc
[478/646] Compiling mlkem.cc
[479/646] Compiling pem_all.cc
[480/646] Compiling mldsa.cc
[481/646] Compiling poly_rq_mul.S
[482/646] Compiling mem.cc
[483/646] Compiling obj.cc
[484/646] Compiling fips_shared_support.cc
[485/646] Compiling md5.cc
[487/646] Compiling Connect ResponseMessage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[488/646] Compiling Connect BidirectionalAsyncStreamInterface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[489/646] Compiling Connect ClientOnlyAsyncStreamInterface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[490/646] Compiling Connect ServerOnlyAsyncStreamInterface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[491/646] Compiling Connect BidirectionalStreamInterface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[492/646] Compiling Connect ClientOnlyStreamInterface.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[493/646] Compiling Connect HeaderConstants.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[494/646] Compiling Connect Headers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[495/646] Compiling Connect IdempotencyLevel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[496/646] Compiling Connect Interceptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[497/646] Compiling Connect InterceptorFactory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[498/646] Compiling Connect StreamInterceptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[499/646] Compiling Connect ProtoCodec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[500/646] Compiling Connect GzipCompressionPool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[501/646] Compiling Connect Cancelable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[502/646] Compiling Connect Code.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[503/646] Compiling Connect Codec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[504/646] Compiling Connect CompressionPool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[505/646] Compiling Connect URLSessionStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[506/646] Compiling Connect UnaryAsyncWrapper.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[507/646] Compiling Connect Lock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[508/646] Compiling Connect Locked.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[509/646] Compiling Connect TimeoutTimer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[510/646] Compiling Connect ConnectError+GRPC.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[510/646] Compiling md4.cc
[512/646] Emitting module Connect
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[513/646] Compiling Connect ClientOnlyAsyncStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[514/646] Compiling Connect ClientOnlyStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[515/646] Compiling Connect ClientOnlyStreamValidation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[516/646] Compiling Connect ConnectEndStreamResponse.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[517/646] Compiling Connect ServerOnlyAsyncStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[518/646] Compiling Connect ServerOnlyStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[519/646] Compiling Connect status.pb.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[520/646] Compiling Connect ConnectInterceptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[521/646] Compiling Connect GRPCWebInterceptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[522/646] Compiling Connect InterceptorChain.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[523/646] Compiling Connect BidirectionalAsyncStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[524/646] Compiling Connect BidirectionalStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[525/646] Compiling Connect Envelope.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[526/646] Compiling Connect Headers+GRPC.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[527/646] Compiling Connect Trailers+gRPC.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[528/646] Compiling Connect ProtocolClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[529/646] Compiling Connect URLSessionHTTPClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[530/646] Compiling Connect JSONCodec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[530/646] Compiling lhash.cc
[531/646] Compiling kyber.cc
[532/646] Compiling ex_data.cc
[533/646] Compiling sign.cc
[534/666] Compiling hpke.cc
[535/671] Compiling hrss.cc
[536/682] Compiling scrypt.cc
[537/694] Compiling print.cc
[538/709] Compiling pbkdf.cc
[539/709] Compiling p_x25519.cc
[540/709] Compiling p_x25519_asn1.cc
[541/709] Compiling p_ed25519.cc
[542/709] Compiling p_rsa_asn1.cc
[543/709] Compiling p_ed25519_asn1.cc
[544/709] Compiling p_rsa.cc
[545/709] Compiling p_hkdf.cc
[546/709] Compiling p_ec_asn1.cc
[547/709] Compiling p_ec.cc
[548/709] Compiling p_dh_asn1.cc
[549/709] Compiling p_dh.cc
[550/709] Compiling p_dsa_asn1.cc
[551/709] Compiling evp_ctx.cc
[552/709] Compiling err.cc
[553/709] Compiling evp.cc
[554/709] Compiling engine.cc
[555/709] Compiling evp_asn1.cc
[556/709] Compiling ecdh.cc
[557/709] Compiling ecdsa_asn1.cc
[558/709] Compiling ec_derive.cc
[559/709] Compiling hash_to_curve.cc
[560/709] Compiling bcm.cc
[561/709] Compiling dsa_asn1.cc
[562/709] Compiling ec_asn1.cc
[563/709] Compiling dsa.cc
[564/709] Compiling x25519-asm-arm.S
[565/709] Compiling params.cc
[566/709] Compiling digest_extra.cc
[567/709] Compiling des.cc
[568/709] Compiling curve25519_64_adx.cc
[569/709] Compiling dh_asn1.cc
[570/709] Compiling spake25519.cc
[571/709] Compiling cpu_intel.cc
[572/709] Compiling crypto.cc
[573/709] Compiling cpu_arm_linux.cc
[574/709] Compiling curve25519.cc
[575/709] Compiling cpu_arm_freebsd.cc
[576/709] Compiling cpu_aarch64_win.cc
[577/709] Compiling cpu_aarch64_sysreg.cc
[578/709] Compiling cpu_aarch64_openbsd.cc
[579/709] Compiling cpu_aarch64_linux.cc
[580/709] Compiling cpu_aarch64_fuchsia.cc
[581/709] Compiling cpu_aarch64_apple.cc
[582/709] Compiling conf.cc
[583/709] Compiling tls_cbc.cc
[584/709] Compiling get_cipher.cc
[585/709] Compiling e_tls.cc
[586/709] Compiling e_rc4.cc
[587/709] Compiling e_rc2.cc
[588/709] Compiling e_null.cc
[589/709] Compiling e_des.cc
[590/709] Compiling e_chacha20poly1305.cc
[591/709] Compiling derive_key.cc
[592/709] Compiling e_aesgcmsiv.cc
[593/709] Compiling e_aesctrhmac.cc
[594/709] Compiling chacha.cc
[595/709] Compiling unicode.cc
[596/709] Compiling ber.cc
[597/709] Compiling cbb.cc
[598/709] Compiling cbs.cc
[599/709] Compiling buf.cc
[600/709] Compiling asn1_compat.cc
[601/709] Compiling bn_asn1.cc
[602/709] Compiling convert.cc
[603/709] Compiling blake2.cc
[604/709] Compiling socket_helper.cc
[605/709] Compiling printf.cc
[606/709] Compiling socket.cc
[607/709] Compiling pair.cc
[608/709] Compiling hexdump.cc
[609/709] Compiling file.cc
[610/709] Compiling fd.cc
[611/709] Compiling errno.cc
[612/709] Compiling connect.cc
[613/709] Compiling bio_mem.cc
[614/709] Compiling base64.cc
[615/709] Compiling bio.cc
[616/709] Compiling tasn_typ.cc
[617/709] Compiling tasn_fre.cc
[618/709] Compiling tasn_enc.cc
[619/709] Compiling tasn_utl.cc
[620/709] Compiling tasn_new.cc
[621/709] Compiling tasn_dec.cc
[622/709] Compiling posix_time.cc
[623/709] Compiling asn_pack.cc
[624/709] Compiling f_string.cc
[625/709] Compiling f_int.cc
[626/709] Compiling asn1_par.cc
[627/709] Compiling asn1_lib.cc
[628/709] Compiling a_utctm.cc
[629/709] Compiling a_type.cc
[630/709] Compiling a_octet.cc
[632/709] Compiling Yorkie Payload.swift
[633/709] Compiling Yorkie YorkieCountable.swift
[634/709] Compiling Yorkie Codable+Extension.swift
[635/709] Compiling Yorkie Collection+Extensions.swift
[636/709] Compiling Yorkie Dictionary+Extension.swift
[637/709] Compiling Yorkie Errors.swift
[637/715] Compiling a_time.cc
[638/715] Compiling a_strnid.cc
[639/715] Compiling a_strex.cc
[640/715] Compiling a_object.cc
[642/715] Compiling Yorkie TreeEditOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:31:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
29 | }
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:32:23: warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
| |- warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'next' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:33:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
[643/715] Compiling Yorkie TreeSytleOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:31:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
29 | }
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:32:23: warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
| |- warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'next' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:33:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
[644/715] Compiling Yorkie Presence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:31:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
29 | }
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:32:23: warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
| |- warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'next' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:33:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
[645/715] Compiling Yorkie ActorID.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:31:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
29 | }
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:32:23: warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
| |- warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'next' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:33:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
[646/715] Compiling Yorkie TimeTicket.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:31:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
29 | }
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:32:23: warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
| |- warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'next' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:33:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
[647/715] Compiling Yorkie VersionVector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:31:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
29 | }
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:32:23: warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
| |- warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'next' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:33:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
[648/715] Compiling Yorkie JSONObjectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:31:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
29 | }
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:32:23: warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
| |- warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'next' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:33:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
[648/715] Compiling a_mbstr.cc
[649/715] Compiling a_i2d_fp.cc
[650/715] Write sources
[651/715] Compiling a_dup.cc
[653/715] Compiling Yorkie EditOperation.swift
[654/715] Compiling Yorkie IncreaseOperation.swift
[655/715] Compiling Yorkie MoveOperation.swift
[656/715] Compiling Yorkie Operation.swift
[657/715] Compiling Yorkie RemoveOperation.swift
[658/715] Compiling Yorkie SetOperation.swift
[659/715] Compiling Yorkie StyleOperation.swift
[659/734] Compiling a_int.cc
[660/734] Compiling a_gentm.cc
[660/734] Compiling a_d2i_fp.cc
[662/734] Compiling a_bitstr.cc
[663/734] Compiling a_bool.cc
[665/734] Compiling Atomics UnsafeAtomic.swift
[666/734] Compiling Atomics UnsafeAtomicLazyReference.swift
[667/736] Compiling Atomics AtomicStorage.swift
[668/736] Compiling Atomics AtomicValue.swift
[669/736] Compiling Atomics ManagedAtomic.swift
[670/736] Compiling Atomics ManagedAtomicLazyReference.swift
[671/736] Compiling Atomics AtomicMemoryOrderings.swift
[672/736] Compiling Atomics DoubleWord.swift
[673/736] Compiling Atomics IntegerOperations.swift
[674/736] Compiling Atomics Unmanaged extensions.swift
[675/736] Compiling Yorkie JSONDatable.swift
[676/736] Compiling Yorkie JSONObject.swift
[677/736] Compiling Yorkie JSONText.swift
[678/736] Compiling Yorkie JSONTree.swift
[679/736] Compiling Yorkie ObjectDataHandler.swift
[680/736] Compiling Yorkie Strings.swift
[681/736] Compiling Yorkie AddOperation.swift
[682/736] Compiling Yorkie ChangePack.swift
[683/736] Compiling Yorkie Checkpoint.swift
[684/736] Compiling Yorkie DocEvent.swift
[685/736] Compiling Yorkie Document.swift
[686/736] Compiling Yorkie ElementConverter.swift
[687/736] Compiling Yorkie JSONArray.swift
[688/736] Compiling Yorkie JSONCounter.swift
[689/736] Compiling Atomics AtomicBool.swift
[690/736] Compiling Atomics IntegerConformances.swift
[691/736] Compiling Atomics AtomicOptionalWrappable.swift
[692/736] Compiling Atomics AtomicReference.swift
[693/736] Compiling Atomics Primitives.shims.swift
[694/736] Compiling Atomics AtomicInteger.swift
[695/736] Compiling Atomics OptionalRawRepresentable.swift
[696/736] Compiling Atomics RawRepresentable.swift
[697/736] Compiling Atomics PointerConformances.swift
[698/736] Compiling Atomics Primitives.native.swift
[699/736] Compiling Yorkie IndexTree.swift
[700/736] Compiling Yorkie LLRBTree.swift
[701/736] Compiling Yorkie Optional+Extensions.swift
[702/736] Compiling Yorkie SplayTree.swift
[703/736] Compiling Yorkie String+Extensions.swift
[704/736] Compiling Yorkie Version.swift
[705/736] Emitting module Atomics
[705/736] Compiling c-nioatomics.c
[706/736] Compiling c-atomics.c
[708/742] Compiling NIOConcurrencyHelpers lock.swift
[709/742] Emitting module NIOConcurrencyHelpers
[710/742] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[711/742] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[712/742] Compiling NIOConcurrencyHelpers NIOLock.swift
[713/742] Compiling NIOConcurrencyHelpers atomics.swift
[714/804] Compiling NIOCore Linux.swift
[715/804] Compiling NIOCore MarkedCircularBuffer.swift
[716/804] Compiling NIOCore MulticastChannel.swift
[717/804] Compiling NIOCore NIOAny.swift
[718/804] Compiling NIOCore NIOCloseOnErrorHandler.swift
[719/804] Compiling NIOCore NIOLoopBound.swift
[720/810] Compiling NIOCore SocketOptionProvider.swift
[721/810] Compiling NIOCore SystemCallHelpers.swift
[722/810] Compiling NIOCore TimeAmount+Duration.swift
[723/810] Compiling NIOCore TypeAssistedChannelHandler.swift
[724/810] Compiling NIOCore UniversalBootstrapSupport.swift
[725/810] Compiling NIOCore Utilities.swift
[726/810] Compiling NIOCore AddressedEnvelope.swift
[727/810] Compiling NIOCore AsyncAwaitSupport.swift
[728/810] Compiling NIOCore AsyncChannel.swift
[729/810] Compiling NIOCore AsyncChannelHandler.swift
[730/810] Compiling NIOCore AsyncChannelInboundStream.swift
[731/810] Compiling NIOCore AsyncChannelOutboundWriter.swift
[732/810] Compiling NIOCore NIOAsyncSequenceProducer.swift
[733/810] Compiling NIOCore GlobalSingletons.swift
[734/810] Compiling NIOCore IO.swift
[735/810] Compiling NIOCore IOData.swift
[736/810] Compiling NIOCore IPProtocol.swift
[737/810] Compiling NIOCore IntegerBitPacking.swift
[738/810] Compiling NIOCore IntegerTypes.swift
[739/810] Compiling NIOCore Interfaces.swift
[740/810] Compiling NIOCore Codec.swift
[741/810] Compiling NIOCore ConvenienceOptionSupport.swift
[742/810] Compiling NIOCore DeadChannel.swift
[743/810] Compiling NIOCore DispatchQueue+WithFuture.swift
[744/810] Compiling NIOCore EventLoop+Deprecated.swift
[745/810] Compiling NIOCore EventLoop+SerialExecutor.swift
[746/810] Compiling NIOCore EventLoop.swift
[747/810] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[748/810] Compiling NIOCore EventLoopFuture+Deprecated.swift
[749/810] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[750/810] Compiling NIOCore EventLoopFuture.swift
[751/810] Compiling NIOCore FileDescriptor.swift
[752/810] Compiling NIOCore FileHandle.swift
[753/810] Compiling NIOCore FileRegion.swift
[754/810] Emitting module Yorkie
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger.swift:31:24: warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | }
30 |
31 | private static var yorkieLogger = Logging.Logger(label: "Yorkie")
| |- warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yorkieLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yorkieLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static func trace(_ message: @autoclosure () -> String, error: Error? = nil, filename: String = #fileID, function: String = #function, line: UInt = #line) {
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/CRDTTree.swift:156:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
150 | * the adjacent node to pos by calling `map.floorEntry()`.
151 | */
152 | struct CRDTTreeNodeID: Equatable, Comparable {
| `- note: consider making struct 'CRDTTreeNodeID' conform to the 'Sendable' protocol
153 | /**
154 | * `initial` is the initial position of the tree.
155 | */
156 | public static let initial = CRDTTreeNodeID(createdAt: .initial, offset: 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/RGATreeSplit.swift:62:16: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
59 | * `RGATreeSplitNodeID` is an ID of RGATreeSplitNode.
60 | */
61 | class RGATreeSplitNodeID: Equatable, Comparable, CustomDebugStringConvertible {
| `- note: class 'RGATreeSplitNodeID' does not conform to the 'Sendable' protocol
62 | static let initial = RGATreeSplitNodeID(TimeTicket.initial, 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:31:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
29 | }
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:32:23: warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
30 |
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
| |- warning: static property 'next' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'next' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Document/Time/TimeTicket.swift:33:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * It is created by `ChangeID`.
22 | */
23 | public struct TimeTicket: Comparable {
| `- note: consider making struct 'TimeTicket' conform to the 'Sendable' protocol
24 | enum Values {
25 | static let initialDelimiter: UInt32 = 0
:
31 | public static let initial = TimeTicket(lamport: 0, delimiter: Values.initialDelimiter, actorID: ActorIDs.initial)
32 | public static let next = TimeTicket(lamport: 1, delimiter: Values.initialDelimiter + 1, actorID: ActorIDs.initial)
33 | public static let max = TimeTicket(lamport: Values.maxLamport, delimiter: Values.maxDelemiter, actorID: ActorIDs.max)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'TimeTicket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
[755/810] Compiling NIOCore ByteBuffer-hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/RGATreeSplit.swift:62:16: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
59 | * `RGATreeSplitNodeID` is an ID of RGATreeSplitNode.
60 | */
61 | class RGATreeSplitNodeID: Equatable, Comparable, CustomDebugStringConvertible {
| `- note: class 'RGATreeSplitNodeID' does not conform to the 'Sendable' protocol
62 | static let initial = RGATreeSplitNodeID(TimeTicket.initial, 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /**
[756/810] Compiling NIOCore ByteBuffer-int.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/RGATreeSplit.swift:62:16: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
59 | * `RGATreeSplitNodeID` is an ID of RGATreeSplitNode.
60 | */
61 | class RGATreeSplitNodeID: Equatable, Comparable, CustomDebugStringConvertible {
| `- note: class 'RGATreeSplitNodeID' does not conform to the 'Sendable' protocol
62 | static let initial = RGATreeSplitNodeID(TimeTicket.initial, 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /**
[757/810] Compiling NIOCore ByteBuffer-lengthPrefix.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/RGATreeSplit.swift:62:16: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
59 | * `RGATreeSplitNodeID` is an ID of RGATreeSplitNode.
60 | */
61 | class RGATreeSplitNodeID: Equatable, Comparable, CustomDebugStringConvertible {
| `- note: class 'RGATreeSplitNodeID' does not conform to the 'Sendable' protocol
62 | static let initial = RGATreeSplitNodeID(TimeTicket.initial, 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /**
[758/810] Compiling NIOCore ByteBuffer-multi-int.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/RGATreeSplit.swift:62:16: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
59 | * `RGATreeSplitNodeID` is an ID of RGATreeSplitNode.
60 | */
61 | class RGATreeSplitNodeID: Equatable, Comparable, CustomDebugStringConvertible {
| `- note: class 'RGATreeSplitNodeID' does not conform to the 'Sendable' protocol
62 | static let initial = RGATreeSplitNodeID(TimeTicket.initial, 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /**
[759/810] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/RGATreeSplit.swift:62:16: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
59 | * `RGATreeSplitNodeID` is an ID of RGATreeSplitNode.
60 | */
61 | class RGATreeSplitNodeID: Equatable, Comparable, CustomDebugStringConvertible {
| `- note: class 'RGATreeSplitNodeID' does not conform to the 'Sendable' protocol
62 | static let initial = RGATreeSplitNodeID(TimeTicket.initial, 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /**
[760/810] Compiling NIOCore ByteBuffer-views.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/RGATreeSplit.swift:62:16: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
59 | * `RGATreeSplitNodeID` is an ID of RGATreeSplitNode.
60 | */
61 | class RGATreeSplitNodeID: Equatable, Comparable, CustomDebugStringConvertible {
| `- note: class 'RGATreeSplitNodeID' does not conform to the 'Sendable' protocol
62 | static let initial = RGATreeSplitNodeID(TimeTicket.initial, 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/RGATreeSplit.swift:62:16: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
59 | * `RGATreeSplitNodeID` is an ID of RGATreeSplitNode.
60 | */
61 | class RGATreeSplitNodeID: Equatable, Comparable, CustomDebugStringConvertible {
| `- note: class 'RGATreeSplitNodeID' does not conform to the 'Sendable' protocol
62 | static let initial = RGATreeSplitNodeID(TimeTicket.initial, 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'RGATreeSplitNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /**
[762/810] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/CRDTTree.swift:156:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
150 | * the adjacent node to pos by calling `map.floorEntry()`.
151 | */
152 | struct CRDTTreeNodeID: Equatable, Comparable {
| `- note: consider making struct 'CRDTTreeNodeID' conform to the 'Sendable' protocol
153 | /**
154 | * `initial` is the initial position of the tree.
155 | */
156 | public static let initial = CRDTTreeNodeID(createdAt: .initial, offset: 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /**
[763/810] Compiling NIOCore NIOScheduledCallback.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/CRDTTree.swift:156:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
150 | * the adjacent node to pos by calling `map.floorEntry()`.
151 | */
152 | struct CRDTTreeNodeID: Equatable, Comparable {
| `- note: consider making struct 'CRDTTreeNodeID' conform to the 'Sendable' protocol
153 | /**
154 | * `initial` is the initial position of the tree.
155 | */
156 | public static let initial = CRDTTreeNodeID(createdAt: .initial, offset: 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /**
[764/810] Compiling NIOCore NIOSendable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/CRDTTree.swift:156:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
150 | * the adjacent node to pos by calling `map.floorEntry()`.
151 | */
152 | struct CRDTTreeNodeID: Equatable, Comparable {
| `- note: consider making struct 'CRDTTreeNodeID' conform to the 'Sendable' protocol
153 | /**
154 | * `initial` is the initial position of the tree.
155 | */
156 | public static let initial = CRDTTreeNodeID(createdAt: .initial, offset: 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /**
[765/810] Compiling NIOCore RecvByteBufferAllocator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/CRDTTree.swift:156:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
150 | * the adjacent node to pos by calling `map.floorEntry()`.
151 | */
152 | struct CRDTTreeNodeID: Equatable, Comparable {
| `- note: consider making struct 'CRDTTreeNodeID' conform to the 'Sendable' protocol
153 | /**
154 | * `initial` is the initial position of the tree.
155 | */
156 | public static let initial = CRDTTreeNodeID(createdAt: .initial, offset: 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /**
[766/810] Compiling NIOCore SingleStepByteToMessageDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/CRDTTree.swift:156:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
150 | * the adjacent node to pos by calling `map.floorEntry()`.
151 | */
152 | struct CRDTTreeNodeID: Equatable, Comparable {
| `- note: consider making struct 'CRDTTreeNodeID' conform to the 'Sendable' protocol
153 | /**
154 | * `initial` is the initial position of the tree.
155 | */
156 | public static let initial = CRDTTreeNodeID(createdAt: .initial, offset: 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /**
[767/810] Compiling NIOCore SocketAddresses.swift
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/CRDTTree.swift:156:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
150 | * the adjacent node to pos by calling `map.floorEntry()`.
151 | */
152 | struct CRDTTreeNodeID: Equatable, Comparable {
| `- note: consider making struct 'CRDTTreeNodeID' conform to the 'Sendable' protocol
153 | /**
154 | * `initial` is the initial position of the tree.
155 | */
156 | public static let initial = CRDTTreeNodeID(createdAt: .initial, offset: 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Document/CRDT/CRDTTree.swift:156:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
150 | * the adjacent node to pos by calling `map.floorEntry()`.
151 | */
152 | struct CRDTTreeNodeID: Equatable, Comparable {
| `- note: consider making struct 'CRDTTreeNodeID' conform to the 'Sendable' protocol
153 | /**
154 | * `initial` is the initial position of the tree.
155 | */
156 | public static let initial = CRDTTreeNodeID(createdAt: .initial, offset: 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'CRDTTreeNodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:220:14: warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
184 | private let maximumAttachmentTimeout: Int
185 |
186 | private var yorkieService: YorkieService
| `- note: mutation of this property is only permitted within the actor
187 | private var authTokenInjector: AuthTokenInjector?
188 | private var authHeader: AuthHeader
:
218 | codec: ProtoCodec()))
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
| `- warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
221 | self.authTokenInjector = options.authTokenInjector
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:221:14: warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | private var yorkieService: YorkieService
187 | private var authTokenInjector: AuthTokenInjector?
| `- note: mutation of this property is only permitted within the actor
188 | private var authHeader: AuthHeader
189 | private var semaphoresForInitialzation = [DocKey: DispatchSemaphore]()
:
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
221 | self.authTokenInjector = options.authTokenInjector
| `- warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
223 | self.metadata = options.metadata
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1053:19: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1051 | private func broadcast(docKey: DocKey, request: BroadcastRequest, maxRetries: Int) async throws {
1052 | var retryCount = 0
1053 | guard var attachment = self.attachmentMap[docKey] else {
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1054 | throw YorkieError(code: .errDocumentNotAttached, message: "document \(docKey) is not attached")
1055 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger.swift:31:24: warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | }
30 |
31 | private static var yorkieLogger = Logging.Logger(label: "Yorkie")
| |- warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yorkieLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yorkieLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static func trace(_ message: @autoclosure () -> String, error: Error? = nil, filename: String = #fileID, function: String = #function, line: UInt = #line) {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1091:49: warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
1089 |
1090 | private func injectAuthTokenAfterGet(with authTokenInjector: AuthTokenInjector, reason: String?) async throws {
1091 | let token = try await authTokenInjector.getToken(reason: reason)
| |- warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'authTokenInjector' to nonisolated instance method 'getToken(reason:)' risks causing data races between nonisolated and main actor-isolated uses
1092 | self.authHeader.updateToken(token)
1093 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:930:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
928 | let docKey = doc.getKey()
929 |
930 | let pushpullResponse = await self.yorkieService.pushPullChanges(request: pushPullRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
931 |
932 | guard pushpullResponse.error == nil, let message = pushpullResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:254:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let activateResponse = await self.yorkieService.activateClient(
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 | request: activateRequest,
256 | headers: self.authHeader.makeHeader(self.key)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:287:63: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
285 | let deactivateRequest = DeactivateClientRequest.with { $0.clientID = clientID }
286 |
287 | let deactivateResponse = await self.yorkieService.deactivateClient(request: deactivateRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
288 | headers: self.authHeader.makeHeader(self.key))
289 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:361:59: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
359 | self.semaphoresForInitialzation[docKey] = semaphore
360 |
361 | let attachResponse = await self.yorkieService.attachDocument(request: attachRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
362 |
363 | guard attachResponse.error == nil, let message = attachResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1058:52: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
1056 |
1057 | while retryCount <= maxRetries {
1058 | let message = await self.yorkieService.broadcast(request: request)
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1059 |
1060 | switch message.result {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:444:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
442 |
443 | do {
444 | let detachDocumentResponse = await self.yorkieService.detachDocument(request: detachDocumentRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
445 | headers: self.authHeader.makeHeader(doc.getKey()))
446 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:494:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
492 |
493 | do {
494 | let removeDocumentResponse = await self.yorkieService.removeDocument(request: removeDocumentRequest, headers: self.authHeader.makeHeader(doc.getKey()))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
495 |
496 | guard removeDocumentResponse.error == nil, let message = removeDocumentResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:220:14: warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
184 | private let maximumAttachmentTimeout: Int
185 |
186 | private var yorkieService: YorkieService
| `- note: mutation of this property is only permitted within the actor
187 | private var authTokenInjector: AuthTokenInjector?
188 | private var authHeader: AuthHeader
:
218 | codec: ProtoCodec()))
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
| `- warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
221 | self.authTokenInjector = options.authTokenInjector
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:221:14: warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | private var yorkieService: YorkieService
187 | private var authTokenInjector: AuthTokenInjector?
| `- note: mutation of this property is only permitted within the actor
188 | private var authHeader: AuthHeader
189 | private var semaphoresForInitialzation = [DocKey: DispatchSemaphore]()
:
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
221 | self.authTokenInjector = options.authTokenInjector
| `- warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
223 | self.metadata = options.metadata
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1053:19: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1051 | private func broadcast(docKey: DocKey, request: BroadcastRequest, maxRetries: Int) async throws {
1052 | var retryCount = 0
1053 | guard var attachment = self.attachmentMap[docKey] else {
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1054 | throw YorkieError(code: .errDocumentNotAttached, message: "document \(docKey) is not attached")
1055 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger.swift:31:24: warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | }
30 |
31 | private static var yorkieLogger = Logging.Logger(label: "Yorkie")
| |- warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yorkieLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yorkieLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static func trace(_ message: @autoclosure () -> String, error: Error? = nil, filename: String = #fileID, function: String = #function, line: UInt = #line) {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1091:49: warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
1089 |
1090 | private func injectAuthTokenAfterGet(with authTokenInjector: AuthTokenInjector, reason: String?) async throws {
1091 | let token = try await authTokenInjector.getToken(reason: reason)
| |- warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'authTokenInjector' to nonisolated instance method 'getToken(reason:)' risks causing data races between nonisolated and main actor-isolated uses
1092 | self.authHeader.updateToken(token)
1093 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:930:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
928 | let docKey = doc.getKey()
929 |
930 | let pushpullResponse = await self.yorkieService.pushPullChanges(request: pushPullRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
931 |
932 | guard pushpullResponse.error == nil, let message = pushpullResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:254:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let activateResponse = await self.yorkieService.activateClient(
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 | request: activateRequest,
256 | headers: self.authHeader.makeHeader(self.key)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:287:63: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
285 | let deactivateRequest = DeactivateClientRequest.with { $0.clientID = clientID }
286 |
287 | let deactivateResponse = await self.yorkieService.deactivateClient(request: deactivateRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
288 | headers: self.authHeader.makeHeader(self.key))
289 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:361:59: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
359 | self.semaphoresForInitialzation[docKey] = semaphore
360 |
361 | let attachResponse = await self.yorkieService.attachDocument(request: attachRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
362 |
363 | guard attachResponse.error == nil, let message = attachResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1058:52: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
1056 |
1057 | while retryCount <= maxRetries {
1058 | let message = await self.yorkieService.broadcast(request: request)
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1059 |
1060 | switch message.result {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:444:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
442 |
443 | do {
444 | let detachDocumentResponse = await self.yorkieService.detachDocument(request: detachDocumentRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
445 | headers: self.authHeader.makeHeader(doc.getKey()))
446 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:494:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
492 |
493 | do {
494 | let removeDocumentResponse = await self.yorkieService.removeDocument(request: removeDocumentRequest, headers: self.authHeader.makeHeader(doc.getKey()))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
495 |
496 | guard removeDocumentResponse.error == nil, let message = removeDocumentResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:220:14: warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
184 | private let maximumAttachmentTimeout: Int
185 |
186 | private var yorkieService: YorkieService
| `- note: mutation of this property is only permitted within the actor
187 | private var authTokenInjector: AuthTokenInjector?
188 | private var authHeader: AuthHeader
:
218 | codec: ProtoCodec()))
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
| `- warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
221 | self.authTokenInjector = options.authTokenInjector
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:221:14: warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | private var yorkieService: YorkieService
187 | private var authTokenInjector: AuthTokenInjector?
| `- note: mutation of this property is only permitted within the actor
188 | private var authHeader: AuthHeader
189 | private var semaphoresForInitialzation = [DocKey: DispatchSemaphore]()
:
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
221 | self.authTokenInjector = options.authTokenInjector
| `- warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
223 | self.metadata = options.metadata
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1053:19: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1051 | private func broadcast(docKey: DocKey, request: BroadcastRequest, maxRetries: Int) async throws {
1052 | var retryCount = 0
1053 | guard var attachment = self.attachmentMap[docKey] else {
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1054 | throw YorkieError(code: .errDocumentNotAttached, message: "document \(docKey) is not attached")
1055 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger.swift:31:24: warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | }
30 |
31 | private static var yorkieLogger = Logging.Logger(label: "Yorkie")
| |- warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yorkieLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yorkieLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static func trace(_ message: @autoclosure () -> String, error: Error? = nil, filename: String = #fileID, function: String = #function, line: UInt = #line) {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1091:49: warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
1089 |
1090 | private func injectAuthTokenAfterGet(with authTokenInjector: AuthTokenInjector, reason: String?) async throws {
1091 | let token = try await authTokenInjector.getToken(reason: reason)
| |- warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'authTokenInjector' to nonisolated instance method 'getToken(reason:)' risks causing data races between nonisolated and main actor-isolated uses
1092 | self.authHeader.updateToken(token)
1093 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:930:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
928 | let docKey = doc.getKey()
929 |
930 | let pushpullResponse = await self.yorkieService.pushPullChanges(request: pushPullRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
931 |
932 | guard pushpullResponse.error == nil, let message = pushpullResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:254:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let activateResponse = await self.yorkieService.activateClient(
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 | request: activateRequest,
256 | headers: self.authHeader.makeHeader(self.key)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:287:63: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
285 | let deactivateRequest = DeactivateClientRequest.with { $0.clientID = clientID }
286 |
287 | let deactivateResponse = await self.yorkieService.deactivateClient(request: deactivateRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
288 | headers: self.authHeader.makeHeader(self.key))
289 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:361:59: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
359 | self.semaphoresForInitialzation[docKey] = semaphore
360 |
361 | let attachResponse = await self.yorkieService.attachDocument(request: attachRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
362 |
363 | guard attachResponse.error == nil, let message = attachResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1058:52: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
1056 |
1057 | while retryCount <= maxRetries {
1058 | let message = await self.yorkieService.broadcast(request: request)
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1059 |
1060 | switch message.result {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:444:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
442 |
443 | do {
444 | let detachDocumentResponse = await self.yorkieService.detachDocument(request: detachDocumentRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
445 | headers: self.authHeader.makeHeader(doc.getKey()))
446 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:494:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
492 |
493 | do {
494 | let removeDocumentResponse = await self.yorkieService.removeDocument(request: removeDocumentRequest, headers: self.authHeader.makeHeader(doc.getKey()))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
495 |
496 | guard removeDocumentResponse.error == nil, let message = removeDocumentResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:220:14: warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
184 | private let maximumAttachmentTimeout: Int
185 |
186 | private var yorkieService: YorkieService
| `- note: mutation of this property is only permitted within the actor
187 | private var authTokenInjector: AuthTokenInjector?
188 | private var authHeader: AuthHeader
:
218 | codec: ProtoCodec()))
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
| `- warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
221 | self.authTokenInjector = options.authTokenInjector
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:221:14: warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | private var yorkieService: YorkieService
187 | private var authTokenInjector: AuthTokenInjector?
| `- note: mutation of this property is only permitted within the actor
188 | private var authHeader: AuthHeader
189 | private var semaphoresForInitialzation = [DocKey: DispatchSemaphore]()
:
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
221 | self.authTokenInjector = options.authTokenInjector
| `- warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
223 | self.metadata = options.metadata
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1053:19: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1051 | private func broadcast(docKey: DocKey, request: BroadcastRequest, maxRetries: Int) async throws {
1052 | var retryCount = 0
1053 | guard var attachment = self.attachmentMap[docKey] else {
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1054 | throw YorkieError(code: .errDocumentNotAttached, message: "document \(docKey) is not attached")
1055 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger.swift:31:24: warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | }
30 |
31 | private static var yorkieLogger = Logging.Logger(label: "Yorkie")
| |- warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yorkieLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yorkieLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static func trace(_ message: @autoclosure () -> String, error: Error? = nil, filename: String = #fileID, function: String = #function, line: UInt = #line) {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1091:49: warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
1089 |
1090 | private func injectAuthTokenAfterGet(with authTokenInjector: AuthTokenInjector, reason: String?) async throws {
1091 | let token = try await authTokenInjector.getToken(reason: reason)
| |- warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'authTokenInjector' to nonisolated instance method 'getToken(reason:)' risks causing data races between nonisolated and main actor-isolated uses
1092 | self.authHeader.updateToken(token)
1093 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:930:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
928 | let docKey = doc.getKey()
929 |
930 | let pushpullResponse = await self.yorkieService.pushPullChanges(request: pushPullRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
931 |
932 | guard pushpullResponse.error == nil, let message = pushpullResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:254:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let activateResponse = await self.yorkieService.activateClient(
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 | request: activateRequest,
256 | headers: self.authHeader.makeHeader(self.key)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:287:63: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
285 | let deactivateRequest = DeactivateClientRequest.with { $0.clientID = clientID }
286 |
287 | let deactivateResponse = await self.yorkieService.deactivateClient(request: deactivateRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
288 | headers: self.authHeader.makeHeader(self.key))
289 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:361:59: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
359 | self.semaphoresForInitialzation[docKey] = semaphore
360 |
361 | let attachResponse = await self.yorkieService.attachDocument(request: attachRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
362 |
363 | guard attachResponse.error == nil, let message = attachResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1058:52: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
1056 |
1057 | while retryCount <= maxRetries {
1058 | let message = await self.yorkieService.broadcast(request: request)
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1059 |
1060 | switch message.result {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:444:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
442 |
443 | do {
444 | let detachDocumentResponse = await self.yorkieService.detachDocument(request: detachDocumentRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
445 | headers: self.authHeader.makeHeader(doc.getKey()))
446 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:494:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
492 |
493 | do {
494 | let removeDocumentResponse = await self.yorkieService.removeDocument(request: removeDocumentRequest, headers: self.authHeader.makeHeader(doc.getKey()))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
495 |
496 | guard removeDocumentResponse.error == nil, let message = removeDocumentResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:220:14: warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
184 | private let maximumAttachmentTimeout: Int
185 |
186 | private var yorkieService: YorkieService
| `- note: mutation of this property is only permitted within the actor
187 | private var authTokenInjector: AuthTokenInjector?
188 | private var authHeader: AuthHeader
:
218 | codec: ProtoCodec()))
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
| `- warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
221 | self.authTokenInjector = options.authTokenInjector
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:221:14: warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | private var yorkieService: YorkieService
187 | private var authTokenInjector: AuthTokenInjector?
| `- note: mutation of this property is only permitted within the actor
188 | private var authHeader: AuthHeader
189 | private var semaphoresForInitialzation = [DocKey: DispatchSemaphore]()
:
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
221 | self.authTokenInjector = options.authTokenInjector
| `- warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
223 | self.metadata = options.metadata
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1053:19: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1051 | private func broadcast(docKey: DocKey, request: BroadcastRequest, maxRetries: Int) async throws {
1052 | var retryCount = 0
1053 | guard var attachment = self.attachmentMap[docKey] else {
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1054 | throw YorkieError(code: .errDocumentNotAttached, message: "document \(docKey) is not attached")
1055 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger.swift:31:24: warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | }
30 |
31 | private static var yorkieLogger = Logging.Logger(label: "Yorkie")
| |- warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yorkieLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yorkieLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static func trace(_ message: @autoclosure () -> String, error: Error? = nil, filename: String = #fileID, function: String = #function, line: UInt = #line) {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1091:49: warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
1089 |
1090 | private func injectAuthTokenAfterGet(with authTokenInjector: AuthTokenInjector, reason: String?) async throws {
1091 | let token = try await authTokenInjector.getToken(reason: reason)
| |- warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'authTokenInjector' to nonisolated instance method 'getToken(reason:)' risks causing data races between nonisolated and main actor-isolated uses
1092 | self.authHeader.updateToken(token)
1093 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:930:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
928 | let docKey = doc.getKey()
929 |
930 | let pushpullResponse = await self.yorkieService.pushPullChanges(request: pushPullRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
931 |
932 | guard pushpullResponse.error == nil, let message = pushpullResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:254:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let activateResponse = await self.yorkieService.activateClient(
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 | request: activateRequest,
256 | headers: self.authHeader.makeHeader(self.key)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:287:63: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
285 | let deactivateRequest = DeactivateClientRequest.with { $0.clientID = clientID }
286 |
287 | let deactivateResponse = await self.yorkieService.deactivateClient(request: deactivateRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
288 | headers: self.authHeader.makeHeader(self.key))
289 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:361:59: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
359 | self.semaphoresForInitialzation[docKey] = semaphore
360 |
361 | let attachResponse = await self.yorkieService.attachDocument(request: attachRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
362 |
363 | guard attachResponse.error == nil, let message = attachResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1058:52: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
1056 |
1057 | while retryCount <= maxRetries {
1058 | let message = await self.yorkieService.broadcast(request: request)
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1059 |
1060 | switch message.result {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:444:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
442 |
443 | do {
444 | let detachDocumentResponse = await self.yorkieService.detachDocument(request: detachDocumentRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
445 | headers: self.authHeader.makeHeader(doc.getKey()))
446 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:494:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
492 |
493 | do {
494 | let removeDocumentResponse = await self.yorkieService.removeDocument(request: removeDocumentRequest, headers: self.authHeader.makeHeader(doc.getKey()))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
495 |
496 | guard removeDocumentResponse.error == nil, let message = removeDocumentResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:220:14: warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
184 | private let maximumAttachmentTimeout: Int
185 |
186 | private var yorkieService: YorkieService
| `- note: mutation of this property is only permitted within the actor
187 | private var authTokenInjector: AuthTokenInjector?
188 | private var authHeader: AuthHeader
:
218 | codec: ProtoCodec()))
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
| `- warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
221 | self.authTokenInjector = options.authTokenInjector
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:221:14: warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | private var yorkieService: YorkieService
187 | private var authTokenInjector: AuthTokenInjector?
| `- note: mutation of this property is only permitted within the actor
188 | private var authHeader: AuthHeader
189 | private var semaphoresForInitialzation = [DocKey: DispatchSemaphore]()
:
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
221 | self.authTokenInjector = options.authTokenInjector
| `- warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
223 | self.metadata = options.metadata
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1053:19: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1051 | private func broadcast(docKey: DocKey, request: BroadcastRequest, maxRetries: Int) async throws {
1052 | var retryCount = 0
1053 | guard var attachment = self.attachmentMap[docKey] else {
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1054 | throw YorkieError(code: .errDocumentNotAttached, message: "document \(docKey) is not attached")
1055 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger.swift:31:24: warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | }
30 |
31 | private static var yorkieLogger = Logging.Logger(label: "Yorkie")
| |- warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yorkieLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yorkieLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static func trace(_ message: @autoclosure () -> String, error: Error? = nil, filename: String = #fileID, function: String = #function, line: UInt = #line) {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1091:49: warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
1089 |
1090 | private func injectAuthTokenAfterGet(with authTokenInjector: AuthTokenInjector, reason: String?) async throws {
1091 | let token = try await authTokenInjector.getToken(reason: reason)
| |- warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'authTokenInjector' to nonisolated instance method 'getToken(reason:)' risks causing data races between nonisolated and main actor-isolated uses
1092 | self.authHeader.updateToken(token)
1093 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:930:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
928 | let docKey = doc.getKey()
929 |
930 | let pushpullResponse = await self.yorkieService.pushPullChanges(request: pushPullRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
931 |
932 | guard pushpullResponse.error == nil, let message = pushpullResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:254:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let activateResponse = await self.yorkieService.activateClient(
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 | request: activateRequest,
256 | headers: self.authHeader.makeHeader(self.key)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:287:63: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
285 | let deactivateRequest = DeactivateClientRequest.with { $0.clientID = clientID }
286 |
287 | let deactivateResponse = await self.yorkieService.deactivateClient(request: deactivateRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
288 | headers: self.authHeader.makeHeader(self.key))
289 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:361:59: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
359 | self.semaphoresForInitialzation[docKey] = semaphore
360 |
361 | let attachResponse = await self.yorkieService.attachDocument(request: attachRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
362 |
363 | guard attachResponse.error == nil, let message = attachResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1058:52: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
1056 |
1057 | while retryCount <= maxRetries {
1058 | let message = await self.yorkieService.broadcast(request: request)
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1059 |
1060 | switch message.result {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:444:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
442 |
443 | do {
444 | let detachDocumentResponse = await self.yorkieService.detachDocument(request: detachDocumentRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
445 | headers: self.authHeader.makeHeader(doc.getKey()))
446 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:494:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
492 |
493 | do {
494 | let removeDocumentResponse = await self.yorkieService.removeDocument(request: removeDocumentRequest, headers: self.authHeader.makeHeader(doc.getKey()))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
495 |
496 | guard removeDocumentResponse.error == nil, let message = removeDocumentResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:220:14: warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
184 | private let maximumAttachmentTimeout: Int
185 |
186 | private var yorkieService: YorkieService
| `- note: mutation of this property is only permitted within the actor
187 | private var authTokenInjector: AuthTokenInjector?
188 | private var authHeader: AuthHeader
:
218 | codec: ProtoCodec()))
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
| `- warning: main actor-isolated property 'yorkieService' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
221 | self.authTokenInjector = options.authTokenInjector
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:221:14: warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | private var yorkieService: YorkieService
187 | private var authTokenInjector: AuthTokenInjector?
| `- note: mutation of this property is only permitted within the actor
188 | private var authHeader: AuthHeader
189 | private var semaphoresForInitialzation = [DocKey: DispatchSemaphore]()
:
219 |
220 | self.yorkieService = YorkieService(rpcClient: YorkieServiceClient(client: protocolClient), isMockingEnabled: isMockingEnabled)
221 | self.authTokenInjector = options.authTokenInjector
| `- warning: main actor-isolated property 'authTokenInjector' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
222 | self.authHeader = AuthHeader(apiKey: options.apiKey, token: "")
223 | self.metadata = options.metadata
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1053:19: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1051 | private func broadcast(docKey: DocKey, request: BroadcastRequest, maxRetries: Int) async throws {
1052 | var retryCount = 0
1053 | guard var attachment = self.attachmentMap[docKey] else {
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
1054 | throw YorkieError(code: .errDocumentNotAttached, message: "document \(docKey) is not attached")
1055 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Logger.swift:31:24: warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | }
30 |
31 | private static var yorkieLogger = Logging.Logger(label: "Yorkie")
| |- warning: static property 'yorkieLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yorkieLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yorkieLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | static func trace(_ message: @autoclosure () -> String, error: Error? = nil, filename: String = #fileID, function: String = #function, line: UInt = #line) {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1091:49: warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
1089 |
1090 | private func injectAuthTokenAfterGet(with authTokenInjector: AuthTokenInjector, reason: String?) async throws {
1091 | let token = try await authTokenInjector.getToken(reason: reason)
| |- warning: sending 'authTokenInjector' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'authTokenInjector' to nonisolated instance method 'getToken(reason:)' risks causing data races between nonisolated and main actor-isolated uses
1092 | self.authHeader.updateToken(token)
1093 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:930:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
928 | let docKey = doc.getKey()
929 |
930 | let pushpullResponse = await self.yorkieService.pushPullChanges(request: pushPullRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
931 |
932 | guard pushpullResponse.error == nil, let message = pushpullResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:254:61: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let activateResponse = await self.yorkieService.activateClient(
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
255 | request: activateRequest,
256 | headers: self.authHeader.makeHeader(self.key)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:287:63: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
285 | let deactivateRequest = DeactivateClientRequest.with { $0.clientID = clientID }
286 |
287 | let deactivateResponse = await self.yorkieService.deactivateClient(request: deactivateRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
288 | headers: self.authHeader.makeHeader(self.key))
289 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:361:59: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
359 | self.semaphoresForInitialzation[docKey] = semaphore
360 |
361 | let attachResponse = await self.yorkieService.attachDocument(request: attachRequest, headers: self.authHeader.makeHeader(docKey))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
362 |
363 | guard attachResponse.error == nil, let message = attachResponse.message else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:1058:52: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
1056 |
1057 | while retryCount <= maxRetries {
1058 | let message = await self.yorkieService.broadcast(request: request)
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1059 |
1060 | switch message.result {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:444:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
442 |
443 | do {
444 | let detachDocumentResponse = await self.yorkieService.detachDocument(request: detachDocumentRequest,
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
445 | headers: self.authHeader.makeHeader(doc.getKey()))
446 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client.swift:494:67: warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
492 |
493 | do {
494 | let removeDocumentResponse = await self.yorkieService.removeDocument(request: removeDocumentRequest, headers: self.authHeader.makeHeader(doc.getKey()))
| |- warning: sending 'self.yorkieService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.yorkieService' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
495 |
496 | guard removeDocumentResponse.error == nil, let message = removeDocumentResponse.message else {
[776/810] Compiling NIOCore Channel.swift
[777/810] Compiling NIOCore ChannelHandler.swift
[778/810] Compiling NIOCore ChannelHandlers.swift
[779/810] Compiling NIOCore ChannelInvoker.swift
[780/810] Compiling NIOCore ChannelOption.swift
[781/810] Compiling NIOCore ChannelPipeline.swift
[782/810] Compiling NIOCore CircularBuffer.swift
[790/810] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[791/810] Compiling NIOCore NIOAsyncWriter.swift
[792/810] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[793/810] Compiling NIOCore BSDSocketAPI.swift
[794/810] Compiling NIOCore ByteBuffer-aux.swift
[795/810] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[796/810] Compiling NIOCore ByteBuffer-conversions.swift
[797/810] Compiling NIOCore ByteBuffer-core.swift
[810/810] Emitting module NIOCore
[811/862] Compiling NIOEmbedded AsyncTestingChannel.swift
[812/862] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[813/862] Compiling NIOEmbedded Embedded.swift
[814/862] Emitting module NIOEmbedded
[815/862] Compiling NIOPosix GetaddrinfoResolver.swift
[816/862] Compiling NIOPosix HappyEyeballs.swift
[817/862] Compiling NIOPosix IO.swift
[818/862] Compiling NIOPosix IntegerBitPacking.swift
[819/862] Compiling NIOPosix IntegerTypes.swift
[820/867] Compiling NIOPosix SocketProtocols.swift
[821/867] Compiling NIOPosix System.swift
[822/867] Compiling NIOPosix Thread.swift
[823/867] Compiling NIOPosix ThreadPosix.swift
[824/867] Compiling NIOPosix ThreadWindows.swift
[825/867] Compiling NIOPosix Selectable.swift
[826/867] Compiling NIOPosix SelectableChannel.swift
[827/867] Compiling NIOPosix SelectableEventLoop.swift
[828/867] Compiling NIOPosix SelectorEpoll.swift
[829/867] Compiling NIOPosix SelectorGeneric.swift
[830/867] Emitting module NIOPosix
[831/867] Compiling NIOPosix BSDSocketAPICommon.swift
[832/867] Compiling NIOPosix BSDSocketAPIPosix.swift
[833/867] Compiling NIOPosix BSDSocketAPIWindows.swift
[834/867] Compiling NIOPosix BaseSocket.swift
[835/867] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[836/867] Compiling NIOPosix BaseSocketChannel.swift
[837/867] Compiling NIOPosix UnsafeTransfer.swift
[838/867] Compiling NIOPosix Utilities.swift
[839/867] Compiling NIOPosix VsockAddress.swift
[840/867] Compiling NIOPosix VsockChannelEvents.swift
[841/867] Compiling NIOPosix resource_bundle_accessor.swift
[842/867] Compiling NIOPosix Pool.swift
[843/867] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[844/867] Compiling NIOPosix PosixSingletons.swift
[845/867] Compiling NIOPosix RawSocketBootstrap.swift
[846/867] Compiling NIOPosix Resolver.swift
[847/867] Compiling NIOPosix SelectorKqueue.swift
[848/867] Compiling NIOPosix SelectorUring.swift
[849/867] Compiling NIOPosix ServerSocket.swift
[850/867] Compiling NIOPosix Socket.swift
[851/867] Compiling NIOPosix SocketChannel.swift
[852/867] Compiling NIOPosix BaseStreamSocketChannel.swift
[853/867] Compiling NIOPosix Bootstrap.swift
[854/867] Compiling NIOPosix ControlMessage.swift
[855/867] Compiling NIOPosix DatagramVectorReadManager.swift
[856/867] Compiling NIOPosix Errors+Any.swift
[857/867] Compiling NIOPosix FileDescriptor.swift
[858/867] Compiling NIOPosix NonBlockingFileIO.swift
[859/867] Compiling NIOPosix PendingDatagramWritesManager.swift
[860/867] Compiling NIOPosix PendingWritesManager.swift
[861/867] Compiling NIOPosix PipeChannel.swift
[862/867] Compiling NIOPosix PipePair.swift
[863/867] Compiling NIOPosix Linux.swift
[864/867] Compiling NIOPosix LinuxCPUSet.swift
[865/867] Compiling NIOPosix LinuxUring.swift
[866/867] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[867/867] Compiling NIOPosix NIOThreadPool.swift
[868/869] Compiling NIO Exports.swift
[869/869] Emitting module NIO
[870/897] Compiling NIOTLS TLSEvents.swift
[871/897] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[872/897] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[873/897] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[874/897] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[875/898] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[876/898] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[877/898] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[878/898] Emitting module NIOTLS
[879/898] Compiling NIOTLS SNIHandler.swift
[880/898] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[881/898] Emitting module NIOFoundationCompat
[882/898] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[883/898] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[884/898] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[885/929] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[886/929] Compiling NIOSSL SafeCompare.swift
[887/929] Compiling NIOSSL Zeroization.swift
[888/929] Compiling NIOSSL SSLErrors.swift
[889/929] Compiling NIOSSL SSLCertificate.swift
[890/929] Compiling NIOSSL TLSConfiguration.swift
[891/929] Compiling NIOSSL NIOSSLServerHandler.swift
[892/929] Compiling NIOSSL CustomPrivateKey.swift
[893/929] Compiling NIOSSL IdentityVerification.swift
[894/929] Compiling NIOSSL SSLConnection.swift
[895/929] Compiling NIOSSL SSLContext.swift
[896/929] Emitting module NIOHTTP1
[897/929] Compiling NIOSSL SSLCertificateExtensions.swift
[898/929] Compiling NIOSSL SSLCertificateName.swift
[899/940] Compiling NIOHPACK HPACKEncoder.swift
[900/941] Compiling NIOHPACK IntegerCoding.swift
[901/941] Compiling NIOHPACK HuffmanTables.swift
[902/941] Compiling NIOHPACK IndexedHeaderTable.swift
[903/941] Compiling NIOHPACK HeaderTables.swift
[904/941] Compiling NIOHPACK DynamicHeaderTable.swift
[905/941] Compiling NIOHPACK HPACKDecoder.swift
[906/941] Compiling NIOHPACK HuffmanCoding.swift
[907/941] Compiling NIOHPACK StaticHeaderTable.swift
[908/941] Emitting module NIOHPACK
[909/941] Compiling NIOHPACK HPACKErrors.swift
[910/941] Compiling NIOHPACK HPACKHeader.swift
[911/941] Emitting module NIOSSL
[912/944] Compiling NIOSSL SSLPublicKey.swift
[913/944] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[914/944] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[915/1004] Compiling NIOHTTP2 ConnectionStateMachine.swift
[916/1004] Compiling NIOHTTP2 ConnectionStreamsState.swift
[917/1004] Compiling NIOHTTP2 MayReceiveFrames.swift
[918/1004] Compiling NIOHTTP2 HTTP2StreamDelegate.swift
[919/1004] Compiling NIOHTTP2 HTTP2StreamID.swift
[920/1004] Compiling NIOHTTP2 HTTP2ChannelHandler+InlineStreamMultiplexer.swift
[921/1004] Compiling NIOHTTP2 ReceivingRstStreamState.swift
[922/1004] Compiling NIOHTTP2 ReceivingWindowUpdateState.swift
[923/1004] Compiling NIOHTTP2 MaySendFrames.swift
[924/1004] Compiling NIOHTTP2 SendingDataState.swift
[925/1004] Compiling NIOHTTP2 HTTP2Stream.swift
[926/1004] Compiling NIOHTTP2 HTTP2StreamChannel+OutboundStreamMultiplexer.swift
[927/1004] Compiling NIOHTTP2 HTTP2StreamChannel.swift
[928/1004] Compiling NIOHTTP2 HTTP2FrameParser.swift
[929/1004] Compiling NIOHTTP2 HTTP2PingData.swift
[930/1004] Compiling NIOHTTP2 HTTP2PipelineHelpers.swift
[931/1004] Compiling NIOHTTP2 HTTP2Settings.swift
[932/1004] Compiling NIOHTTP2 ReceivingDataState.swift
[933/1004] Compiling NIOHTTP2 ReceivingGoAwayState.swift
[934/1004] Compiling NIOHTTP2 ReceivingHeadersState.swift
[935/1004] Compiling NIOHTTP2 ReceivingPushPromiseState.swift
[936/1004] Compiling NIOHTTP2 HTTP2FlowControlWindow.swift
[937/1004] Compiling NIOHTTP2 HTTP2Frame.swift
[938/1004] Compiling NIOHTTP2 HTTP2FrameEncoder.swift
[939/1004] Compiling NIOHTTP2 HTTP2Error.swift
[940/1004] Compiling NIOHTTP2 HTTP2ErrorCode.swift
[941/1004] Compiling NIOHTTP2 Error+Any.swift
[942/1004] Compiling NIOHTTP2 LocallyQuiescingState.swift
[943/1004] Compiling NIOHTTP2 QuiescingState.swift
[944/1004] Compiling NIOHTTP2 RemotelyQuiescingState.swift
[945/1004] Compiling NIOHTTP2 SendAndReceiveGoawayState.swift
[946/1004] Compiling NIOHTTP2 StateMachineResult.swift
[947/1004] Compiling NIOHTTP2 ContentLengthVerifier.swift
[948/1004] Compiling NIOHTTP2 DOSHeuristics.swift
[949/1004] Compiling NIOHTTP2 SendingRstStreamState.swift
[950/1004] Compiling NIOHTTP2 SendingWindowUpdateState.swift
[951/1004] Compiling NIOHTTP2 HTTP2SettingsState.swift
[952/1004] Compiling NIOHTTP2 HasExtendedConnectSettings.swift
[953/1004] Compiling NIOHTTP2 HasFlowControlWindows.swift
[954/1004] Compiling NIOHTTP2 HasLocalSettings.swift
[955/1004] Compiling NIOHTTP2 HasRemoteSettings.swift
[956/1010] Compiling NIOHTTP2 SendingGoawayState.swift
[957/1010] Compiling NIOHTTP2 SendingHeadersState.swift
[958/1010] Compiling NIOHTTP2 SendingPushPromiseState.swift
[959/1010] Emitting module NIOHTTP2
[960/1010] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
[961/1010] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
[962/1010] Compiling NIOHTTP2 HTTP2UserEvents.swift
[963/1010] Compiling NIOHTTP2 InboundEventBuffer.swift
[964/1010] Compiling NIOHTTP2 InboundWindowManager.swift
[965/1010] Compiling NIOHTTP2 MultiplexerAbstractChannel.swift
[967/1010] Compiling NIOHTTP2 ConcurrentStreamBuffer.swift
[968/1010] Compiling NIOHTTP2 ControlFrameBuffer.swift
[969/1010] Compiling NIOHTTP2 OutboundFlowControlBuffer.swift
[970/1010] Compiling NIOHTTP2 OutboundFrameBuffer.swift
[971/1010] Compiling NIOHTTP2 HPACKHeaders+Validation.swift
[972/1010] Compiling NIOHTTP2 HTTP2ChannelHandler+InboundStreamMultiplexer.swift
[973/1010] Compiling NIOHTTP2 StreamChannelFlowController.swift
[974/1010] Compiling NIOHTTP2 StreamChannelList.swift
[975/1010] Compiling NIOHTTP2 StreamMap.swift
[976/1010] Compiling NIOHTTP2 StreamStateMachine.swift
[977/1010] Compiling NIOHTTP2 UnsafeTransfer.swift
[978/1010] Compiling NIOHTTP2 WatermarkedFlowController.swift
[1000/1010] Compiling NIOHTTP2 HTTP2ChannelHandler.swift
[1001/1010] Compiling NIOHTTP2 HTTP2CommonInboundStreamMultiplexer.swift
[1002/1010] Compiling NIOHTTP2 HTTP2ConnectionStateChange.swift
[1011/1019] Compiling ConnectNIO NetworkProtocol+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1012/1019] Compiling ConnectNIO ConnectError+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1013/1019] Compiling ConnectNIO ConnectStreamChannelHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1014/1019] Emitting module ConnectNIO
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1015/1019] Compiling ConnectNIO HTTPRequestHead+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1016/1019] Compiling ConnectNIO ConnectUnaryChannelHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1017/1019] Compiling ConnectNIO Headers+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1018/1019] Compiling ConnectNIO NIOHTTPClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1019/1019] Compiling ConnectNIO GRPCInterceptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1020/1023] Compiling YorkieTestHelper WebhookServer.swift
/Users/admin/builder/spi-builder-workspace/Tests/Helper/WebhookServer.swift:36:49: warning: type 'WebhookRequestHandler' does not conform to the 'Sendable' protocol
34 | .childChannelInitializer { channel in
35 | channel.pipeline.configureHTTPServerPipeline().flatMap {
36 | channel.pipeline.addHandler(WebhookRequestHandler())
| `- warning: type 'WebhookRequestHandler' does not conform to the 'Sendable' protocol
37 | }
38 | }
:
57 | }
58 |
59 | final class WebhookRequestHandler: ChannelInboundHandler {
| `- note: class 'WebhookRequestHandler' does not conform to the 'Sendable' protocol
60 | typealias InboundIn = HTTPServerRequestPart
61 | typealias OutboundOut = HTTPServerResponsePart
[1021/1023] Compiling YorkieTestHelper YorkieProjectHelper.swift
/Users/admin/builder/spi-builder-workspace/Tests/Helper/YorkieProjectHelper.swift:27:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'YorkieProjectError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
25 |
26 | enum YorkieProjectError: Error {
27 | case invalidResponse([String: Any])
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'YorkieProjectError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
28 | case missingToken
29 | case invalidProjectResponse([String: Any])
/Users/admin/builder/spi-builder-workspace/Tests/Helper/YorkieProjectHelper.swift:29:10: warning: associated value 'invalidProjectResponse' of 'Sendable'-conforming enum 'YorkieProjectError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
27 | case invalidResponse([String: Any])
28 | case missingToken
29 | case invalidProjectResponse([String: Any])
| `- warning: associated value 'invalidProjectResponse' of 'Sendable'-conforming enum 'YorkieProjectError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | }
31 |
[1022/1023] Compiling YorkieTestHelper TestHelper.swift
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:150:13: warning: capture of 'self' with non-sendable type 'EventCollector<T>' in a '@Sendable' closure
123 | }
124 |
125 | class EventCollector<T: Equatable> {
| `- note: generic class 'EventCollector' does not conform to the 'Sendable' protocol
126 | struct WaitUntil {
127 | var continuation: AsyncStream<T>.Continuation
:
148 | func add(event: T) {
149 | self.queue.async(flags: .barrier) {
150 | self._values.append(event)
| `- warning: capture of 'self' with non-sendable type 'EventCollector<T>' in a '@Sendable' closure
151 |
152 | if let waitUntil = self.waitUntil {
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:150:33: warning: capture of 'event' with non-sendable type 'T' in a '@Sendable' closure
123 | }
124 |
125 | class EventCollector<T: Equatable> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
126 | struct WaitUntil {
127 | var continuation: AsyncStream<T>.Continuation
:
148 | func add(event: T) {
149 | self.queue.async(flags: .barrier) {
150 | self._values.append(event)
| `- warning: capture of 'event' with non-sendable type 'T' in a '@Sendable' closure
151 |
152 | if let waitUntil = self.waitUntil {
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:163:13: warning: capture of 'self' with non-sendable type 'EventCollector<T>' in a '@Sendable' closure
123 | }
124 |
125 | class EventCollector<T: Equatable> {
| `- note: generic class 'EventCollector' does not conform to the 'Sendable' protocol
126 | struct WaitUntil {
127 | var continuation: AsyncStream<T>.Continuation
:
161 | func reset() {
162 | self.queue.async(flags: .barrier) {
163 | self._values.removeAll()
| `- warning: capture of 'self' with non-sendable type 'EventCollector<T>' in a '@Sendable' closure
164 | self.waitUntil = nil
165 | }
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:153:40: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
151 |
152 | if let waitUntil = self.waitUntil {
153 | waitUntil.continuation.yield(event)
| |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'event' used after being passed as a 'sending' parameter; Later uses could race
154 | if event == waitUntil.stopValue {
| `- note: access can happen concurrently
155 | waitUntil.continuation.finish()
156 | }
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:171:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
169 | return AsyncStream<T> { continuation in
170 | for value in self.values {
171 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
172 | }
173 | continuation.finish()
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:212:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
210 | return
211 | }
212 | self?.add(event: status)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:248:18: warning: sending 'syncMode' risks causing data races; this is an error in the Swift 6 language mode
246 | let d2 = Document(key: docKey)
247 |
248 | try await c1.attach(d1, [:], syncMode)
| |- warning: sending 'syncMode' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'syncMode' to main actor-isolated instance method 'attach(_:_:_:initialRoot:)' risks causing data races between main actor-isolated and task-isolated uses
249 | try await c2.attach(d2, [:], syncMode)
250 |
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:249:18: warning: sending 'syncMode' risks causing data races; this is an error in the Swift 6 language mode
247 |
248 | try await c1.attach(d1, [:], syncMode)
249 | try await c2.attach(d2, [:], syncMode)
| |- warning: sending 'syncMode' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'syncMode' to main actor-isolated instance method 'attach(_:_:_:initialRoot:)' risks causing data races between main actor-isolated and task-isolated uses
250 |
251 | try await callback(c1, d1, c2, d2)
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:338:15: warning: sending 'd1Index' risks causing data races; this is an error in the Swift 6 language mode
336 | }
337 |
338 | while d1Index <= d1Operations.count - 1 {
| |- warning: sending 'd1Index' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'd1Index' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
339 | if let d1Expected, let expected = d1Expected[safe: d1Index] as? TreeEditOpInfoForDebug, let operation = d1Operations[safe: d1Index] as? TreeEditOpInfo {
340 | expected.compare(operation)
:
350 | var d2Index = 0
351 |
352 | await d2.subscribe("$.t") { event, _ in
| `- note: access can happen concurrently
353 | if let event = event as? LocalChangeEvent {
354 | d2Operations.append(contentsOf: event.value.operations.compactMap { $0 as? TreeEditOpInfo })
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:339:20: warning: sending 'd1Expected' risks causing data races; this is an error in the Swift 6 language mode
337 |
338 | while d1Index <= d1Operations.count - 1 {
339 | if let d1Expected, let expected = d1Expected[safe: d1Index] as? TreeEditOpInfoForDebug, let operation = d1Operations[safe: d1Index] as? TreeEditOpInfo {
| |- warning: sending 'd1Expected' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'd1Expected' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
340 | expected.compare(operation)
341 | } else if let d1Expected, let expected = d1Expected[safe: d1Index] as? TreeStyleOpInfoForDebug, let operation = d1Operations[safe: d1Index] as? TreeStyleOpInfo {
/Users/admin/builder/spi-builder-workspace/Tests/Helper/TestHelper.swift:360:20: warning: sending 'd2Expected' risks causing data races; this is an error in the Swift 6 language mode
358 |
359 | while d2Index <= d2Operations.count - 1 {
360 | if let d2Expected, let expected = d2Expected[safe: d2Index] as? TreeEditOpInfoForDebug, let operation = d2Operations[safe: d2Index] as? TreeEditOpInfo {
| |- warning: sending 'd2Expected' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'd2Expected' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
361 | expected.compare(operation)
362 | } else if let d2Expected, let expected = d2Expected[safe: d1Index] as? TreeStyleOpInfoForDebug, let operation = d2Operations[safe: d1Index] as? TreeStyleOpInfo {
[1023/1023] Emitting module YorkieTestHelper
/Users/admin/builder/spi-builder-workspace/Tests/Helper/YorkieProjectHelper.swift:27:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'YorkieProjectError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
25 |
26 | enum YorkieProjectError: Error {
27 | case invalidResponse([String: Any])
| `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'YorkieProjectError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
28 | case missingToken
29 | case invalidProjectResponse([String: Any])
/Users/admin/builder/spi-builder-workspace/Tests/Helper/YorkieProjectHelper.swift:29:10: warning: associated value 'invalidProjectResponse' of 'Sendable'-conforming enum 'YorkieProjectError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
27 | case invalidResponse([String: Any])
28 | case missingToken
29 | case invalidProjectResponse([String: Any])
| `- warning: associated value 'invalidProjectResponse' of 'Sendable'-conforming enum 'YorkieProjectError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | }
31 |
Build complete! (51.55s)
Build complete.
{
"dependencies" : [
{
"identity" : "connect-swift",
"requirement" : {
"exact" : [
"1.0.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/connectrpc/connect-swift"
},
{
"identity" : "swift-log",
"requirement" : {
"exact" : [
"1.6.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "semaphore",
"requirement" : {
"exact" : [
"0.0.8"
]
},
"type" : "sourceControl",
"url" : "https://github.com/groue/Semaphore.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"exact" : [
"1.4.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Yorkie",
"name" : "Yorkie",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Yorkie",
"targets" : [
"Yorkie"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "YorkieUnitTests",
"module_type" : "SwiftTarget",
"name" : "YorkieUnitTests",
"path" : "Tests/Unit",
"sources" : [
"API/V1/ConverterTests.swift",
"Document/CRDT/CRDTArrayTests.swift",
"Document/CRDT/CRDTCountTests.swift",
"Document/CRDT/CRDTElementTests.swift",
"Document/CRDT/CRDTObjectTests.swift",
"Document/CRDT/CRDTRootTests.swift",
"Document/CRDT/CRDTTextTests.swift",
"Document/CRDT/CRDTTreeTests.swift",
"Document/CRDT/ElementRHTTests.swift",
"Document/CRDT/PrimitiveTests.swift",
"Document/CRDT/RGATreeListTests.swift",
"Document/CRDT/RHTTests.swift",
"Document/Change/ChangeContextTests.swift",
"Document/Change/ChangeIDTests.swift",
"Document/Change/ChangePackTests.swift",
"Document/Change/ChangeTests.swift",
"Document/Change/CheckpointTests.swift",
"Document/DocumentConcurrentAccessTests.swift",
"Document/DocumentTests.swift",
"Document/GCTests.swift",
"Document/Json/JONSTreeTests.swift",
"Document/Json/JSONArrayTests.swift",
"Document/Json/JSONObjectTests.swift",
"Document/Json/JSONTextTest.swift",
"Document/Operation/AddOperationTests.swift",
"Document/Operation/MoveOperationTests.swift",
"Document/Operation/RemoveOperationTests.swift",
"Document/Operation/SetOperationTests.swift",
"Document/Time/TimeTicketTests.swift",
"Document/Time/VersionVectorTest.swift",
"Document/Util/DocumentSizeTest.swift",
"Document/Util/PayloadTests.swift",
"Document/Util/StringEscapingTests.swift",
"Document/Util/StringValueTypeDictionaryTests.swift",
"Document/Util/YorkieJSONObjectableTests.swift",
"TestUtils/XCTestCase+Extension.swift",
"Util/Helper.swift",
"Util/IndexTreeTests.swift",
"Util/LLRBTreeTests.swift",
"Util/SplayTreeTests.swift",
"Util/StringExtensionsTests.swift"
],
"target_dependencies" : [
"Yorkie",
"YorkieTestHelper"
],
"type" : "test"
},
{
"c99name" : "YorkieTestHelper",
"module_type" : "SwiftTarget",
"name" : "YorkieTestHelper",
"path" : "Tests/Helper",
"product_dependencies" : [
"ConnectNIO"
],
"sources" : [
"TestHelper.swift",
"WebhookServer.swift",
"YorkieProjectHelper.swift"
],
"target_dependencies" : [
"Yorkie"
],
"type" : "library"
},
{
"c99name" : "YorkieIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "YorkieIntegrationTests",
"path" : "Tests/Integration",
"sources" : [
"ClientIntegrationTests.swift",
"CounterIntegrationTests.swift",
"DocumentIntegrationTests.swift",
"DocumentLimitTests.swift",
"GCIntegrationTests.swift",
"GRPCTests.swift",
"PresenceTests.swift",
"SnapshotTests.swift",
"TextIntegrationTests.swift",
"TreeConcurrencyTests.swift",
"TreeIntegrationTests.swift",
"WebhookIntegrationTests.swift"
],
"target_dependencies" : [
"Yorkie",
"YorkieTestHelper"
],
"type" : "test"
},
{
"c99name" : "YorkieBenchmarkTests",
"module_type" : "SwiftTarget",
"name" : "YorkieBenchmarkTests",
"path" : "Tests/Benchmark",
"sources" : [
"DocumentBenchmarkTests.swift",
"SplayTreeBenchmarkTests.swift"
],
"target_dependencies" : [
"Yorkie",
"YorkieTestHelper"
],
"type" : "test"
},
{
"c99name" : "Yorkie",
"module_type" : "SwiftTarget",
"name" : "Yorkie",
"path" : "Sources",
"product_dependencies" : [
"Connect",
"Logging",
"Semaphore"
],
"product_memberships" : [
"Yorkie"
],
"sources" : [
"API/Converter.swift",
"API/GRPCTypeAlias.swift",
"API/V1/Generated/googleapis/google/rpc/error_details.pb.swift",
"API/V1/Generated/yorkie/v1/resources.pb.swift",
"API/V1/Generated/yorkie/v1/yorkie.connect.swift",
"API/V1/Generated/yorkie/v1/yorkie.pb.swift",
"Core/Attachment.swift",
"Core/Auth.swift",
"Core/AuthTokenInjector.swift",
"Core/Client.swift",
"Core/Logger.swift",
"Core/YorkieService.swift",
"Document/CRDT/CRDTArray.swift",
"Document/CRDT/CRDTCounter.swift",
"Document/CRDT/CRDTElement.swift",
"Document/CRDT/CRDTObject.swift",
"Document/CRDT/CRDTRoot.swift",
"Document/CRDT/CRDTText.swift",
"Document/CRDT/CRDTTree.swift",
"Document/CRDT/ElementRHT.swift",
"Document/CRDT/GC.swift",
"Document/CRDT/Primitive.swift",
"Document/CRDT/RGATreeList.swift",
"Document/CRDT/RGATreeSplit.swift",
"Document/CRDT/RHT.swift",
"Document/Change/Change.swift",
"Document/Change/ChangeContext.swift",
"Document/Change/ChangeID.swift",
"Document/Change/ChangePack.swift",
"Document/Change/Checkpoint.swift",
"Document/DocEvent.swift",
"Document/Document.swift",
"Document/Json/ElementConverter.swift",
"Document/Json/JSONArray.swift",
"Document/Json/JSONCounter.swift",
"Document/Json/JSONDatable.swift",
"Document/Json/JSONObject.swift",
"Document/Json/JSONText.swift",
"Document/Json/JSONTree.swift",
"Document/Json/ObjectDataHandler.swift",
"Document/Json/Strings.swift",
"Document/Operation/AddOperation.swift",
"Document/Operation/EditOperation.swift",
"Document/Operation/IncreaseOperation.swift",
"Document/Operation/MoveOperation.swift",
"Document/Operation/Operation.swift",
"Document/Operation/RemoveOperation.swift",
"Document/Operation/SetOperation.swift",
"Document/Operation/StyleOperation.swift",
"Document/Operation/TreeEditOperation.swift",
"Document/Operation/TreeSytleOperation.swift",
"Document/Presence/Presence.swift",
"Document/Time/ActorID.swift",
"Document/Time/TimeTicket.swift",
"Document/Time/VersionVector.swift",
"Document/Util/JSONObjectable.swift",
"Document/Util/Payload.swift",
"Document/Util/YorkieCountable.swift",
"Util/Codable+Extension.swift",
"Util/Collection+Extensions.swift",
"Util/Dictionary+Extension.swift",
"Util/Errors.swift",
"Util/IndexTree.swift",
"Util/LLRBTree.swift",
"Util/Optional+Extensions.swift",
"Util/SplayTree.swift",
"Util/String+Extensions.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.