The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LastFM.swift, reference main (ab19b1), with Swift 6.1 for Wasm on 24 Feb 2026 10:53:54 UTC.

Build Command

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