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 ImageFetcher, reference main (d81dde), with Swift 6.1 for Wasm on 29 May 2025 14:21:24 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mobelux/ImageFetcher.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/Mobelux/ImageFetcher
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d81dde6 Fix cache key (#29)
Cloned https://github.com/Mobelux/ImageFetcher.git
Revision (git rev-parse @):
d81dde6825b39bc4a2f9ad0a149c92fa954ce5f1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Mobelux/ImageFetcher.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Mobelux/ImageFetcher.git
https://github.com/Mobelux/ImageFetcher.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "diskcache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Mobelux/DiskCache.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "ImageFetcher",
  "name" : "ImageFetcher",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "ImageFetcher",
      "targets" : [
        "ImageFetcher"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImageFetcherTests",
      "module_type" : "SwiftTarget",
      "name" : "ImageFetcherTests",
      "path" : "Tests/ImageFetcherTests",
      "sources" : [
        "Helpers/Counter.swift",
        "Helpers/Extensions/Color+Utils.swift",
        "Helpers/Extensions/Networking+Mock.swift",
        "Helpers/Extensions/XCTestCase+Utils.swift",
        "Helpers/Mock.swift",
        "Helpers/MockCache.swift",
        "Helpers/MockImageProcessor.swift",
        "ImageFetcherTests.swift",
        "ImageProcessorTests.swift"
      ],
      "target_dependencies" : [
        "ImageFetcher"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ImageFetcher",
      "module_type" : "SwiftTarget",
      "name" : "ImageFetcher",
      "path" : "Sources/ImageFetcher",
      "product_dependencies" : [
        "DiskCache",
        "Crypto"
      ],
      "product_memberships" : [
        "ImageFetcher"
      ],
      "sources" : [
        "Exports.swift",
        "Extensions/CGSize+Hashable.swift",
        "Extensions/Error+Utils.swift",
        "Extensions/Image+Utils.swift",
        "Extensions/String+md5.swift",
        "Extensions/URLSessionConfiguration+cacheless.swift",
        "Image.swift",
        "ImageConfiguration.swift",
        "ImageError.swift",
        "ImageFetcher.swift",
        "ImageProcessor.swift",
        "ImageSource.swift",
        "Networking.swift",
        "Protocols/ImageFetching.swift",
        "Protocols/ImageProcessing.swift",
        "Protocols/Keyable.swift",
        "Protocols/Queue.swift",
        "TaskManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Mobelux/DiskCache.git
Fetching https://github.com/apple/swift-crypto.git
[1/335] Fetching diskcache
[209/14271] Fetching diskcache, swift-crypto
Fetched https://github.com/Mobelux/DiskCache.git from cache (2.33s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.36s)
Computing version for https://github.com/Mobelux/DiskCache.git
Computed https://github.com/Mobelux/DiskCache.git at 2.2.0 (4.11s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.23s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.91s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.76s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/Mobelux/DiskCache.git
Working copy of https://github.com/Mobelux/DiskCache.git resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Building for debugging...
[0/365] Write sources
[3/365] Compiling md5-586-linux.S
[4/365] Write sources
[5/365] Compiling chacha-x86-apple.S
[6/365] Compiling chacha-x86-linux.S
[7/365] Compiling chacha-x86_64-apple.S
[8/365] Compiling md5-x86_64-apple.S
[9/365] Compiling chacha-x86_64-linux.S
[10/365] Compiling fiat_p256_adx_sqr.S
[11/365] Compiling fiat_curve25519_adx_square.S
[12/365] Compiling fiat_curve25519_adx_mul.S
[13/365] Compiling md5-x86_64-linux.S
[14/365] Compiling fiat_p256_adx_mul.S
[15/365] Compiling md5-586-apple.S
[16/365] Compiling chacha20_poly1305_x86_64-linux.S
[17/365] Compiling chacha20_poly1305_armv8-linux.S
[18/365] Compiling chacha20_poly1305_armv8-win.S
[19/365] Compiling chacha20_poly1305_x86_64-apple.S
[20/365] Compiling chacha-armv8-win.S
[21/365] Compiling chacha-armv8-linux.S
[22/365] Compiling chacha20_poly1305_armv8-apple.S
[23/365] Compiling chacha-armv8-apple.S
[24/365] Compiling chacha-armv4-linux.S
[25/365] Compiling aes128gcmsiv-x86_64-linux.S
[26/365] Compiling aes128gcmsiv-x86_64-apple.S
[27/365] Compiling x86_64-mont5-linux.S
[28/365] Compiling x86_64-mont5-apple.S
[29/365] Compiling x86_64-mont-linux.S
[30/365] Compiling x86-mont-linux.S
[31/365] Compiling x86_64-mont-apple.S
[32/365] Compiling x86-mont-apple.S
[33/365] Compiling CCryptoBoringSSLShims shims.c
[34/365] Compiling vpaes-x86_64-linux.S
[35/365] Compiling vpaes-x86_64-apple.S
[36/365] Compiling vpaes-x86-linux.S
[37/365] Compiling vpaes-x86-apple.S
[38/365] Compiling a_dup.cc
[39/365] Write swift-version-24593BA9C3E375BF.txt
[40/365] Compiling vpaes-armv8-apple.S
[41/365] Compiling vpaes-armv8-win.S
[42/365] Compiling sha512-x86_64-linux.S
[43/365] Compiling vpaes-armv7-linux.S
[44/365] Compiling vpaes-armv8-linux.S
[45/365] Compiling sha512-x86_64-apple.S
[46/365] Compiling sha512-armv8-linux.S
[47/365] Compiling sha512-armv8-win.S
[48/365] Compiling sha512-586-linux.S
[49/365] Compiling sha512-armv8-apple.S
[50/365] Compiling sha512-armv4-linux.S
[51/365] Compiling err_data.cc
[52/370] Compiling sha256-x86_64-linux.S
[53/370] Compiling sha256-x86_64-apple.S
[54/370] Compiling sha256-armv8-win.S
[55/370] Compiling sha512-586-apple.S
[56/370] Compiling sha256-armv4-linux.S
[57/370] Compiling sha256-armv8-linux.S
[58/370] Compiling sha256-586-linux.S
[59/370] Compiling sha256-armv8-apple.S
[60/370] Compiling sha1-x86_64-linux.S
[61/370] Compiling sha256-586-apple.S
[62/370] Compiling sha1-x86_64-apple.S
[63/370] Compiling sha1-armv8-linux.S
[64/370] Compiling sha1-armv8-win.S
[65/370] Compiling sha1-armv4-large-linux.S
[66/370] Compiling sha1-586-linux.S
[67/370] Compiling sha1-armv8-apple.S
[68/370] Compiling sha1-586-apple.S
[69/370] Compiling rdrand-x86_64-linux.S
[70/370] Compiling rsaz-avx2-apple.S
[71/370] Compiling rsaz-avx2-linux.S
[72/370] Compiling rdrand-x86_64-apple.S
[73/370] Compiling p256_beeu-x86_64-asm-apple.S
[74/370] Compiling p256_beeu-x86_64-asm-linux.S
[75/370] Compiling p256_beeu-armv8-asm-linux.S
[76/370] Compiling p256_beeu-armv8-asm-apple.S
[77/370] Compiling p256_beeu-armv8-asm-win.S
[78/370] Compiling p256-x86_64-asm-linux.S
[79/370] Compiling p256-x86_64-asm-apple.S
[79/370] Compiling ghashv8-armv8-win.S
[81/370] Compiling p256-armv8-asm-apple.S
[81/370] Compiling ghashv8-armv8-linux.S
[81/370] Compiling p256-armv8-asm-linux.S
[84/370] Compiling p256-armv8-asm-win.S
[85/370] Compiling ghashv8-armv8-apple.S
[86/370] Compiling ghashv8-armv7-linux.S
[87/370] Compiling ghash-x86_64-apple.S
[88/370] Compiling ghash-ssse3-x86_64-linux.S
[89/370] Compiling ghash-x86-apple.S
[89/370] Compiling ghash-x86_64-linux.S
[91/370] Compiling ghash-ssse3-x86_64-apple.S
[91/370] Compiling ghash-x86-linux.S
[93/370] Compiling ghash-ssse3-x86-linux.S
[94/370] Compiling ghash-ssse3-x86-apple.S
[95/370] Compiling ghash-neon-armv8-win.S
[96/370] Compiling ghash-neon-armv8-apple.S
[97/370] Compiling ghash-armv4-linux.S
[98/370] Compiling ghash-neon-armv8-linux.S
[99/370] Compiling co-586-apple.S
[100/370] Compiling co-586-linux.S
[101/370] Compiling bsaes-armv7-linux.S
[102/370] Compiling bn-armv8-win.S
[103/370] Compiling bn-586-linux.S
[104/370] Compiling bn-armv8-linux.S
[105/370] Compiling bn-armv8-apple.S
[106/370] Compiling armv8-mont-win.S
[107/370] Compiling bn-586-apple.S
[108/370] Compiling armv8-mont-linux.S
[109/370] Compiling armv8-mont-apple.S
[110/370] Compiling armv4-mont-linux.S
[111/370] Compiling aesv8-gcm-armv8-linux.S
[112/370] Compiling aesv8-gcm-armv8-win.S
[113/370] Compiling aesv8-gcm-armv8-apple.S
[114/370] Compiling aesv8-armv8-win.S
[115/370] Compiling aesv8-armv8-linux.S
[116/370] Compiling aesv8-armv8-apple.S
[117/370] Compiling aesv8-armv7-linux.S
[118/370] Compiling aesni-x86_64-linux.S
[119/370] Compiling aesni-x86_64-apple.S
[120/370] Compiling aesni-x86-linux.S
[121/370] Compiling aesni-x86-apple.S
[122/370] Compiling aesni-gcm-x86_64-linux.S
[123/370] Compiling aes-gcm-avx10-x86_64-linux.S
[124/370] Compiling aesni-gcm-x86_64-apple.S
[124/370] Compiling aes-gcm-avx10-x86_64-apple.S
[126/370] Compiling x_x509a.cc
[127/370] Compiling x_val.cc
[128/370] Compiling x_spki.cc
[129/370] Compiling x_sig.cc
[130/370] Compiling x_x509.cc
[131/370] Compiling x_req.cc
[132/370] Compiling x_pubkey.cc
[133/370] Compiling x_name.cc
[134/370] Compiling x_exten.cc
[135/370] Compiling x_crl.cc
[136/370] Compiling x_all.cc
[138/370] Compiling DiskCache SubDirectory.swift
[139/370] Compiling DiskCache StorageType.swift
[140/370] Compiling DiskCache DiskCache.swift
/host/spi-builder-workspace/.build/checkouts/DiskCache/Sources/DiskCache/DiskCache.swift:142:26: error: value of type 'FileManager' has no member 'containerURL'
140 |             case let .shared(appGroupID, _):
141 |                 guard let sharedPath = FileManager.default
142 |                         .containerURL(forSecurityApplicationGroupIdentifier: appGroupID)
    |                          `- error: value of type 'FileManager' has no member 'containerURL'
143 |                 else {
144 |                     fatalError("\(#function) Fatal: Cannot get shared directory.")
[140/370] Compiling x_algor.cc
[141/370] Compiling x_attrib.cc
[143/370] Compiling DiskCache Cache.swift
[144/370] Emitting module DiskCache
[144/370] Compiling x509spki.cc
[144/370] Compiling x509_vpm.cc
[144/370] Compiling x509_vfy.cc
[144/370] Compiling x509cset.cc
[144/370] Compiling x509_v3.cc
[144/370] Compiling x509rset.cc
[144/370] Compiling x509name.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/227] Compiling x509_txt.cc
[1/227] Compiling x509cset.cc
[2/227] Compiling x509_v3.cc
[3/227] Compiling x509name.cc
[4/227] Compiling x509spki.cc
[5/227] Compiling x509rset.cc
[6/227] Compiling x509_vpm.cc
[7/227] Compiling x509_vfy.cc
[8/227] Write swift-version-24593BA9C3E375BF.txt
[9/227] Compiling x509_trs.cc
[10/227] Compiling x509_set.cc
[11/227] Compiling x509_obj.cc
[12/227] Compiling x509_req.cc
[13/227] Compiling x509_def.cc
[14/229] Compiling x509_ext.cc
[15/230] Compiling x509_lu.cc
[16/231] Compiling x509_d2.cc
[18/232] Compiling DiskCache Cache.swift
[19/232] Emitting module DiskCache
[20/232] Compiling DiskCache StorageType.swift
[21/232] Compiling DiskCache SubDirectory.swift
[22/232] Compiling DiskCache DiskCache.swift
/host/spi-builder-workspace/.build/checkouts/DiskCache/Sources/DiskCache/DiskCache.swift:142:26: error: value of type 'FileManager' has no member 'containerURL'
140 |             case let .shared(appGroupID, _):
141 |                 guard let sharedPath = FileManager.default
142 |                         .containerURL(forSecurityApplicationGroupIdentifier: appGroupID)
    |                          `- error: value of type 'FileManager' has no member 'containerURL'
143 |                 else {
144 |                     fatalError("\(#function) Fatal: Cannot get shared directory.")
[22/232] Compiling x509_cmp.cc
[23/232] Compiling v3_pmaps.cc
[23/232] Compiling v3_utl.cc
[23/232] Compiling v3_prn.cc
[23/232] Compiling v3_purp.cc
[23/232] Compiling v3_skey.cc
[23/232] Compiling x509.cc
[23/232] Compiling x509_att.cc
BUILD FAILURE 6.1 wasm