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

Failed to build LastFM.swift, reference main (349601), with Swift 6.1 for Wasm on 30 May 2025 16:33:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/duhnnie/LastFM.swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/duhnnie/LastFM.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3496012 Merge pull request #152 from duhnnie/funding
Cloned https://github.com/duhnnie/LastFM.swift.git
Revision (git rev-parse @):
3496012f48544a9086c6ebb365bc26bc91f72e93
SUCCESS checkout https://github.com/duhnnie/LastFM.swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/duhnnie/LastFM.swift.git
https://github.com/duhnnie/LastFM.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftrestclient",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/duhnnie/SwiftRestClient"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "LastFM.swift",
  "name" : "LastFM.swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "LastFM",
      "targets" : [
        "LastFM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "LastFMTests",
      "module_type" : "SwiftTarget",
      "name" : "LastFMTests",
      "path" : "Tests/LastFMTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/LastFMTests/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "LastFMTests.swift",
        "Mocks/APIClientMock.swift",
        "Modules/AlbumModuleTests.swift",
        "Modules/ArtistModuleTests.swift",
        "Modules/AuthModuleTests.swift",
        "Modules/ChartModuleTests.swift",
        "Modules/GeoModuleTests.swift",
        "Modules/LibraryModuleTests.swift",
        "Modules/TagModuleTests.swift",
        "Modules/TrackModuleTests.swift",
        "Modules/UserModuleTests.swift",
        "Protocols/Mock.swift",
        "TestUtils/Constants.swift",
        "TestUtils/Utils.swift"
      ],
      "target_dependencies" : [
        "LastFM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LastFM",
      "module_type" : "SwiftTarget",
      "name" : "LastFM",
      "path" : "Sources/LastFM",
      "product_dependencies" : [
        "SwiftRestClient",
        "Crypto"
      ],
      "product_memberships" : [
        "LastFM"
      ],
      "sources" : [
        "Common/StringCodingKeys.swift",
        "Errors/RuntimeError.swift",
        "Errors/ScrobbleError.swift",
        "Extensions/KeyedDecodingContainer+StringDecoding.swift",
        "Extensions/String+encodeURIComponent.swift",
        "Extensions/SwiftRestClient+APIClient.swift",
        "Extensions/URLComponents+lastFMUrl.swift",
        "LastFM.swift",
        "Models/AlbumInfo.swift",
        "Models/AlbumInfoTrack.swift",
        "Models/AlbumSearchResult.swift",
        "Models/ArtistCorrection.swift",
        "Models/ArtistInfo.swift",
        "Models/ArtistInfoStats.swift",
        "Models/ArtistSearchResult.swift",
        "Models/ArtistSimilar.swift",
        "Models/ArtistTopAlbum.swift",
        "Models/ArtistTopTrack.swift",
        "Models/ChartDateRange.swift",
        "Models/ChartTopArtist.swift",
        "Models/ChartTopTag.swift",
        "Models/ChartTopTrack.swift",
        "Models/CollectionList.swift",
        "Models/CollectionPage.swift",
        "Models/Core/LastFMEntity.swift",
        "Models/Core/LastFMExtendedEntity.swift",
        "Models/Core/LastFMMBEntity.swift",
        "Models/Core/LastFMMBExtendedEntity.swift",
        "Models/Core/LastFMOptionalMBEntity.swift",
        "Models/Core/MBEntity.swift",
        "Models/Core/Streamable.swift",
        "Models/ExtendedRecentTrack.swift",
        "Models/GeoTopArtist.swift",
        "Models/GeoTopTrack.swift",
        "Models/LastFMError.swift",
        "Models/LastFMImages.swift",
        "Models/LibraryArtists.swift",
        "Models/LovedTrack.swift",
        "Models/Params/AlbumAddTagsParams.swift",
        "Models/Params/AlbumGetTagsParams.swift",
        "Models/Params/AlbumInfoByMBIDParams.swift",
        "Models/Params/AlbumInfoParams.swift",
        "Models/Params/ArtistInfoParams.swift",
        "Models/Params/ArtistSimilarParams.swift",
        "Models/Params/ArtistTagsParams.swift",
        "Models/Params/ArtistTopItemsParams.swift",
        "Models/Params/ChartTopitemsParams.swift",
        "Models/Params/GeoTopTracksParams.swift",
        "Models/Params/InfoByMBIDParams.swift",
        "Models/Params/MBIDListParams.swift",
        "Models/Params/MBIDPageParams.swift",
        "Models/Params/RecentTracksParams.swift",
        "Models/Params/ScrobbleParams.swift",
        "Models/Params/ScrobbleParamsItem.swift",
        "Models/Params/SearchParams.swift",
        "Models/Params/TrackInfoParams.swift",
        "Models/Params/TrackNowPlayingParams.swift",
        "Models/Params/TrackParams.swift",
        "Models/Params/TrackSearchParams.swift",
        "Models/Params/TrackSimilarParams.swift",
        "Models/Params/TrackTagsParams.swift",
        "Models/Params/UserTopItemsParams.swift",
        "Models/Params/UserWeeklyChartParams.swift",
        "Models/RecentTrack.swift",
        "Models/ScrobbleList.swift",
        "Models/ScrobbledTrack.swift",
        "Models/SearchResults.swift",
        "Models/ServiceSession.swift",
        "Models/SimilarTag.swift",
        "Models/SimpleWiki.swift",
        "Models/TagInfo.swift",
        "Models/TagTopAlbum.swift",
        "Models/TagTopArtist.swift",
        "Models/TagTopTrack.swift",
        "Models/TokenResponse.swift",
        "Models/TopGlobalTag.swift",
        "Models/TopTag.swift",
        "Models/TrackCorrection.swift",
        "Models/TrackInfo.swift",
        "Models/TrackInfoAlbum.swift",
        "Models/TrackPlayingNow.swift",
        "Models/TrackSearchResult.swift",
        "Models/TrackSimilar.swift",
        "Models/UserInfo.swift",
        "Models/UserPublicInfo.swift",
        "Models/UserTopAlbum.swift",
        "Models/UserTopArtist.swift",
        "Models/UserTopTrack.swift",
        "Models/UserWeeklyAlbumChart.swift",
        "Models/UserWeeklyArtistChart .swift",
        "Models/UserWeeklyTrackChart.swift",
        "Models/Wiki.swift",
        "Modules/AlbumModule.swift",
        "Modules/ArtistModule.swift",
        "Modules/AuthModule.swift",
        "Modules/ChartModule.swift",
        "Modules/GeoModule.swift",
        "Modules/LibraryModule.swift",
        "Modules/TagModule.swift",
        "Modules/TrackModule.swift",
        "Modules/UserModule.swift",
        "Protocols/APIClient.swift",
        "Protocols/MBeable.swift",
        "Protocols/MethodKey.swift",
        "Protocols/Nameable.swift",
        "Protocols/Params.swift",
        "Protocols/Requester.swift",
        "Utils/Crypto.swift",
        "Utils/RequestUtils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/duhnnie/SwiftRestClient
Fetching https://github.com/apple/swift-crypto.git
[1/125] Fetching swiftrestclient
[90/14061] Fetching swiftrestclient, swift-crypto
Fetched https://github.com/duhnnie/SwiftRestClient from cache (1.66s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.70s)
Computing version for https://github.com/duhnnie/SwiftRestClient
Computed https://github.com/duhnnie/SwiftRestClient at 0.7.1 (2.26s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (1.34s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/duhnnie/SwiftRestClient
Working copy of https://github.com/duhnnie/SwiftRestClient resolved at 0.7.1
Building for debugging...
[0/419] Write sources
[3/419] Compiling sha256-x86_64-linux.linux.x86_64.S
[4/419] Write sources
[5/419] Compiling a_i2d_fp.c
[6/419] Compiling p_x25519.c
[7/419] Compiling p_x25519_asn1.c
[8/419] Compiling p_rsa_asn1.c
[9/419] Compiling a_bool.c
[10/419] Compiling fiat_curve25519_adx_mul.S
[10/419] Compiling fiat_curve25519_adx_square.S
[12/419] Compiling a_d2i_fp.c
[13/419] Write swift-version-24593BA9C3E375BF.txt
[14/419] Compiling v3_skey.c
[15/419] Compiling v3_pmaps.c
[16/419] Compiling CCryptoBoringSSLShims shims.c
[17/419] Compiling v3_purp.c
[18/419] Compiling v3_utl.c
[19/419] Compiling v3_prn.c
[20/419] Compiling v3_pcons.c
[21/419] Compiling v3_ocsp.c
[22/422] Compiling v3_int.c
[23/422] Compiling v3_extku.c
[24/422] Compiling v3_lib.c
[24/422] Compiling v3_ncons.c
[25/422] Compiling v3_genn.c
[27/422] Compiling v3_info.c
[28/422] Compiling v3_ia5.c
[29/422] Compiling v3_enum.c
[30/422] Compiling v3_bcons.c
[31/422] Compiling v3_crld.c
[32/422] Compiling v3_bitst.c
[33/422] Compiling v3_conf.c
[34/422] Compiling v3_alt.c
[35/422] Compiling v3_cpols.c
[36/422] Compiling x_spki.c
[37/422] Compiling v3_akeya.c
[38/422] Compiling x_val.c
[39/422] Compiling x_x509a.c
[40/422] Compiling v3_akey.c
[41/422] Compiling x_sig.c
[42/422] Compiling x_x509.c
[43/422] Compiling x_pubkey.c
[44/422] Compiling x_req.c
[45/422] Compiling x_pkey.c
[46/422] Compiling x_info.c
[47/422] Compiling x_exten.c
[48/422] Compiling x_name.c
[49/422] Compiling x_crl.c
[50/422] Compiling x_algor.c
[51/422] Compiling x509spki.c
[52/422] Compiling x_attrib.c
[52/422] Compiling x_all.c
[54/422] Compiling x509rset.c
[55/422] Compiling x509name.c
[56/422] Compiling x509cset.c
[57/422] Compiling x509_txt.c
[58/422] Compiling x509_vpm.c
[59/422] Compiling x509_v3.c
[59/422] Compiling x509_trs.c
[60/422] Compiling x509_req.c
[62/422] Compiling x509_set.c
[63/422] Compiling x509_vfy.c
[64/422] Compiling x509_obj.c
[65/422] Compiling x509_def.c
[66/422] Compiling x509_d2.c
[67/422] Compiling x509_att.c
[68/422] Compiling x509_lu.c
[69/422] Compiling x509_ext.c
[70/422] Compiling x509_cmp.c
[71/422] Compiling x509.c
[72/422] Compiling t_x509a.c
[73/422] Compiling t_x509.c
[74/422] Compiling t_crl.c
[75/422] Compiling rsa_pss.c
[76/422] Compiling name_print.c
[77/422] Compiling t_req.c
[78/422] Compiling policy.c
[79/422] Compiling i2d_pr.c
[80/422] Compiling by_file.c
[81/422] Compiling algorithm.c
[82/422] Compiling asn1_gen.c
[83/422] Compiling by_dir.c
[84/422] Compiling a_digest.c
[85/422] Compiling a_sign.c
[86/422] Compiling a_verify.c
[87/422] Compiling trust_token.c
[88/422] Compiling thread_win.c
[89/422] Compiling thread_pthread.c
[90/422] Compiling voprf.c
[91/422] Compiling thread.c
[92/422] Compiling thread_none.c
[93/422] Compiling pmbtoken.c
[94/422] Compiling siphash.c
[95/422] Compiling rsa_print.c
[96/422] Compiling stack.c
[97/422] Compiling rc4.c
[98/422] Compiling windows.c
[99/422] Compiling refcount.c
[100/422] Compiling trusty.c
[101/422] Compiling rsa_asn1.c
[102/422] Compiling rsa_crypt.c
[103/422] Compiling passive.c
[104/422] Compiling rand_extra.c
[105/422] Compiling ios.c
[106/422] Compiling forkunsafe.c
[107/422] Compiling getentropy.c
[108/422] Compiling poly1305_vec.c
[108/422] Compiling deterministic.c
[110/422] Compiling poly1305_arm.c
[111/422] Compiling pool.c
[112/422] Compiling poly1305_arm_asm.S
[113/422] Compiling poly1305.c
[114/422] Compiling pkcs7.c
[115/422] Compiling p5_pbev2.c
[116/422] Compiling pkcs8.c
[117/422] Compiling pkcs7_x509.c
[118/422] Compiling pkcs8_x509.c
[119/422] Compiling pem_xaux.c
[120/422] Compiling pem_x509.c
[121/422] Compiling obj_xref.c
[122/422] Compiling pem_oth.c
[123/422] Compiling pem_pk8.c
[124/422] Compiling pem_info.c
[125/422] Compiling pem_pkey.c
[126/422] Compiling pem_all.c
[127/422] Compiling pem_lib.c
[128/422] Compiling mem.c
[129/422] Compiling lhash.c
[130/422] Compiling keccak.c
[131/422] Compiling poly_rq_mul.S
[132/422] Compiling obj.c
[133/422] Compiling kyber.c
[134/422] Compiling x86_64-mont5-mac.mac.x86_64.S
[135/422] Compiling x86_64-mont5-linux.linux.x86_64.S
[136/422] Compiling hrss.c
[137/422] Compiling x86_64-mont-mac.mac.x86_64.S
[138/422] Compiling x86_64-mont-linux.linux.x86_64.S
[139/422] Compiling hpke.c
[140/422] Compiling x86-mont-linux.linux.x86.S
[141/422] Compiling x86-mont-windows.windows.x86.S
[142/422] Compiling vpaes-x86_64-mac.mac.x86_64.S
[143/422] Compiling vpaes-x86-windows.windows.x86.S
[144/422] Compiling vpaes-x86-linux.linux.x86.S
[145/422] Compiling vpaes-x86_64-linux.linux.x86_64.S
[146/422] Compiling vpaes-armv8-linux.linux.aarch64.S
[147/422] Compiling vpaes-armv8-ios.ios.aarch64.S
[148/422] Compiling vpaes-armv7-linux.linux.arm.S
[149/422] Compiling sha512-x86_64-mac.mac.x86_64.S
[150/422] Compiling sha512-x86_64-linux.linux.x86_64.S
[151/422] Compiling sha512-armv8-linux.linux.aarch64.S
[152/422] Compiling vpaes-armv7-ios.ios.arm.S
[153/422] Compiling sha512-armv8-ios.ios.aarch64.S
[154/422] Compiling kdf.c
[155/422] Compiling sha512-armv4-ios.ios.arm.S
[156/422] Compiling sha512-armv4-linux.linux.arm.S
[157/422] Compiling sha512-586-linux.linux.x86.S
[158/422] Compiling sha512-586-windows.windows.x86.S
[159/422] Compiling sha256-armv8-linux.linux.aarch64.S
[160/422] Compiling sha256-x86_64-mac.mac.x86_64.S
[161/422] Compiling sha256-armv4-ios.ios.arm.S
[161/422] Compiling sha256-armv8-ios.ios.aarch64.S
[163/422] Compiling sha256-armv4-linux.linux.arm.S
[164/422] Compiling sha256-586-windows.windows.x86.S
[165/422] Compiling sha256-586-linux.linux.x86.S
[166/422] Compiling sha1-x86_64-mac.mac.x86_64.S
[167/422] Compiling sha1-x86_64-linux.linux.x86_64.S
[168/422] Compiling sha1-armv8-linux.linux.aarch64.S
[169/422] Compiling sha1-armv8-ios.ios.aarch64.S
[170/422] Compiling sha1-armv4-large-linux.linux.arm.S
[171/422] Compiling sha1-586-windows.windows.x86.S
[171/422] Compiling sha1-armv4-large-ios.ios.arm.S
[173/422] Compiling sha1-586-linux.linux.x86.S
[174/422] Compiling service_indicator.c
[175/422] Compiling sha256.c
[176/422] Compiling sha512.c
[176/422] Compiling fips.c
[178/422] Compiling sha1.c
[179/422] Compiling rsaz-avx2-mac.mac.x86_64.S
[180/422] Compiling rsaz-avx2-linux.linux.x86_64.S
[181/422] Compiling self_check.c
[182/422] Compiling rdrand-x86_64-mac.mac.x86_64.S
[183/422] Compiling rdrand-x86_64-linux.linux.x86_64.S
[184/422] Compiling blinding.c
[184/422] Compiling padding.c
[186/422] Compiling rsa_impl.c
[187/422] Compiling rsa.c
[188/422] Compiling urandom.c
[189/422] Compiling fork_detect.c
[190/422] Compiling p256_beeu-x86_64-asm-linux.linux.x86_64.S
[191/422] Compiling p256_beeu-x86_64-asm-mac.mac.x86_64.S
[192/422] Compiling rand.c
[193/422] Compiling p256_beeu-armv8-asm-linux.linux.aarch64.S
[193/422] Compiling ctrdrbg.c
[195/422] Compiling p256-x86_64-asm-mac.mac.x86_64.S
[195/422] Compiling p256_beeu-armv8-asm-ios.ios.aarch64.S
[197/422] Compiling p256-armv8-asm-ios.ios.aarch64.S
[198/422] Compiling p256-armv8-asm-linux.linux.aarch64.S
[199/422] Compiling p256-x86_64-asm-linux.linux.x86_64.S
[200/422] Compiling ofb.c
[201/422] Compiling polyval.c
[202/422] Compiling gcm.c
[203/422] Compiling gcm_nohw.c
[204/422] Compiling cfb.c
[205/422] Compiling ctr.c
[206/422] Compiling md5-x86_64-linux.linux.x86_64.S
[207/422] Compiling md5-x86_64-mac.mac.x86_64.S
[208/422] Compiling md5-586-windows.windows.x86.S
[209/422] Compiling cbc.c
[210/422] Compiling md5.c
[211/422] Compiling md5-586-linux.linux.x86.S
[212/422] Compiling md4.c
[213/422] Compiling ghashv8-armv8-linux.linux.aarch64.S
[213/422] Compiling hmac.c
[215/422] Compiling ghashv8-armv8-ios.ios.aarch64.S
[216/422] Compiling ghashv8-armv7-linux.linux.arm.S
[217/422] Compiling ghashv8-armv7-ios.ios.arm.S
[218/422] Compiling hkdf.c
[219/422] Compiling ghash-x86_64-mac.mac.x86_64.S
[220/422] Compiling ghash-x86-windows.windows.x86.S
[221/422] Compiling ghash-x86_64-linux.linux.x86_64.S
[222/422] Compiling ghash-ssse3-x86_64-mac.mac.x86_64.S
[223/422] Compiling ghash-x86-linux.linux.x86.S
[224/422] Compiling ghash-ssse3-x86-linux.linux.x86.S
[225/422] Compiling ghash-ssse3-x86_64-linux.linux.x86_64.S
[226/422] Compiling ghash-ssse3-x86-windows.windows.x86.S
[227/422] Compiling ghash-neon-armv8-linux.linux.aarch64.S
[228/422] Compiling ghash-neon-armv8-ios.ios.aarch64.S
[229/422] Compiling ghash-armv4-linux.linux.arm.S
[230/422] Compiling ghash-armv4-ios.ios.arm.S
[231/422] Compiling fips_shared_support.c
[232/422] Compiling ecdh.c
[233/422] Compiling util.c
[234/422] Compiling ecdsa.c
[235/422] Compiling wnaf.c
[236/422] Compiling simple.c
[237/422] Compiling simple_mul.c
[238/422] Compiling scalar.c
[239/422] Compiling p224-64.c
[240/422] Compiling p256-nistz.c
[241/422] Compiling oct.c
[242/422] Compiling felem.c
[243/422] Compiling ec_montgomery.c
[244/422] Compiling ec_key.c
[245/422] Compiling digestsign.c
[246/422] Compiling digest.c
[247/422] Compiling digests.c
[248/422] Compiling check.c
[249/422] Compiling dh.c
[250/422] Compiling ec.c
[251/422] Compiling co-586-linux.linux.x86.S
[252/422] Compiling co-586-windows.windows.x86.S
[253/422] Compiling cmac.c
[254/422] Compiling e_aesccm.c
[255/422] Compiling bsaes-armv7-linux.linux.arm.S
[256/422] Compiling bsaes-armv7-ios.ios.arm.S
[256/422] Compiling aead.c
[258/422] Compiling cipher.c
[259/422] Compiling p256.c
[260/422] Compiling e_aes.c
[261/422] Compiling rsaz_exp.c
[262/422] Compiling sqrt.c
[263/422] Compiling shift.c
[264/422] Compiling random.c
[265/422] Compiling jacobi.c
[266/422] Compiling mul.c
[267/422] Compiling montgomery_inv.c
[268/422] Compiling prime.c
[269/422] Compiling montgomery.c
[270/422] Compiling gcd_extra.c
[271/422] Compiling generic.c
[272/422] Compiling gcd.c
[273/422] Compiling exponentiation.c
[274/422] Compiling div_extra.c
[275/422] Compiling ctx.c
[276/422] Compiling cmp.c
[277/422] Compiling x86_64-gcc.c
[278/422] Compiling bytes.c
[279/422] Compiling div.c
[280/422] Compiling bn.c
[281/422] Compiling bn-armv8-linux.linux.aarch64.S
[282/422] Compiling add.c
[283/422] Compiling bn-armv8-ios.ios.aarch64.S
[284/422] Compiling bn-586-windows.windows.x86.S
[285/422] Compiling bn-586-linux.linux.x86.S
[286/422] Compiling armv8-mont-linux.linux.aarch64.S
[287/422] Compiling armv8-mont-ios.ios.aarch64.S
[288/422] Compiling armv4-mont-linux.linux.arm.S
[289/422] Compiling armv4-mont-ios.ios.arm.S
[290/422] Compiling aesv8-gcm-armv8-linux.linux.aarch64.S
[291/422] Compiling aesv8-gcm-armv8-ios.ios.aarch64.S
[292/422] Compiling aesv8-armv8-linux.linux.aarch64.S
[293/422] Compiling aesv8-armv8-ios.ios.aarch64.S
[294/422] Compiling aesv8-armv7-ios.ios.arm.S
[295/422] Compiling aesv8-armv7-linux.linux.arm.S
[296/422] Compiling aesni-x86_64-linux.linux.x86_64.S
[297/422] Compiling aesni-x86-windows.windows.x86.S
[298/422] Compiling aesni-x86_64-mac.mac.x86_64.S
[299/422] Compiling aesni-x86-linux.linux.x86.S
[300/422] Compiling aesni-gcm-x86_64-mac.mac.x86_64.S
[301/422] Compiling aesni-gcm-x86_64-linux.linux.x86_64.S
[302/422] Compiling mode_wrappers.c
[303/422] Compiling key_wrap.c
[304/422] Compiling aes.c
[305/422] Compiling ex_data.c
[306/422] Compiling aes_nohw.c
[307/422] Compiling sign.c
[308/422] Compiling scrypt.c
[309/422] Compiling pbkdf.c
[310/422] Compiling p_rsa.c
[311/422] Compiling print.c
[312/422] Compiling p_hkdf.c
[313/422] Compiling p_ed25519_asn1.c
[314/422] Compiling p_ed25519.c
[315/422] Compiling p_ec_asn1.c
[316/422] Compiling p_ec.c
[317/422] Compiling p_dsa_asn1.c
[318/422] Compiling evp_ctx.c
[319/422] Compiling evp_asn1.c
[320/422] Compiling err_data.c
[321/422] Compiling evp.c
[322/422] Compiling err.c
[323/422] Compiling engine.c
[324/422] Compiling ecdh_extra.c
[325/422] Compiling ecdsa_asn1.c
[326/422] Compiling ec_derive.c
[327/422] Compiling hash_to_curve.c
[328/422] Compiling ec_asn1.c
[329/422] Compiling dsa_asn1.c
[330/422] Compiling dsa.c
[331/422] Compiling dh_asn1.c
[332/422] Compiling digest_extra.c
[333/422] Compiling curve25519_64_adx.c
[334/422] Compiling params.c
[335/422] Compiling cpu_intel.c
[336/422] Compiling spake25519.c
[337/422] Compiling crypto.c
[338/422] Compiling x25519-asm-arm.S
[339/422] Compiling cpu_arm.c
[339/422] Compiling des.c
[340/422] Compiling curve25519.c
[342/422] Compiling cpu_arm_linux.c
[342/422] Compiling cpu_arm_freebsd.c
[345/422] Compiling SwiftRestClient SwiftRestClient.swift
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:19:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     public static let shared = SwiftRestClient()
 19 |     public typealias RequestCompletion = (Data?, URLResponse?, Error?) -> Void
    |                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |     public typealias Headers = [String: String]
 21 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:54:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |        body: Data? = nil,
 53 |        headers: Headers? = nil
 54 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         return try await withCheckedThrowingContinuation { continuation in
 56 |             self.call(url, method: method, body: body, headers: headers) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:83:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         body: Data? = nil,
 82 |         headers: Headers? = nil
 83 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || (os(Linux) && compiler(>=6.0))
 85 |         var request = URLRequest(url: url)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:112:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |
111 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
112 |     public func get(_ url: URL, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |         return try await call(url, method: .GET, body: nil, headers: headers)
114 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:121:101: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |
120 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
121 |     public func post(_ url: URL, body: Data? = nil, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
122 |         return try await call(url, method: .POST, body: body, headers: headers)
123 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:130:100: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |
129 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
130 |     public func put(_ url: URL, body: Data? = nil, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
131 |         return try await call(url, method: .PUT, body: body, headers: headers)
132 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:31:23: error: cannot find 'URLRequest' in scope
 29 |         onCompletion: @escaping RequestCompletion
 30 |     ) -> Void {
 31 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 32 |
 33 |         request.httpMethod = method.rawValue
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:43:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |         request.httpBody = body
 42 |
 43 |         let dataTask = URLSession.shared.dataTask(with: request, completionHandler: onCompletion)
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |
 45 |         dataTask.resume()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[346/422] Emitting module SwiftRestClient
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:19:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     public static let shared = SwiftRestClient()
 19 |     public typealias RequestCompletion = (Data?, URLResponse?, Error?) -> Void
    |                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |     public typealias Headers = [String: String]
 21 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:54:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |        body: Data? = nil,
 53 |        headers: Headers? = nil
 54 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         return try await withCheckedThrowingContinuation { continuation in
 56 |             self.call(url, method: method, body: body, headers: headers) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:83:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         body: Data? = nil,
 82 |         headers: Headers? = nil
 83 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || (os(Linux) && compiler(>=6.0))
 85 |         var request = URLRequest(url: url)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:112:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |
111 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
112 |     public func get(_ url: URL, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |         return try await call(url, method: .GET, body: nil, headers: headers)
114 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:121:101: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |
120 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
121 |     public func post(_ url: URL, body: Data? = nil, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
122 |         return try await call(url, method: .POST, body: body, headers: headers)
123 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:130:100: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |
129 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
130 |     public func put(_ url: URL, body: Data? = nil, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
131 |         return try await call(url, method: .PUT, body: body, headers: headers)
132 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[347/422] Compiling SwiftRestClient HTTPFormURLEncoded.swift
[347/422] Compiling cpu_aarch64_win.c
[348/422] Compiling cpu_aarch64_openbsd.c
[349/422] Compiling cpu_aarch64_sysreg.c
[350/422] Compiling cpu_aarch64_linux.c
[351/422] Compiling cpu_aarch64_fuchsia.c
[352/422] Compiling cpu_aarch64_apple.c
[353/422] Compiling tls_cbc.c
[354/422] Compiling e_rc4.c
[355/422] Compiling e_tls.c
[355/422] Compiling e_rc2.c
[355/422] Compiling e_null.c
[355/422] Compiling e_des.c
[355/422] Compiling e_chacha20poly1305.c
[355/422] Compiling conf.c
[355/422] Compiling e_aesgcmsiv.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/68] Compiling e_rc2.c
[1/68] Compiling e_null.c
[2/68] Compiling e_chacha20poly1305.c
[3/68] Compiling e_aesctrhmac.c
[4/68] Compiling derive_key.c
[5/68] Compiling e_des.c
[6/68] Compiling e_tls.c
[7/68] Compiling conf.c
[8/68] Compiling e_aesgcmsiv.c
[9/68] Compiling chacha20_poly1305_x86_64-mac.mac.x86_64.S
[10/68] Compiling chacha20_poly1305_armv8-linux.linux.aarch64.S
[11/68] Compiling chacha20_poly1305_x86_64-linux.linux.x86_64.S
[12/68] Compiling aes128gcmsiv-x86_64-mac.mac.x86_64.S
[13/68] Compiling aes128gcmsiv-x86_64-linux.linux.x86_64.S
[14/68] Compiling cipher_extra.c
[15/68] Compiling chacha20_poly1305_armv8-ios.ios.aarch64.S
[16/68] Compiling chacha-x86_64-mac.mac.x86_64.S
[17/68] Compiling chacha-x86_64-linux.linux.x86_64.S
[18/68] Compiling chacha-x86-linux.linux.x86.S
[19/68] Compiling chacha-x86-windows.windows.x86.S
[20/68] Compiling chacha-armv8-linux.linux.aarch64.S
[21/68] Compiling chacha-armv8-ios.ios.aarch64.S
[22/68] Compiling chacha.c
[23/68] Compiling chacha-armv4-linux.linux.arm.S
[24/68] Compiling chacha-armv4-ios.ios.arm.S
[25/68] Compiling unicode.c
[26/68] Compiling buf.c
[27/68] Compiling cbs.c
[28/68] Write swift-version-24593BA9C3E375BF.txt
[29/68] Compiling blake2.c
[30/68] Compiling bn_asn1.c
[31/68] Compiling asn1_compat.c
[32/68] Compiling ber.c
[33/68] Compiling printf.c
[34/68] Compiling hexdump.c
[35/68] Compiling convert.c
[36/68] Compiling cbb.c
[37/68] Compiling errno.c
[38/68] Compiling pair.c
[39/68] Compiling fd.c
[40/68] Compiling tasn_typ.c
[41/68] Compiling file.c
[42/68] Compiling tasn_utl.c
[43/68] Compiling bio_mem.c
[44/68] Compiling base64.c
[45/68] Compiling tasn_new.c
[46/68] Compiling f_string.c
[47/68] Compiling bio.c
[48/68] Compiling tasn_fre.c
[49/71] Compiling posix_time.c
[50/71] Compiling f_int.c
[51/71] Compiling asn_pack.c
[52/71] Compiling tasn_dec.c
[53/71] Compiling asn1_par.c
[54/71] Compiling asn1_lib.c
[55/71] Compiling a_type.c
[56/71] Compiling a_strex.c
[58/71] Compiling SwiftRestClient SwiftRestClient.swift
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:19:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     public static let shared = SwiftRestClient()
 19 |     public typealias RequestCompletion = (Data?, URLResponse?, Error?) -> Void
    |                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |     public typealias Headers = [String: String]
 21 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:54:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |        body: Data? = nil,
 53 |        headers: Headers? = nil
 54 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         return try await withCheckedThrowingContinuation { continuation in
 56 |             self.call(url, method: method, body: body, headers: headers) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:83:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         body: Data? = nil,
 82 |         headers: Headers? = nil
 83 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || (os(Linux) && compiler(>=6.0))
 85 |         var request = URLRequest(url: url)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:112:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |
111 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
112 |     public func get(_ url: URL, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |         return try await call(url, method: .GET, body: nil, headers: headers)
114 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:121:101: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |
120 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
121 |     public func post(_ url: URL, body: Data? = nil, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
122 |         return try await call(url, method: .POST, body: body, headers: headers)
123 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:130:100: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |
129 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
130 |     public func put(_ url: URL, body: Data? = nil, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
131 |         return try await call(url, method: .PUT, body: body, headers: headers)
132 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:31:23: error: cannot find 'URLRequest' in scope
 29 |         onCompletion: @escaping RequestCompletion
 30 |     ) -> Void {
 31 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 32 |
 33 |         request.httpMethod = method.rawValue
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:43:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |         request.httpBody = body
 42 |
 43 |         let dataTask = URLSession.shared.dataTask(with: request, completionHandler: onCompletion)
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |
 45 |         dataTask.resume()
[58/71] Compiling a_utctm.c
[59/71] Compiling tasn_enc.c
[60/71] Compiling a_time.c
[61/71] Compiling a_octet.c
[62/71] Compiling a_strnid.c
[63/71] Compiling a_mbstr.c
[64/71] Compiling a_int.c
[65/71] Compiling a_bitstr.c
[65/71] Compiling a_object.c
[67/71] Compiling a_gentm.c
[68/71] Compiling a_dup.c
[70/71] Compiling SwiftRestClient HTTPFormURLEncoded.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/71] Emitting module SwiftRestClient
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:19:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     public static let shared = SwiftRestClient()
 19 |     public typealias RequestCompletion = (Data?, URLResponse?, Error?) -> Void
    |                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |     public typealias Headers = [String: String]
 21 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:54:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |        body: Data? = nil,
 53 |        headers: Headers? = nil
 54 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         return try await withCheckedThrowingContinuation { continuation in
 56 |             self.call(url, method: method, body: body, headers: headers) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:83:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         body: Data? = nil,
 82 |         headers: Headers? = nil
 83 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || (os(Linux) && compiler(>=6.0))
 85 |         var request = URLRequest(url: url)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:112:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |
111 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
112 |     public func get(_ url: URL, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |         return try await call(url, method: .GET, body: nil, headers: headers)
114 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:121:101: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |
120 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
121 |     public func post(_ url: URL, body: Data? = nil, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
122 |         return try await call(url, method: .POST, body: body, headers: headers)
123 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftRestClient/Sources/SwiftRestClient/SwiftRestClient.swift:130:100: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |
129 |     @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
130 |     public func put(_ url: URL, body: Data? = nil, headers: Headers? = nil) async throws -> (Data, URLResponse) {
    |                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
131 |         return try await call(url, method: .PUT, body: body, headers: headers)
132 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
BUILD FAILURE 6.1 wasm