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 1.5.4 (0b27c4), with Swift 6.1 for Wasm on 30 May 2025 16:33:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 1.5.4
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
 * tag               1.5.4      -> FETCH_HEAD
HEAD is now at 0b27c49 Merge pull request #151 from duhnnie/release/1.5.4
Cloned https://github.com/duhnnie/LastFM.swift.git
Revision (git rev-parse @):
0b27c49369c2b8b5e3fa96280637101a5f2f114a
SUCCESS checkout https://github.com/duhnnie/LastFM.swift.git at 1.5.4
========================================
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-4606859-3":/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
[126/14061] Fetching swiftrestclient, swift-crypto
Fetched https://github.com/duhnnie/SwiftRestClient from cache (1.56s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.60s)
Computing version for https://github.com/duhnnie/SwiftRestClient
Computed https://github.com/duhnnie/SwiftRestClient at 0.7.1 (2.45s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.72s)
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-armv4-linux.linux.arm.S
[4/419] Write sources
[5/419] Compiling sha256-586-windows.windows.x86.S
[6/419] Compiling sha256-armv4-ios.ios.arm.S
[7/419] Compiling sha1-x86_64-mac.mac.x86_64.S
[8/419] Compiling sha256-586-linux.linux.x86.S
[9/419] Compiling f_string.c
[10/419] Compiling f_int.c
[11/419] Compiling fiat_curve25519_adx_square.S
[12/419] Compiling fiat_curve25519_adx_mul.S
[13/419] Write swift-version-24593BA9C3E375BF.txt
[14/419] Compiling v3_skey.c
[15/419] Compiling v3_utl.c
[16/419] Compiling v3_purp.c
[17/419] Compiling v3_pcons.c
[18/419] Compiling v3_prn.c
[19/422] Compiling CCryptoBoringSSLShims shims.c
[20/422] Compiling v3_pmaps.c
[21/422] Compiling v3_ocsp.c
[22/422] Compiling v3_ncons.c
[23/422] Compiling v3_lib.c
[24/422] Compiling v3_int.c
[25/422] Compiling v3_extku.c
[26/422] Compiling v3_enum.c
[27/422] Compiling v3_genn.c
[28/422] Compiling v3_ia5.c
[29/422] Compiling v3_info.c
[30/422] Compiling v3_conf.c
[31/422] Compiling v3_crld.c
[32/422] Compiling v3_cpols.c
[33/422] Compiling v3_bcons.c
[34/422] Compiling v3_akeya.c
[35/422] Compiling v3_alt.c
[36/422] Compiling x_x509a.c
[37/422] Compiling v3_bitst.c
[38/422] Compiling x_val.c
[39/422] Compiling v3_akey.c
[40/422] Compiling x_spki.c
[41/422] Compiling x_x509.c
[42/422] Compiling x_pkey.c
[43/422] Compiling x_sig.c
[44/422] Compiling x_pubkey.c
[45/422] Compiling x_name.c
[46/422] Compiling x_req.c
[47/422] Compiling x_exten.c
[48/422] Compiling x_info.c
[49/422] Compiling x_attrib.c
[50/422] Compiling x_crl.c
[51/422] Compiling x_all.c
[52/422] Compiling x_algor.c
[53/422] Compiling x509spki.c
[54/422] Compiling x509rset.c
[55/422] Compiling x509cset.c
[56/422] Compiling x509name.c
[57/422] Compiling x509_txt.c
[58/422] Compiling x509_vpm.c
[59/422] Compiling x509_v3.c
[60/422] Compiling x509_set.c
[61/422] Compiling x509_trs.c
[62/422] Compiling x509_def.c
[63/422] Compiling x509_req.c
[64/422] Compiling x509_obj.c
[65/422] Compiling x509_vfy.c
[66/422] Compiling x509_d2.c
[67/422] Compiling x509_lu.c
[68/422] Compiling x509_ext.c
[69/422] Compiling x509.c
[70/422] Compiling x509_att.c
[71/422] Compiling x509_cmp.c
[72/422] Compiling t_x509a.c
[73/422] Compiling t_crl.c
[74/422] Compiling t_x509.c
[75/422] Compiling i2d_pr.c
[76/422] Compiling rsa_pss.c
[77/422] Compiling t_req.c
[78/422] Compiling name_print.c
[79/422] Compiling policy.c
[80/422] Compiling algorithm.c
[81/422] Compiling asn1_gen.c
[82/422] Compiling by_dir.c
[83/422] Compiling by_file.c
[84/422] Compiling a_sign.c
[85/422] Compiling a_verify.c
[86/422] Compiling a_digest.c
[87/422] Compiling thread_pthread.c
[88/422] Compiling voprf.c
[89/422] Compiling thread_win.c
[90/422] Compiling pmbtoken.c
[91/422] Compiling thread.c
[92/422] Compiling thread_none.c
[93/422] Compiling rsa_print.c
[94/422] Compiling refcount.c
[95/422] Compiling trust_token.c
[96/422] Compiling siphash.c
[97/422] Compiling stack.c
[98/422] Compiling rc4.c
[99/422] Compiling windows.c
[100/422] Compiling trusty.c
[101/422] Compiling rsa_asn1.c
[102/422] Compiling rand_extra.c
[103/422] Compiling passive.c
[104/422] Compiling rsa_crypt.c
[105/422] Compiling ios.c
[106/422] Compiling pool.c
[107/422] Compiling forkunsafe.c
[108/422] Compiling getentropy.c
[109/422] Compiling poly1305_arm_asm.S
[110/422] Compiling deterministic.c
[111/422] Compiling poly1305_vec.c
[112/422] Compiling poly1305_arm.c
[113/422] Compiling poly1305.c
[114/422] Compiling pkcs7.c
[115/422] Compiling pkcs8_x509.c
[116/422] Compiling p5_pbev2.c
[117/422] Compiling pkcs7_x509.c
[118/422] Compiling pem_pk8.c
[119/422] Compiling pem_pkey.c
[120/422] Compiling pkcs8.c
[121/422] Compiling pem_xaux.c
[122/422] Compiling pem_x509.c
[123/422] Compiling pem_info.c
[124/422] Compiling obj_xref.c
[125/422] Compiling pem_lib.c
[126/422] Compiling pem_oth.c
[127/422] Compiling mem.c
[128/422] Compiling lhash.c
[129/422] Compiling kyber.c
[130/422] Compiling poly_rq_mul.S
[131/422] Compiling keccak.c
[132/422] Compiling obj.c
[133/422] Compiling x86_64-mont5-mac.mac.x86_64.S
[134/422] Compiling pem_all.c
[135/422] Compiling hpke.c
[136/422] Compiling x86_64-mont-mac.mac.x86_64.S
[137/422] Compiling x86_64-mont5-linux.linux.x86_64.S
[138/422] Compiling x86_64-mont-linux.linux.x86_64.S
[139/422] Compiling x86-mont-windows.windows.x86.S
[140/422] Compiling x86-mont-linux.linux.x86.S
[141/422] Compiling vpaes-x86_64-mac.mac.x86_64.S
[142/422] Compiling vpaes-x86_64-linux.linux.x86_64.S
[143/422] Compiling vpaes-x86-linux.linux.x86.S
[144/422] Compiling vpaes-x86-windows.windows.x86.S
[145/422] Compiling hrss.c
[146/422] Compiling vpaes-armv8-ios.ios.aarch64.S
[147/422] Compiling vpaes-armv8-linux.linux.aarch64.S
[148/422] Compiling sha512-x86_64-mac.mac.x86_64.S
[149/422] Compiling vpaes-armv7-linux.linux.arm.S
[150/422] Compiling vpaes-armv7-ios.ios.arm.S
[151/422] Compiling sha512-x86_64-linux.linux.x86_64.S
[152/422] Compiling sha512-armv8-linux.linux.aarch64.S
[153/422] Compiling sha512-armv8-ios.ios.aarch64.S
[154/422] Compiling sha512-armv4-linux.linux.arm.S
[155/422] Compiling sha512-armv4-ios.ios.arm.S
[156/422] Compiling sha512-586-windows.windows.x86.S
[157/422] Compiling kdf.c
[158/422] Compiling sha512-586-linux.linux.x86.S
[159/422] Compiling sha256-x86_64-linux.linux.x86_64.S
[160/422] Compiling sha256-x86_64-mac.mac.x86_64.S
[161/422] Compiling sha256-armv8-linux.linux.aarch64.S
[162/422] Compiling sha1-armv8-linux.linux.aarch64.S
[163/422] Compiling sha256-armv8-ios.ios.aarch64.S
[164/422] Compiling sha1-x86_64-linux.linux.x86_64.S
[165/422] Compiling sha1-armv8-ios.ios.aarch64.S
[166/422] Compiling sha1-armv4-large-ios.ios.arm.S
[167/422] Compiling sha1-armv4-large-linux.linux.arm.S
[167/422] Compiling sha1-586-windows.windows.x86.S
[169/422] Compiling sha1-586-linux.linux.x86.S
[170/422] Compiling service_indicator.c
[171/422] Compiling rsaz-avx2-mac.mac.x86_64.S
[172/422] Compiling fips.c
[173/422] Compiling rsaz-avx2-linux.linux.x86_64.S
[174/422] Compiling sha512.c
[175/422] Compiling sha256.c
[176/422] Compiling sha1.c
[177/422] Compiling padding.c
[178/422] Compiling rdrand-x86_64-mac.mac.x86_64.S
[179/422] Compiling self_check.c
[180/422] Compiling rsa_impl.c
[181/422] Compiling rdrand-x86_64-linux.linux.x86_64.S
[182/422] Compiling urandom.c
[183/422] Compiling fork_detect.c
[184/422] Compiling ctrdrbg.c
[185/422] Compiling blinding.c
[186/422] Compiling p256_beeu-x86_64-asm-mac.mac.x86_64.S
[187/422] Compiling rand.c
[188/422] Compiling p256_beeu-x86_64-asm-linux.linux.x86_64.S
[189/422] Compiling rsa.c
[190/422] Compiling p256_beeu-armv8-asm-ios.ios.aarch64.S
[191/422] Compiling p256_beeu-armv8-asm-linux.linux.aarch64.S
[192/422] Compiling p256-x86_64-asm-linux.linux.x86_64.S
[193/422] Compiling p256-x86_64-asm-mac.mac.x86_64.S
[194/422] Compiling p256-armv8-asm-ios.ios.aarch64.S
[195/422] Compiling p256-armv8-asm-linux.linux.aarch64.S
[196/422] Compiling polyval.c
[197/422] Compiling ofb.c
[198/422] Compiling gcm_nohw.c
[199/422] Compiling cfb.c
[200/422] Compiling ctr.c
[201/422] Compiling md5-x86_64-mac.mac.x86_64.S
[202/422] Compiling gcm.c
[203/422] Compiling md5-x86_64-linux.linux.x86_64.S
[203/422] Compiling md5.c
[205/422] Compiling md5-586-windows.windows.x86.S
[206/422] Compiling md5-586-linux.linux.x86.S
[207/422] Compiling cbc.c
[208/422] Compiling hkdf.c
[209/422] Compiling md4.c
[210/422] Compiling ghashv8-armv8-linux.linux.aarch64.S
[211/422] Compiling ghashv8-armv7-linux.linux.arm.S
[212/422] Compiling hmac.c
[213/422] Compiling ghashv8-armv8-ios.ios.aarch64.S
[214/422] Compiling ghash-x86_64-mac.mac.x86_64.S
[215/422] Compiling ghashv8-armv7-ios.ios.arm.S
[216/422] Compiling ghash-x86-windows.windows.x86.S
[217/422] Compiling ghash-x86-linux.linux.x86.S
[218/422] Compiling ghash-x86_64-linux.linux.x86_64.S
[219/422] Compiling ghash-ssse3-x86_64-linux.linux.x86_64.S
[220/422] Compiling ghash-ssse3-x86_64-mac.mac.x86_64.S
[221/422] Compiling ghash-ssse3-x86-windows.windows.x86.S
[222/422] Compiling ghash-armv4-linux.linux.arm.S
[223/422] Compiling ghash-ssse3-x86-linux.linux.x86.S
[224/422] Compiling ghash-armv4-ios.ios.arm.S
[225/422] Compiling fips_shared_support.c
[226/422] Compiling ghash-neon-armv8-linux.linux.aarch64.S
[227/422] Compiling ghash-neon-armv8-ios.ios.aarch64.S
[228/422] Compiling ecdh.c
[229/422] Compiling wnaf.c
[230/422] Compiling ecdsa.c
[231/422] Compiling util.c
[232/422] Compiling simple_mul.c
[233/422] Compiling scalar.c
[234/422] Compiling simple.c
[235/422] Compiling p256-nistz.c
[236/422] Compiling felem.c
[236/422] Compiling oct.c
[238/422] Compiling p224-64.c
[239/422] Compiling ec_montgomery.c
[240/422] Compiling ec_key.c
[241/422] Compiling digest.c
[242/422] Compiling digestsign.c
[243/422] Compiling digests.c
[244/422] Compiling co-586-windows.windows.x86.S
[245/422] Compiling dh.c
[246/422] Compiling co-586-linux.linux.x86.S
[247/422] Compiling ec.c
[248/422] Compiling check.c
[249/422] Compiling cmac.c
[250/422] Compiling bsaes-armv7-linux.linux.arm.S
[251/422] Compiling aead.c
[252/422] Compiling e_aesccm.c
[253/422] Compiling bsaes-armv7-ios.ios.arm.S
[254/422] Compiling cipher.c
[255/422] Compiling rsaz_exp.c
[256/422] Compiling sqrt.c
[257/422] Compiling e_aes.c
[258/422] Compiling shift.c
[259/422] Compiling prime.c
[260/422] Compiling random.c
[261/422] Compiling montgomery_inv.c
[262/422] Compiling jacobi.c
[263/422] Compiling mul.c
[264/422] Compiling montgomery.c
[265/422] Compiling gcd_extra.c
[266/422] Compiling div_extra.c
[267/422] Compiling gcd.c
[268/422] Compiling exponentiation.c
[269/422] Compiling p256.c
[270/422] Compiling generic.c
[271/422] Compiling div.c
[272/422] Compiling ctx.c
[273/422] Compiling x86_64-gcc.c
[274/422] Compiling add.c
[275/422] Compiling cmp.c
[276/422] Compiling bytes.c
[277/422] Compiling bn-armv8-linux.linux.aarch64.S
[278/422] Compiling bn-586-windows.windows.x86.S
[279/422] Compiling armv8-mont-linux.linux.aarch64.S
[280/422] Compiling bn-armv8-ios.ios.aarch64.S
[281/422] Compiling bn-586-linux.linux.x86.S
[282/422] Compiling bn.c
[283/422] Compiling armv8-mont-ios.ios.aarch64.S
[284/422] Compiling armv4-mont-linux.linux.arm.S
[285/422] Compiling aesv8-gcm-armv8-linux.linux.aarch64.S
[286/422] Compiling aesv8-gcm-armv8-ios.ios.aarch64.S
[287/422] Compiling aesv8-armv8-linux.linux.aarch64.S
[288/422] Compiling aesv8-armv7-ios.ios.arm.S
[289/422] Compiling armv4-mont-ios.ios.arm.S
[290/422] Compiling aesv8-armv7-linux.linux.arm.S
[291/422] Compiling aesv8-armv8-ios.ios.aarch64.S
[292/422] Compiling aesni-x86_64-mac.mac.x86_64.S
[293/422] Compiling aesni-x86-linux.linux.x86.S
[294/422] Compiling aesni-x86-windows.windows.x86.S
[295/422] Compiling aesni-x86_64-linux.linux.x86_64.S
[296/422] Compiling aesni-gcm-x86_64-mac.mac.x86_64.S
[297/422] Compiling aesni-gcm-x86_64-linux.linux.x86_64.S
[298/422] Compiling key_wrap.c
[299/422] Compiling mode_wrappers.c
[300/422] Compiling ex_data.c
[301/422] Compiling aes.c
[302/422] Compiling sign.c
[303/422] Compiling pbkdf.c
[304/422] Compiling print.c
[305/422] Compiling scrypt.c
[306/422] Compiling aes_nohw.c
[307/422] Compiling p_x25519.c
[307/422] Compiling p_x25519_asn1.c
[309/422] Compiling p_rsa_asn1.c
[310/422] Compiling p_ed25519.c
[311/422] Compiling p_hkdf.c
[312/422] Compiling p_ec_asn1.c
[313/422] Compiling p_ed25519_asn1.c
[314/422] Compiling p_rsa.c
[315/422] Compiling p_ec.c
[316/422] Compiling err_data.c
[316/422] Compiling evp_ctx.c
[318/422] Compiling p_dsa_asn1.c
[319/422] Compiling engine.c
[320/422] Compiling err.c
[321/422] Compiling ecdsa_asn1.c
[322/422] Compiling evp_asn1.c
[323/422] Compiling evp.c
[324/422] Compiling ec_derive.c
[325/422] Compiling ecdh_extra.c
[326/422] Compiling dsa.c
[327/422] Compiling hash_to_curve.c
[328/422] Compiling dsa_asn1.c
[329/422] Compiling dh_asn1.c
[330/422] Compiling ec_asn1.c
[331/422] Compiling params.c
[332/422] Compiling curve25519_64_adx.c
[333/422] Compiling digest_extra.c
[334/422] Compiling spake25519.c
[335/422] Compiling x25519-asm-arm.S
[336/422] Compiling cpu_arm_freebsd.c
[337/422] Compiling crypto.c
[338/422] Compiling cpu_intel.c
[339/422] Compiling cpu_arm_linux.c
[340/422] Compiling des.c
[341/422] Compiling cpu_aarch64_win.c
[342/422] Compiling cpu_arm.c
[343/422] Compiling cpu_aarch64_linux.c
[344/422] Compiling cpu_aarch64_sysreg.c
[345/422] Compiling curve25519.c
[346/422] Compiling cpu_aarch64_openbsd.c
[347/422] Compiling cpu_aarch64_apple.c
[348/422] Compiling cpu_aarch64_fuchsia.c
[349/422] Compiling conf.c
[350/422] Compiling e_rc2.c
[351/422] Compiling tls_cbc.c
[352/422] Compiling e_rc4.c
[352/422] Compiling e_tls.c
[354/422] Compiling e_chacha20poly1305.c
[355/422] Compiling e_null.c
[356/422] Compiling derive_key.c
[357/422] Compiling e_des.c
[358/422] Compiling e_aesctrhmac.c
[359/422] Compiling cipher_extra.c
[360/422] Compiling e_aesgcmsiv.c
[361/422] Compiling aes128gcmsiv-x86_64-linux.linux.x86_64.S
[362/422] Compiling chacha20_poly1305_armv8-ios.ios.aarch64.S
[363/422] Compiling aes128gcmsiv-x86_64-mac.mac.x86_64.S
[363/422] Compiling chacha20_poly1305_armv8-linux.linux.aarch64.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[366/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
[366/422] Compiling chacha20_poly1305_x86_64-mac.mac.x86_64.S
[367/422] Compiling chacha20_poly1305_x86_64-linux.linux.x86_64.S
[368/422] Compiling chacha-x86_64-linux.linux.x86_64.S
[369/422] Compiling chacha-x86-linux.linux.x86.S
[370/422] Compiling chacha-x86_64-mac.mac.x86_64.S
[371/422] Compiling chacha-x86-windows.windows.x86.S
[373/422] Compiling SwiftRestClient HTTPFormURLEncoded.swift
[374/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()
[374/422] Compiling chacha-armv8-linux.linux.aarch64.S
[375/422] Compiling chacha.c
[376/422] Compiling chacha-armv4-ios.ios.arm.S
[376/422] Compiling chacha-armv4-linux.linux.arm.S
[376/422] Compiling chacha-armv8-ios.ios.aarch64.S
[379/422] Compiling unicode.c
[380/422] Compiling ber.c
[381/422] Compiling asn1_compat.c
[382/422] Compiling buf.c
[383/422] Compiling bn_asn1.c
[384/422] Compiling cbs.c
[385/422] Compiling convert.c
[386/422] Compiling blake2.c
[387/422] Compiling cbb.c
[388/422] Compiling printf.c
[389/422] Compiling errno.c
[390/422] Compiling file.c
[391/422] Compiling hexdump.c
[392/422] Compiling bio_mem.c
[393/422] Compiling fd.c
[394/422] Compiling pair.c
[395/422] Compiling tasn_utl.c
[395/422] Compiling bio.c
[397/422] Compiling tasn_typ.c
[397/422] Compiling tasn_fre.c
[397/422] Compiling base64.c
[400/422] Compiling tasn_new.c
[401/422] Compiling tasn_enc.c
[402/422] Compiling tasn_dec.c
[402/422] Compiling posix_time.c
[402/422] Compiling a_utctm.c
[402/422] Compiling asn1_lib.c
[402/422] Compiling asn1_par.c
[402/422] Compiling a_type.c
[402/422] Compiling asn_pack.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/21] Compiling posix_time.c
[1/21] Compiling asn1_par.c
[2/21] Compiling asn_pack.c
[3/21] Compiling asn1_lib.c
[4/21] Compiling a_time.c
[5/21] Compiling tasn_dec.c
[6/21] Compiling a_utctm.c
[7/21] Compiling a_type.c
[8/21] Compiling a_strnid.c
[9/21] Compiling a_strex.c
[10/21] Compiling a_octet.c
[11/21] Compiling a_mbstr.c
[12/21] Compiling a_i2d_fp.c
[13/21] Compiling a_object.c
[14/21] Compiling a_dup.c
[15/21] Compiling a_int.c
[16/21] Compiling a_d2i_fp.c
[17/21] Compiling a_bool.c
[17/21] Compiling a_gentm.c
[19/21] Write swift-version-24593BA9C3E375BF.txt
[20/21] Compiling a_bitstr.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/27] 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
[23/27] 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()
[24/27] Compiling SwiftRestClient HTTPFormURLEncoded.swift
BUILD FAILURE 6.1 wasm