The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of WebSocket, reference main (9f616c), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 13:00:50 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tesseract-one/WebSocket.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tesseract-one/WebSocket.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9f616c3 updated readme
Cloned https://github.com/tesseract-one/WebSocket.swift.git
Revision (git rev-parse @):
9f616c35127c83651d3112f8bdb41284d3c5c213
SUCCESS checkout https://github.com/tesseract-one/WebSocket.swift.git at main
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/71999] Fetching swift-nio
[2/85649] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio.git from cache (8.97s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (8.97s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.19.0 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.59s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.19.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.40.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "websocket.swift",
      "name": "WebSocket",
      "url": "https://github.com/tesseract-one/WebSocket.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WebSocket.swift",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "2.40.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-nio-ssl",
          "name": "swift-nio-ssl",
          "url": "https://github.com/apple/swift-nio-ssl.git",
          "version": "2.19.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-ssl",
          "dependencies": [
            {
              "identity": "swift-nio",
              "name": "swift-nio",
              "url": "https://github.com/apple/swift-nio.git",
              "version": "2.40.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/tesseract-one/WebSocket.swift.git
[6/283] Fetching websocket.swift
Fetched https://github.com/tesseract-one/WebSocket.swift.git from cache (0.68s)
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.81s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.81s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.19.0 (0.02s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.03s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.40.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.19.0
Creating working copy for https://github.com/tesseract-one/WebSocket.swift.git
Working copy of https://github.com/tesseract-one/WebSocket.swift.git resolved at main (9f616c3)
warning: '.resolve-product-dependencies': dependency 'websocket.swift' is not used by any target
Found 2 product dependencies
  - swift-nio
  - swift-nio-ssl
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tesseract-one/WebSocket.swift.git
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.40.0",
            "upper_bound" : "2.41.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.19.0",
            "upper_bound" : "2.20.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    }
  ],
  "manifest_display_name" : "WebSocket",
  "name" : "WebSocket",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WebSocket",
      "targets" : [
        "WebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebSocketTests",
      "module_type" : "SwiftTarget",
      "name" : "WebSocketTests",
      "path" : "Tests/WebSocketTests",
      "sources" : [
        "WebSocketTests.swift"
      ],
      "target_dependencies" : [
        "WebSocket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebSocket",
      "module_type" : "SwiftTarget",
      "name" : "WebSocket",
      "path" : "Sources/WebSocket",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOWebSocket",
        "NIOConcurrencyHelpers",
        "NIOFoundationCompat",
        "NIOSSL"
      ],
      "product_memberships" : [
        "WebSocket"
      ],
      "sources" : [
        "Data.swift",
        "Error.swift",
        "EventLoopGroup.swift",
        "FrameBuffer.swift",
        "Handler.swift",
        "InitialRequestHandler.swift",
        "ReExport.swift",
        "State.swift",
        "WebSocket.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/456] Write sources
[12/456] Compiling CNIOWindows WSAStartup.c
[13/456] Compiling CNIOWindows shim.c
[14/456] Write swift-version--7754E27361AE5C74.txt
[15/456] Compiling CNIOLinux liburing_shims.c
[16/456] Compiling CNIOLinux shim.c
[17/459] Compiling CNIOSHA1 c_nio_sha1.c
[18/459] Compiling CNIOHTTPParser c_nio_http_parser.c
[19/459] Compiling CNIODarwin shim.c
[20/459] Compiling CNIOBoringSSLShims shims.c
[21/459] Compiling tls13_client.cc
[22/459] Compiling tls13_server.cc
[23/459] Compiling tls_record.cc
[23/459] Compiling tls13_both.cc
[23/459] Compiling t1_enc.cc
[23/459] Compiling tls_method.cc
[23/459] Compiling tls13_enc.cc
[23/459] Compiling ssl_x509.cc
[29/459] Compiling ssl_versions.cc
[30/459] Compiling ssl_stat.cc
[31/459] Compiling ssl_transcript.cc
[32/459] Compiling ssl_file.cc
[33/459] Compiling ssl_key_share.cc
[34/459] Compiling ssl_privkey.cc
[35/459] Compiling ssl_cipher.cc
[36/459] Compiling ssl_session.cc
[37/459] Compiling ssl_cert.cc
[38/459] Compiling ssl_lib.cc
[39/459] Compiling ssl_buffer.cc
[40/459] Compiling ssl_asn1.cc
[41/459] Compiling ssl_aead_ctx.cc
[42/459] Compiling s3_pkt.cc
[43/459] Compiling s3_lib.cc
[44/459] Compiling s3_both.cc
[45/459] Compiling handshake_server.cc
[46/459] Compiling handshake_client.cc
[47/459] Compiling handshake.cc
[48/459] Compiling dtls_record.cc
[49/459] Compiling dtls_method.cc
[50/459] Compiling d1_srtp.cc
[51/459] Compiling handoff.cc
[52/459] Compiling encrypted_client_hello.cc
[53/459] Compiling d1_pkt.cc
[54/459] Compiling d1_lib.cc
[55/459] Compiling v3_skey.c
[56/459] Compiling extensions.cc
[57/459] Compiling v3_purp.c
[58/459] Compiling v3_prn.c
[59/459] Compiling v3_utl.c
[60/459] Compiling d1_both.cc
[61/459] Compiling v3_pmaps.c
[62/459] Compiling v3_pcons.c
[63/459] Compiling v3_pcia.c
[64/459] Compiling v3_ocsp.c
[65/459] Compiling v3_pci.c
[66/459] Compiling v3_lib.c
[67/459] Compiling v3_ncons.c
[68/459] Compiling v3_int.c
[69/459] Compiling v3_info.c
[70/459] Compiling bio_ssl.cc
[71/459] Compiling v3_ia5.c
[72/459] Compiling v3_genn.c
[73/459] Compiling v3_extku.c
[74/459] Compiling v3_enum.c
[75/459] Compiling v3_crld.c
[76/459] Compiling v3_cpols.c
[77/459] Compiling v3_bitst.c
[78/459] Compiling v3_conf.c
[79/459] Compiling v3_bcons.c
[80/459] Compiling v3_akeya.c
[81/459] Compiling v3_alt.c
[82/459] Compiling v3_akey.c
[83/459] Compiling pcy_tree.c
[84/459] Compiling pcy_node.c
[85/459] Compiling pcy_map.c
[86/459] Compiling pcy_lib.c
[87/459] Compiling pcy_data.c
[88/459] Compiling x_x509a.c
[89/459] Compiling x_val.c
[90/459] Compiling pcy_cache.c
[91/459] Compiling x_spki.c
[92/459] Compiling x_x509.c
[93/459] Compiling x_sig.c
[94/459] Compiling x_req.c
[95/459] Compiling x_pkey.c
[96/459] Compiling x_pubkey.c
[97/459] Compiling x_name.c
[98/459] Compiling x_info.c
[99/459] Compiling x_exten.c
[100/459] Compiling x_attrib.c
[101/459] Compiling x_algor.c
[102/459] Compiling x_crl.c
[103/459] Compiling x_all.c
[105/459] Compiling _NIODataStructures PriorityQueue.swift
[105/459] Compiling x509spki.c
[106/459] Compiling x509rset.c
[107/459] Compiling x509name.c
[108/459] Compiling x509cset.c
[109/459] Compiling x509_vpm.c
[110/459] Compiling x509_txt.c
[111/459] Compiling x509_set.c
[112/459] Compiling x509_v3.c
[114/459] Emitting module _NIODataStructures
[115/459] Compiling _NIODataStructures Heap.swift
[115/459] Compiling x509_vfy.c
[116/459] Compiling x509_req.c
[117/459] Compiling x509_trs.c
[118/459] Compiling x509_obj.c
[119/459] Compiling x509_lu.c
[120/459] Compiling x509_ext.c
[121/459] Compiling x509_def.c
[122/459] Compiling x509_d2.c
[123/459] Compiling x509.c
[124/459] Compiling x509_att.c
[125/459] Compiling t_x509a.c
[126/459] Compiling x509_cmp.c
[127/459] Compiling t_x509.c
[128/459] Compiling t_req.c
[129/459] Compiling i2d_pr.c
[130/459] Compiling name_print.c
[131/459] Compiling rsa_pss.c
[132/459] Compiling t_crl.c
[133/459] Compiling by_file.c
[134/459] Compiling algorithm.c
[135/459] Compiling a_verify.c
[136/459] Compiling by_dir.c
[137/459] Compiling a_sign.c
[138/459] Compiling asn1_gen.c
[139/459] Compiling a_digest.c
[140/459] Compiling voprf.c
[141/459] Compiling thread_win.c
[142/459] Compiling trust_token.c
[143/459] Compiling pmbtoken.c
[144/459] Compiling thread.c
[145/459] Compiling thread_pthread.c
[146/459] Compiling thread_none.c
[147/459] Compiling siphash.c
[148/459] Compiling stack.c
[149/459] Compiling rsa_print.c
[150/459] Compiling rc4.c
[151/459] Compiling refcount_lock.c
[151/459] Compiling windows.c
[153/459] Compiling refcount_c11.c
[154/459] Compiling rand_extra.c
[155/459] Compiling rsa_asn1.c
[156/459] Compiling passive.c
[157/459] Compiling fuchsia.c
[158/459] Compiling deterministic.c
[159/459] Compiling forkunsafe.c
[160/459] Compiling poly1305_arm_asm.S
[161/459] Compiling pool.c
[162/459] Compiling poly1305_vec.c
[163/459] Compiling poly1305_arm.c
[164/459] Compiling poly1305.c
[165/459] Compiling pkcs7.c
[166/459] Compiling p5_pbev2.c
[167/459] Compiling pem_x509.c
[168/459] Compiling pem_xaux.c
[169/459] Compiling pkcs8.c
[170/459] Compiling pkcs8_x509.c
[171/459] Compiling pem_pkey.c
[172/459] Compiling pkcs7_x509.c
[173/459] Compiling pem_oth.c
[174/459] Compiling pem_pk8.c
[175/459] Compiling pem_lib.c
[176/459] Compiling obj_xref.c
[177/459] Compiling poly_rq_mul.S
[178/459] Compiling lhash.c
[179/459] Compiling mem.c
[180/459] Compiling pem_info.c
[181/459] Compiling hpke.c
[182/459] Compiling obj.c
[183/459] Compiling x86_64-mont5.mac.x86_64.S
[184/459] Compiling pem_all.c
[185/459] Compiling x86_64-mont5.linux.x86_64.S
[186/459] Compiling hkdf.c
[186/459] Compiling x86_64-mont.linux.x86_64.S
[188/459] Compiling x86_64-mont.mac.x86_64.S
[189/459] Compiling x86-mont.linux.x86.S
[190/459] Compiling vpaes-x86_64.mac.x86_64.S
[191/459] Compiling vpaes-x86_64.linux.x86_64.S
[192/459] Compiling vpaes-x86.linux.x86.S
[193/459] Compiling vpaes-armv8.linux.aarch64.S
[194/459] Compiling vpaes-armv7.ios.arm.S
[195/459] Compiling vpaes-armv7.linux.arm.S
[196/459] Compiling sha512-x86_64.mac.x86_64.S
[197/459] Compiling vpaes-armv8.ios.aarch64.S
[198/459] Compiling sha512-x86_64.linux.x86_64.S
[199/459] Compiling kdf.c
[200/459] Compiling sha512-armv8.linux.aarch64.S
[201/459] Compiling sha512-armv4.linux.arm.S
[202/459] Compiling sha512-armv8.ios.aarch64.S
[203/459] Compiling sha512-armv4.ios.arm.S
[204/459] Compiling sha512-586.linux.x86.S
[205/459] Compiling sha256-x86_64.linux.x86_64.S
[206/459] Compiling sha256-x86_64.mac.x86_64.S
[207/459] Compiling sha256-armv8.linux.aarch64.S
[208/459] Compiling sha256-armv8.ios.aarch64.S
[209/459] Compiling sha256-armv4.ios.arm.S
[210/459] Compiling sha256-armv4.linux.arm.S
[211/459] Compiling sha256-586.linux.x86.S
[212/459] Compiling hrss.c
[213/459] Compiling sha1-x86_64.mac.x86_64.S
[214/459] Compiling sha1-x86_64.linux.x86_64.S
[215/459] Compiling sha1-armv8.linux.aarch64.S
[216/459] Compiling sha1-armv4-large.linux.arm.S
[217/459] Compiling sha1-armv8.ios.aarch64.S
[218/459] Compiling sha1-armv4-large.ios.arm.S
[219/459] Compiling sha1-586.linux.x86.S
[220/459] Compiling sha512.c
[221/459] Compiling sha256.c
[222/459] Compiling sha1-altivec.c
[223/459] Compiling sha1.c
[224/459] Compiling rsaz-avx2.mac.x86_64.S
[225/459] Compiling rsaz-avx2.linux.x86_64.S
[226/459] Compiling fips.c
[227/459] Compiling rdrand-x86_64.mac.x86_64.S
[228/459] Compiling self_check.c
[229/459] Compiling rdrand-x86_64.linux.x86_64.S
[230/459] Compiling rsa.c
[231/459] Compiling blinding.c
[232/459] Compiling rsa_impl.c
[233/459] Compiling fork_detect.c
[234/459] Compiling padding.c
[235/459] Compiling rand.c
[236/459] Compiling urandom.c
[237/459] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[238/459] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[239/459] Compiling p256_beeu-armv8-asm.linux.aarch64.S
[240/459] Compiling ctrdrbg.c
[241/459] Compiling p256-x86_64-asm.linux.x86_64.S
[242/459] Compiling p256-x86_64-asm.mac.x86_64.S
[243/459] Compiling p256_beeu-armv8-asm.ios.aarch64.S
[244/459] Compiling p256-armv8-asm.linux.aarch64.S
[245/459] Compiling p256-armv8-asm.ios.aarch64.S
[246/459] Compiling polyval.c
[247/459] Compiling ofb.c
[248/459] Compiling gcm_nohw.c
[249/459] Compiling md5-x86_64.mac.x86_64.S
[250/459] Compiling ctr.c
[251/459] Compiling gcm.c
[252/459] Compiling cfb.c
[253/459] Compiling md5-x86_64.linux.x86_64.S
[254/459] Compiling cbc.c
[255/459] Compiling md5.c
[256/459] Compiling md5-586.linux.x86.S
[257/459] Compiling md4.c
[258/459] Compiling hmac.c
[259/459] Compiling ghashv8-armx64.linux.aarch64.S
[260/459] Compiling ghashv8-armx64.ios.aarch64.S
[261/459] Compiling ghashv8-armx32.linux.arm.S
[262/459] Compiling ghash-x86_64.mac.x86_64.S
[263/459] Compiling ghashv8-armx32.ios.arm.S
[264/459] Compiling ghash-x86_64.linux.x86_64.S
[265/459] Compiling ghash-x86.linux.x86.S
[266/459] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[267/459] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[268/459] Compiling ghash-ssse3-x86.linux.x86.S
[269/459] Compiling ghash-neon-armv8.linux.aarch64.S
[270/459] Compiling ghash-armv4.linux.arm.S
[271/459] Compiling ghash-neon-armv8.ios.aarch64.S
[272/459] Compiling ghash-armv4.ios.arm.S
[273/459] Compiling fips_shared_support.c
[274/459] Compiling ecdsa.c
[275/459] Compiling ecdh.c
[276/459] Compiling wnaf.c
[277/459] Compiling util.c
[278/459] Compiling simple_mul.c
[279/459] Compiling simple.c
[280/459] Compiling scalar.c
[281/459] Compiling oct.c
[282/459] Compiling felem.c
[283/459] Compiling p224-64.c
[284/459] Compiling ec_montgomery.c
[285/459] Compiling p256.c
[286/459] Compiling ec_key.c
[287/459] Compiling digest.c
[287/459] Compiling digests.c
[289/459] Compiling co-586.linux.x86.S
[290/459] Compiling check.c
[291/459] Compiling ec.c
[292/459] Compiling dh.c
[293/459] Compiling cipher.c
[294/459] Compiling bsaes-armv7.linux.arm.S
[295/459] Compiling bsaes-armv7.ios.arm.S
[296/459] Compiling p256-nistz.c
[297/459] Compiling e_aes.c
[298/459] Compiling sqrt.c
[299/459] Compiling aead.c
[300/459] Compiling rsaz_exp.c
[301/459] Compiling shift.c
[302/459] Compiling random.c
[303/459] Compiling prime.c
[304/459] Compiling montgomery_inv.c
[305/459] Compiling jacobi.c
[306/459] Compiling montgomery.c
[307/459] Compiling mul.c
[308/459] Compiling gcd.c
[309/459] Compiling gcd_extra.c
[310/459] Compiling exponentiation.c
[311/459] Compiling div_extra.c
[312/459] Compiling ctx.c
[313/459] Compiling generic.c
[314/459] Compiling div.c
[315/459] Compiling x86_64-gcc.c
[316/459] Compiling bn-586.linux.x86.S
[317/459] Compiling bytes.c
[318/459] Compiling cmp.c
[319/459] Compiling bn.c
[320/459] Compiling armv8-mont.linux.aarch64.S
[321/459] Compiling add.c
[322/459] Compiling armv4-mont.linux.arm.S
[323/459] Compiling armv4-mont.ios.arm.S
[324/459] Compiling armv8-mont.ios.aarch64.S
[325/459] Compiling aesv8-armx64.linux.aarch64.S
[326/459] Compiling aesv8-armx32.linux.arm.S
[327/459] Compiling aesv8-armx32.ios.arm.S
[328/459] Compiling aesv8-armx64.ios.aarch64.S
[329/459] Compiling aesni-x86_64.mac.x86_64.S
[330/459] Compiling aesni-x86_64.linux.x86_64.S
[331/459] Compiling aesni-x86.linux.x86.S
[332/459] Compiling aesni-gcm-x86_64.mac.x86_64.S
[333/459] Compiling aesni-gcm-x86_64.linux.x86_64.S
[334/459] Compiling mode_wrappers.c
[335/459] Compiling key_wrap.c
[336/459] Compiling aes.c
[337/459] Compiling ex_data.c
[338/459] Compiling aes_nohw.c
[339/459] Compiling sign.c
[340/459] Compiling scrypt.c
[341/459] Compiling pbkdf.c
[342/459] Compiling p_x25519_asn1.c
[343/459] Compiling print.c
[344/459] Compiling p_x25519.c
[345/459] Compiling p_rsa_asn1.c
[346/459] Compiling p_ed25519.c
[347/459] Compiling p_ed25519_asn1.c
[348/459] Compiling p_rsa.c
[349/459] Compiling p_ec_asn1.c
[350/459] Compiling p_dsa_asn1.c
[351/459] Compiling p_ec.c
[352/459] Compiling evp_ctx.c
[353/459] Compiling digestsign.c
[354/459] Compiling err_data.c
[355/459] Compiling evp.c
[356/459] Compiling evp_asn1.c
[357/459] Compiling engine.c
[358/459] Compiling err.c
[359/459] Compiling ecdsa_asn1.c
[360/459] Compiling ecdh_extra.c
[361/459] Compiling ec_derive.c
[362/459] Compiling hash_to_curve.c
[363/459] Compiling dsa_asn1.c
[364/459] Compiling params.c
[365/459] Compiling ec_asn1.c
[366/459] Compiling digest_extra.c
[367/459] Compiling dh_asn1.c
[368/459] Compiling dsa.c
[369/459] Compiling spake25519.c
[370/459] Compiling x25519-asm-arm.S
[371/459] Compiling des.c
[372/459] Compiling cpu_ppc64le.c
[373/459] Compiling cpu_intel.c
[374/459] Compiling crypto.c
[375/459] Compiling cpu_arm_linux.c
[376/459] Compiling cpu_aarch64_win.c
[377/459] Compiling cpu_arm.c
[378/459] Compiling cpu_aarch64_fuchsia.c
[378/459] Compiling cpu_aarch64_linux.c
[380/459] Compiling cpu_aarch64_apple.c
[381/459] Compiling curve25519.c
[382/459] Compiling cmac.c
[383/459] Compiling conf.c
[384/459] Compiling e_rc4.c
[385/459] Compiling tls_cbc.c
[386/459] Compiling e_rc2.c
[387/459] Compiling e_tls.c
[388/459] Compiling e_null.c
[389/459] Compiling e_des.c
[390/459] Compiling e_chacha20poly1305.c
[391/459] Compiling e_aesgcmsiv.c
[392/459] Compiling derive_key.c
[393/459] Compiling e_aesctrhmac.c
[394/459] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[395/459] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[396/459] Compiling cipher_extra.c
[397/459] Compiling e_aesccm.c
[398/459] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[399/459] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[400/459] Compiling chacha-x86_64.mac.x86_64.S
[401/459] Compiling chacha-x86_64.linux.x86_64.S
[402/459] Compiling chacha.c
[403/459] Compiling chacha-x86.linux.x86.S
[404/459] Compiling chacha-armv8.linux.aarch64.S
[405/459] Compiling chacha-armv4.linux.arm.S
[406/459] Compiling chacha-armv4.ios.arm.S
[407/459] Compiling chacha-armv8.ios.aarch64.S
[408/459] Compiling unicode.c
[409/459] Compiling asn1_compat.c
[409/459] Compiling ber.c
[409/459] Compiling buf.c
[412/459] Compiling cbs.c
[413/459] Compiling cbb.c
[414/459] Compiling bn_asn1.c
[415/459] Compiling convert.c
[416/459] Compiling blake2.c
[417/459] Compiling socket.c
[418/459] Compiling socket_helper.c
[419/459] Compiling printf.c
[420/459] Compiling hexdump.c
[421/459] Compiling pair.c
[422/459] Compiling file.c
[423/459] Compiling bio_mem.c
[424/459] Compiling fd.c
[425/459] Compiling connect.c
[426/459] Compiling time_support.c
[427/459] Compiling base64.c
[428/459] Compiling bio.c
[429/459] Compiling tasn_typ.c
[430/459] Compiling tasn_fre.c
[431/459] Compiling tasn_utl.c
[432/459] Compiling tasn_new.c
[433/459] Compiling f_string.c
[434/459] Compiling tasn_enc.c
[435/459] Compiling tasn_dec.c
[436/459] Compiling asn1_par.c
[437/459] Compiling asn_pack.c
[437/459] Compiling f_int.c
[439/459] Compiling asn1_lib.c
[440/459] Compiling a_utf8.c
[441/459] Compiling a_utctm.c
[441/459] Compiling a_type.c
[443/459] Compiling a_time.c
[444/459] Compiling a_octet.c
[445/459] Compiling a_print.c
[446/459] Compiling a_strnid.c
[447/459] Compiling a_strex.c
[448/459] Compiling a_object.c
[449/459] Compiling a_mbstr.c
[450/459] Compiling a_i2d_fp.c
[451/459] Compiling a_gentm.c
[452/459] Compiling a_int.c
[453/459] Compiling a_dup.c
[454/459] Compiling a_d2i_fp.c
[455/459] Compiling a_bool.c
[456/459] Compiling a_bitstr.c
[457/459] Compiling c-nioatomics.c
[458/459] Compiling c-atomics.c
[460/463] Compiling NIOConcurrencyHelpers lock.swift
[461/463] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[462/463] Compiling NIOConcurrencyHelpers atomics.swift
[463/463] Emitting module NIOConcurrencyHelpers
[464/509] Compiling NIOCore PointerHelpers.swift
[465/509] Compiling NIOCore RecvByteBufferAllocator.swift
[466/509] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[467/509] Compiling NIOCore SocketAddresses.swift
[468/509] Compiling NIOCore SocketOptionProvider.swift
[469/513] Compiling NIOCore IO.swift
[470/513] Compiling NIOCore IOData.swift
[471/513] Compiling NIOCore IntegerBitPacking.swift
[472/513] Compiling NIOCore IntegerTypes.swift
[473/513] Compiling NIOCore Interfaces.swift
[474/513] Compiling NIOCore DeadChannel.swift
[475/513] Compiling NIOCore DispatchQueue+WithFuture.swift
[476/513] Compiling NIOCore EventLoop+Deprecated.swift
[477/513] Compiling NIOCore EventLoop.swift
[478/513] Compiling NIOCore EventLoopFuture+Deprecated.swift
[479/513] Compiling NIOCore Linux.swift
[480/513] Compiling NIOCore MarkedCircularBuffer.swift
[481/513] Compiling NIOCore MulticastChannel.swift
[482/513] Compiling NIOCore NIOAny.swift
[483/513] Compiling NIOCore NIOCloseOnErrorHandler.swift
[484/513] Compiling NIOCore AddressedEnvelope.swift
[485/513] Compiling NIOCore AsyncAwaitSupport+OldXcodes.swift
[486/513] Compiling NIOCore AsyncAwaitSupport.swift
[487/513] Compiling NIOCore BSDSocketAPI.swift
[488/513] Compiling NIOCore ByteBuffer-aux.swift
[489/513] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[490/513] Compiling NIOCore EventLoopFuture.swift
[491/513] Compiling NIOCore FileDescriptor.swift
[492/513] Compiling NIOCore FileHandle.swift
[493/513] Compiling NIOCore FileRegion.swift
[494/513] Compiling NIOCore SystemCallHelpers.swift
[495/513] Compiling NIOCore TypeAssistedChannelHandler.swift
[496/513] Compiling NIOCore UniversalBootstrapSupport.swift
[497/513] Compiling NIOCore Utilities.swift
[498/513] Compiling NIOCore ChannelOption.swift
[499/513] Compiling NIOCore ChannelPipeline.swift
[500/513] Compiling NIOCore CircularBuffer.swift
[501/513] Compiling NIOCore Codec.swift
[502/513] Compiling NIOCore ConvenienceOptionSupport.swift
[503/513] Compiling NIOCore ByteBuffer-views.swift
[504/513] Compiling NIOCore Channel.swift
[505/513] Compiling NIOCore ChannelHandler.swift
[506/513] Compiling NIOCore ChannelHandlers.swift
[507/513] Compiling NIOCore ChannelInvoker.swift
[508/513] Compiling NIOCore ByteBuffer-conversions.swift
[509/513] Compiling NIOCore ByteBuffer-core.swift
[510/513] Compiling NIOCore ByteBuffer-int.swift
[511/513] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[512/513] Compiling NIOCore ByteBuffer-multi-int.swift
[513/513] Emitting module NIOCore
[514/556] Compiling NIOEmbedded Embedded.swift
[515/556] Emitting module NIOEmbedded
[516/556] Compiling NIOPosix PipeChannel.swift
[517/556] Compiling NIOPosix PipePair.swift
[518/556] Compiling NIOPosix PointerHelpers.swift
[519/556] Compiling NIOPosix Resolver.swift
[520/560] Compiling NIOPosix Selectable.swift
[521/560] Compiling NIOPosix SelectableChannel.swift
[522/560] Compiling NIOPosix SelectableEventLoop.swift
[523/560] Compiling NIOPosix SelectorEpoll.swift
[524/560] Compiling NIOPosix IntegerTypes.swift
[525/560] Compiling NIOPosix Linux.swift
[526/560] Compiling NIOPosix LinuxCPUSet.swift
[527/560] Compiling NIOPosix LinuxUring.swift
[528/560] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[529/560] Compiling NIOPosix BSDSocketAPICommon.swift
[530/560] Compiling NIOPosix BSDSocketAPIPosix.swift
[531/560] Compiling NIOPosix BSDSocketAPIWindows.swift
[532/560] Compiling NIOPosix BaseSocket.swift
[533/560] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[534/560] Compiling NIOPosix Thread.swift
[535/560] Compiling NIOPosix ThreadPosix.swift
[536/560] Compiling NIOPosix ThreadWindows.swift
[537/560] Compiling NIOPosix Utilities.swift
[538/560] Compiling NIOPosix SelectorGeneric.swift
[539/560] Compiling NIOPosix SelectorKqueue.swift
[540/560] Compiling NIOPosix SelectorUring.swift
[541/560] Compiling NIOPosix ServerSocket.swift
[542/560] Compiling NIOPosix NIOThreadPool.swift
[543/560] Compiling NIOPosix NonBlockingFileIO.swift
[544/560] Compiling NIOPosix PendingDatagramWritesManager.swift
[545/560] Compiling NIOPosix PendingWritesManager.swift
[546/560] Compiling NIOPosix FileDescriptor.swift
[547/560] Compiling NIOPosix GetaddrinfoResolver.swift
[548/560] Compiling NIOPosix HappyEyeballs.swift
[549/560] Compiling NIOPosix IO.swift
[550/560] Compiling NIOPosix IntegerBitPacking.swift
[551/560] Compiling NIOPosix Socket.swift
[552/560] Compiling NIOPosix SocketChannel.swift
[553/560] Compiling NIOPosix SocketProtocols.swift
[554/560] Compiling NIOPosix System.swift
[555/560] Emitting module NIOPosix
[556/560] Compiling NIOPosix BaseSocketChannel.swift
[557/560] Compiling NIOPosix BaseStreamSocketChannel.swift
[558/560] Compiling NIOPosix Bootstrap.swift
[559/560] Compiling NIOPosix ControlMessage.swift
[560/560] Compiling NIOPosix DatagramVectorReadManager.swift
[561/562] Emitting module NIO
[562/562] Compiling NIO Exports.swift
[563/580] Compiling NIOTLS TLSEvents.swift
[564/580] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[565/580] Emitting module NIOTLS
[566/580] Compiling NIOTLS SNIHandler.swift
[567/580] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[568/603] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[569/603] Emitting module NIOHTTP1
[570/603] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[571/603] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[572/603] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[573/603] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[574/603] Compiling NIOHTTP1 HTTPDecoder.swift
[575/603] Compiling NIOHTTP1 ByteCollectionUtils.swift
[576/603] Compiling NIOHTTP1 HTTPEncoder.swift
[577/603] Compiling NIOHTTP1 HTTPTypes.swift
[578/614] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[579/614] Compiling NIOWebSocket WebSocketOpcode.swift
[580/615] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[581/615] Compiling NIOWebSocket SHA1.swift
[582/615] Compiling NIOWebSocket WebSocketErrorCodes.swift
[583/615] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[584/615] Compiling NIOWebSocket WebSocketFrame.swift
[585/615] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[586/615] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[587/615] Compiling NIOWebSocket Base64.swift
[588/615] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[589/615] Emitting module NIOWebSocket
[590/615] Compiling NIOSSL SSLCallbacks.swift
[591/615] Compiling NIOSSL SSLCertificate.swift
[592/615] Compiling NIOSSL NIOSSLServerHandler.swift
[593/615] Compiling NIOSSL ObjectIdentifier.swift
[594/615] Compiling NIOSSL PosixPort.swift
[595/617] Emitting module NIOSSL
[596/617] Compiling NIOSSL TLSConfiguration.swift
[597/617] Compiling NIOSSL UniversalBootstrapSupport.swift
[598/617] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[599/617] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[600/617] Emitting module NIOFoundationCompat
[601/617] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[602/617] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[603/617] Compiling NIOSSL SubjectAlternativeName.swift
[604/617] Compiling NIOSSL SSLErrors.swift
[605/617] Compiling NIOSSL SSLInit.swift
[606/617] Compiling NIOSSL SSLPKCS12Bundle.swift
[607/617] Compiling NIOSSL SSLPrivateKey.swift
[610/617] Compiling NIOSSL NIOSSLHandler.swift
[611/617] Compiling NIOSSL SSLConnection.swift
[612/617] Compiling NIOSSL SSLContext.swift
[613/617] Compiling NIOSSL ByteBufferBIO.swift
[614/617] Compiling NIOSSL CustomPrivateKey.swift
[615/617] Compiling NIOSSL IdentityVerification.swift
[616/617] Compiling NIOSSL SSLPublicKey.swift
[617/617] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[618/627] Compiling WebSocket State.swift
[619/627] Compiling WebSocket FrameBuffer.swift
[620/627] Compiling WebSocket ReExport.swift
[621/627] Compiling WebSocket InitialRequestHandler.swift
[622/627] Compiling WebSocket Handler.swift
[623/627] Compiling WebSocket Data.swift
[624/627] Emitting module WebSocket
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:14:10: warning: associated value 'invalidResponseStatus(head:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'HTTPResponseHead'; this is an error in the Swift 6 language mode
12 | public enum WebSocketError: Error, LocalizedError {
13 |     case invalidURL
14 |     case invalidResponseStatus(head: HTTPResponseHead)
   |          `- warning: associated value 'invalidResponseStatus(head:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'HTTPResponseHead'; this is an error in the Swift 6 language mode
15 |     case connectTimeout
16 |     case alreadyConnected
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:169:15: note: struct 'HTTPResponseHead' does not conform to the 'Sendable' protocol
 167 |
 168 | /// A representation of the status line and header fields of a HTTP response.
 169 | public struct HTTPResponseHead: Equatable {
     |               `- note: struct 'HTTPResponseHead' does not conform to the 'Sendable' protocol
 170 |     private final class _Storage {
 171 |         var status: HTTPResponseStatus
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
 7 |
 8 | import Foundation
 9 | import NIOHTTP1
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
10 | import NIOWebSocket
11 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:18:10: warning: associated value 'opcodeMismatch(buffer:frame:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'WebSocketOpcode'; this is an error in the Swift 6 language mode
16 |     case alreadyConnected
17 |     case disconnected
18 |     case opcodeMismatch(buffer: WebSocketOpcode, frame: WebSocketOpcode)
   |          `- warning: associated value 'opcodeMismatch(buffer:frame:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'WebSocketOpcode'; this is an error in the Swift 6 language mode
19 |     case transport(error: Error)
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift:16:15: note: struct 'WebSocketOpcode' does not conform to the 'Sendable' protocol
 14 |
 15 | /// An operation code for a websocket frame.
 16 | public struct WebSocketOpcode {
    |               `- note: struct 'WebSocketOpcode' does not conform to the 'Sendable' protocol
 17 |     fileprivate let networkRepresentation: UInt8
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOWebSocket'
 8 | import Foundation
 9 | import NIOHTTP1
10 | import NIOWebSocket
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOWebSocket'
11 |
12 | public enum WebSocketError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:18:10: warning: associated value 'opcodeMismatch(buffer:frame:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'WebSocketOpcode'; this is an error in the Swift 6 language mode
16 |     case alreadyConnected
17 |     case disconnected
18 |     case opcodeMismatch(buffer: WebSocketOpcode, frame: WebSocketOpcode)
   |          `- warning: associated value 'opcodeMismatch(buffer:frame:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'WebSocketOpcode'; this is an error in the Swift 6 language mode
19 |     case transport(error: Error)
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift:16:15: note: struct 'WebSocketOpcode' does not conform to the 'Sendable' protocol
 14 |
 15 | /// An operation code for a websocket frame.
 16 | public struct WebSocketOpcode {
    |               `- note: struct 'WebSocketOpcode' does not conform to the 'Sendable' protocol
 17 |     fileprivate let networkRepresentation: UInt8
 18 |
[625/627] Compiling WebSocket EventLoopGroup.swift
[626/627] Compiling WebSocket WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:151:45: warning: capture of 'sself' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 13 | import NIOSSL
 14 |
 15 | public class WebSocket {
    |              `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 16 |     private let group: EventLoopGroup
 17 |     private let isGroupOwned: Bool
    :
149 |                 sself.state = .connected
150 |                 sself._disconnect(code: code)
151 |                 sself.callbackQueue.async { sself.onConnected?(sself) }
    |                                             `- warning: capture of 'sself' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 |             } else {
153 |                 sself.state = .connected
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:157:45: warning: capture of 'sself' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 13 | import NIOSSL
 14 |
 15 | public class WebSocket {
    |              `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 16 |     private let group: EventLoopGroup
 17 |     private let isGroupOwned: Bool
    :
155 |                     sself._pingAndScheduleNextTimeoutTask()
156 |                 }
157 |                 sself.callbackQueue.async { sself.onConnected?(sself) }
    |                                             `- warning: capture of 'sself' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
158 |             }
159 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:170:31: warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 13 | import NIOSSL
 14 |
 15 | public class WebSocket {
    |              `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 16 |     private let group: EventLoopGroup
 17 |     private let isGroupOwned: Bool
    :
168 |         scheduledTimeoutTask = nil
169 |         waitingForPong = false
170 |         callbackQueue.async { self.onDisconnected?(code, self) }
    |                               `- warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |     }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:170:52: warning: capture of 'code' with non-sendable type 'WebSocketErrorCode' in a `@Sendable` closure; this is an error in the Swift 6 language mode
168 |         scheduledTimeoutTask = nil
169 |         waitingForPong = false
170 |         callbackQueue.async { self.onDisconnected?(code, self) }
    |                                                    `- warning: capture of 'code' with non-sendable type 'WebSocketErrorCode' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |     }
172 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketErrorCodes.swift:22:13: note: enum 'WebSocketErrorCode' does not conform to the 'Sendable' protocol
 20 | /// to avoid users needing to remember the specific numerical values
 21 | /// of those codes.
 22 | public enum WebSocketErrorCode {
    |             `- note: enum 'WebSocketErrorCode' does not conform to the 'Sendable' protocol
 23 |     /// Indicates a normal closure, meaning that the purpose for
 24 |     /// which the connection was established has been fulfilled.
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOWebSocket'
 10 | import NIOHTTP1
 11 | import NIOConcurrencyHelpers
 12 | import NIOWebSocket
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOWebSocket'
 13 | import NIOSSL
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:279:35: warning: capture of 'error' with non-sendable type 'Optional<(WebSocketError) -> Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
277 |         guard let channel = channel, isConnected else {
278 |             _error(WebSocketError.disconnected)
279 |             callbackQueue.async { error?(.disconnected) }
    |                                   |- warning: capture of 'error' with non-sendable type 'Optional<(WebSocketError) -> Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
280 |             return
281 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:287:36: warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 13 | import NIOSSL
 14 |
 15 | public class WebSocket {
    |              `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 16 |     private let group: EventLoopGroup
 17 |     private let isGroupOwned: Bool
    :
285 |     private func _error(_ error: Error) {
286 |         let fixed = error as? WebSocketError ?? .fromNio(error: error)
287 |         self.callbackQueue.async { self.onError?(fixed, self) }
    |                                    `- warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
288 |     }
289 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:293:58: warning: capture of 'cb' with non-sendable type 'Optional<((any Error)?) -> Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
291 |         future.whenComplete { result in
292 |             switch result {
293 |             case .success(_): self.callbackQueue.async { cb?(nil) }
    |                                                          |- warning: capture of 'cb' with non-sendable type 'Optional<((any Error)?) -> Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
294 |             case .failure(let err):
295 |                 self.callbackQueue.async { cb?(err) }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:295:44: warning: capture of 'cb' with non-sendable type 'Optional<((any Error)?) -> Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
293 |             case .success(_): self.callbackQueue.async { cb?(nil) }
294 |             case .failure(let err):
295 |                 self.callbackQueue.async { cb?(err) }
    |                                            |- warning: capture of 'cb' with non-sendable type 'Optional<((any Error)?) -> Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
296 |                 self._error(err)
297 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:412:35: warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 13 | import NIOSSL
 14 |
 15 | public class WebSocket {
    |              `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 16 |     private let group: EventLoopGroup
 17 |     private let isGroupOwned: Bool
    :
410 |             }
411 |             send(raw: frameData, opcode: .pong, fin: true)
412 |             callbackQueue.async { self.onPing?(self) }
    |                                   `- warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
413 |         } else {
414 |             _error(ChannelError.inappropriateOperationForState)
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:426:39: warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 13 | import NIOSSL
 14 |
 15 | public class WebSocket {
    |              `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 16 |     private let group: EventLoopGroup
 17 |     private let isGroupOwned: Bool
    :
424 |             switch frameSequence.type {
425 |             case .binary:
426 |                 callbackQueue.async { self.onData?(.binary(frameSequence.data()!), self) }
    |                                       `- warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
427 |             case .text:
428 |                 callbackQueue.async { self.onData?(.text(frameSequence.string()!), self) }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:426:60: warning: capture of 'frameSequence' with non-sendable type 'WebSocketFrameBuffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 |             switch frameSequence.type {
425 |             case .binary:
426 |                 callbackQueue.async { self.onData?(.binary(frameSequence.data()!), self) }
    |                                                            `- warning: capture of 'frameSequence' with non-sendable type 'WebSocketFrameBuffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
427 |             case .text:
428 |                 callbackQueue.async { self.onData?(.text(frameSequence.string()!), self) }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/FrameBuffer.swift:13:8: note: consider making struct 'WebSocketFrameBuffer' conform to the 'Sendable' protocol
11 | import NIOFoundationCompat
12 |
13 | struct WebSocketFrameBuffer {
   |        `- note: consider making struct 'WebSocketFrameBuffer' conform to the 'Sendable' protocol
14 |     var buffer: ByteBuffer
15 |     var type: WebSocketOpcode
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:426:60: warning: mutation of captured var 'frameSequence' in concurrently-executing code; this is an error in the Swift 6 language mode
424 |             switch frameSequence.type {
425 |             case .binary:
426 |                 callbackQueue.async { self.onData?(.binary(frameSequence.data()!), self) }
    |                                                            `- warning: mutation of captured var 'frameSequence' in concurrently-executing code; this is an error in the Swift 6 language mode
427 |             case .text:
428 |                 callbackQueue.async { self.onData?(.text(frameSequence.string()!), self) }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:428:39: warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 13 | import NIOSSL
 14 |
 15 | public class WebSocket {
    |              `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 16 |     private let group: EventLoopGroup
 17 |     private let isGroupOwned: Bool
    :
426 |                 callbackQueue.async { self.onData?(.binary(frameSequence.data()!), self) }
427 |             case .text:
428 |                 callbackQueue.async { self.onData?(.text(frameSequence.string()!), self) }
    |                                       `- warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
429 |             case .pong:
430 |                 waitingForPong = false
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:428:58: warning: capture of 'frameSequence' with non-sendable type 'WebSocketFrameBuffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
426 |                 callbackQueue.async { self.onData?(.binary(frameSequence.data()!), self) }
427 |             case .text:
428 |                 callbackQueue.async { self.onData?(.text(frameSequence.string()!), self) }
    |                                                          `- warning: capture of 'frameSequence' with non-sendable type 'WebSocketFrameBuffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
429 |             case .pong:
430 |                 waitingForPong = false
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/FrameBuffer.swift:13:8: note: consider making struct 'WebSocketFrameBuffer' conform to the 'Sendable' protocol
11 | import NIOFoundationCompat
12 |
13 | struct WebSocketFrameBuffer {
   |        `- note: consider making struct 'WebSocketFrameBuffer' conform to the 'Sendable' protocol
14 |     var buffer: ByteBuffer
15 |     var type: WebSocketOpcode
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:428:58: warning: mutation of captured var 'frameSequence' in concurrently-executing code; this is an error in the Swift 6 language mode
426 |                 callbackQueue.async { self.onData?(.binary(frameSequence.data()!), self) }
427 |             case .text:
428 |                 callbackQueue.async { self.onData?(.text(frameSequence.string()!), self) }
    |                                                          `- warning: mutation of captured var 'frameSequence' in concurrently-executing code; this is an error in the Swift 6 language mode
429 |             case .pong:
430 |                 waitingForPong = false
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:431:39: warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 13 | import NIOSSL
 14 |
 15 | public class WebSocket {
    |              `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 16 |     private let group: EventLoopGroup
 17 |     private let isGroupOwned: Bool
    :
429 |             case .pong:
430 |                 waitingForPong = false
431 |                 callbackQueue.async { self.onPong?(self) }
    |                                       `- warning: capture of 'self' with non-sendable type 'WebSocket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
432 |             default: break
433 |             }
[627/627] Compiling WebSocket Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:14:10: warning: associated value 'invalidResponseStatus(head:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'HTTPResponseHead'; this is an error in the Swift 6 language mode
12 | public enum WebSocketError: Error, LocalizedError {
13 |     case invalidURL
14 |     case invalidResponseStatus(head: HTTPResponseHead)
   |          `- warning: associated value 'invalidResponseStatus(head:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'HTTPResponseHead'; this is an error in the Swift 6 language mode
15 |     case connectTimeout
16 |     case alreadyConnected
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:169:15: note: struct 'HTTPResponseHead' does not conform to the 'Sendable' protocol
 167 |
 168 | /// A representation of the status line and header fields of a HTTP response.
 169 | public struct HTTPResponseHead: Equatable {
     |               `- note: struct 'HTTPResponseHead' does not conform to the 'Sendable' protocol
 170 |     private final class _Storage {
 171 |         var status: HTTPResponseStatus
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
 7 |
 8 | import Foundation
 9 | import NIOHTTP1
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
10 | import NIOWebSocket
11 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:18:10: warning: associated value 'opcodeMismatch(buffer:frame:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'WebSocketOpcode'; this is an error in the Swift 6 language mode
16 |     case alreadyConnected
17 |     case disconnected
18 |     case opcodeMismatch(buffer: WebSocketOpcode, frame: WebSocketOpcode)
   |          `- warning: associated value 'opcodeMismatch(buffer:frame:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'WebSocketOpcode'; this is an error in the Swift 6 language mode
19 |     case transport(error: Error)
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift:16:15: note: struct 'WebSocketOpcode' does not conform to the 'Sendable' protocol
 14 |
 15 | /// An operation code for a websocket frame.
 16 | public struct WebSocketOpcode {
    |               `- note: struct 'WebSocketOpcode' does not conform to the 'Sendable' protocol
 17 |     fileprivate let networkRepresentation: UInt8
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOWebSocket'
 8 | import Foundation
 9 | import NIOHTTP1
10 | import NIOWebSocket
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOWebSocket'
11 |
12 | public enum WebSocketError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/Error.swift:18:10: warning: associated value 'opcodeMismatch(buffer:frame:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'WebSocketOpcode'; this is an error in the Swift 6 language mode
16 |     case alreadyConnected
17 |     case disconnected
18 |     case opcodeMismatch(buffer: WebSocketOpcode, frame: WebSocketOpcode)
   |          `- warning: associated value 'opcodeMismatch(buffer:frame:)' of 'Sendable'-conforming enum 'WebSocketError' has non-sendable type 'WebSocketOpcode'; this is an error in the Swift 6 language mode
19 |     case transport(error: Error)
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift:16:15: note: struct 'WebSocketOpcode' does not conform to the 'Sendable' protocol
 14 |
 15 | /// An operation code for a websocket frame.
 16 | public struct WebSocketOpcode {
    |               `- note: struct 'WebSocketOpcode' does not conform to the 'Sendable' protocol
 17 |     fileprivate let networkRepresentation: UInt8
 18 |
Build complete! (25.52s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.40.0",
            "upper_bound" : "2.41.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.19.0",
            "upper_bound" : "2.20.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    }
  ],
  "manifest_display_name" : "WebSocket",
  "name" : "WebSocket",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WebSocket",
      "targets" : [
        "WebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebSocketTests",
      "module_type" : "SwiftTarget",
      "name" : "WebSocketTests",
      "path" : "Tests/WebSocketTests",
      "sources" : [
        "WebSocketTests.swift"
      ],
      "target_dependencies" : [
        "WebSocket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebSocket",
      "module_type" : "SwiftTarget",
      "name" : "WebSocket",
      "path" : "Sources/WebSocket",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOWebSocket",
        "NIOConcurrencyHelpers",
        "NIOFoundationCompat",
        "NIOSSL"
      ],
      "product_memberships" : [
        "WebSocket"
      ],
      "sources" : [
        "Data.swift",
        "Error.swift",
        "EventLoopGroup.swift",
        "FrameBuffer.swift",
        "Handler.swift",
        "InitialRequestHandler.swift",
        "ReExport.swift",
        "State.swift",
        "WebSocket.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.