The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kvitto, reference develop (052ee7), with Swift 6.1 for Wasm on 28 May 2025 00:45:50 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/Cocoanetics/Kvitto.git
Reference: develop
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/Cocoanetics/Kvitto
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 052ee7f Merge pull request #23 from flymg/swiftdemo
Submodule path 'Externals/DTFoundation': checked out 'badc4850c8495201e86b142016aec403e91c5333'
Submodule 'Externals/DTFoundation' (https://github.com/Cocoanetics/DTFoundation.git) registered for path 'Externals/DTFoundation'
Cloning into '/host/spi-builder-workspace/Externals/DTFoundation'...
Cloned https://github.com/Cocoanetics/Kvitto.git
Revision (git rev-parse @):
052ee7ffdb218199188916f92c638e857fe5b1b4
SUCCESS checkout https://github.com/Cocoanetics/Kvitto.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Cocoanetics/Kvitto.git
https://github.com/Cocoanetics/Kvitto.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "dtfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.18",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Cocoanetics/DTFoundation.git"
    }
  ],
  "manifest_display_name" : "Kvitto",
  "name" : "Kvitto",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "Kvitto",
      "targets" : [
        "Kvitto"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KvittoTests",
      "module_type" : "SwiftTarget",
      "name" : "KvittoTests",
      "path" : "Test",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Test/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Source/KvittoTests.swift"
      ],
      "target_dependencies" : [
        "Kvitto"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Kvitto",
      "module_type" : "SwiftTarget",
      "name" : "Kvitto",
      "path" : "Core",
      "product_dependencies" : [
        "DTFoundation"
      ],
      "product_memberships" : [
        "Kvitto"
      ],
      "sources" : [
        "Source/Functions.swift",
        "Source/InAppPurchaseReceipt.swift",
        "Source/PKCS7Container.swift",
        "Source/Receipt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/Cocoanetics/DTFoundation.git
[1/7731] Fetching dtfoundation
Fetched https://github.com/Cocoanetics/DTFoundation.git from cache (0.63s)
Computing version for https://github.com/Cocoanetics/DTFoundation.git
Computed https://github.com/Cocoanetics/DTFoundation.git at 1.7.19 (1.14s)
Creating working copy for https://github.com/Cocoanetics/DTFoundation.git
Working copy of https://github.com/Cocoanetics/DTFoundation.git resolved at 1.7.19
Building for debugging...
[0/72] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTAWS/NSURL+DTAWS.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTAWS/NSURL+DTAWS.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTAsyncFileDeleter/DTAsyncFileDeleter.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTAsyncFileDeleter/DTAsyncFileDeleter.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIView+DTFoundation.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIView+DTFoundation.h:11:9: fatal error: 'Availability.h' file not found
   11 | #import <Availability.h>
      |         ^~~~~~~~~~~~~~~~
1 error generated.
[1/72] Compiling DTAsyncFileDeleter.m
[1/72] Compiling NSURL+DTAWS.m
[1/72] Compiling UIView+DTFoundation.m
[1/72] Compiling UIScreen+DTFoundation.m
[1/72] Compiling UIApplication+DTNetworkActivity.m
[1/72] Compiling UIImage+DTFoundation.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTASN1/DTASN1Parser.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/DTASN1/DTASN1Parser.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/72] Compiling DTASN1Parser.m
[1/72] Write swift-version-24593BA9C3E375BF.txt
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...
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIImage+DTFoundation.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIImage+DTFoundation.h:9:9: fatal error: 'Availability.h' file not found
    9 | #import <Availability.h>
      |         ^~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling UIImage+DTFoundation.m
[0/71] Compiling UIView+DTDebug.m
[0/71] Compiling UIColor+DTDebug.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIApplication+DTNetworkActivity.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIApplication+DTNetworkActivity.h:9:9: fatal error: 'Availability.h' file not found
    9 | #import <Availability.h>
      |         ^~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling UIApplication+DTNetworkActivity.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIScreen+DTFoundation.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIScreen+DTFoundation.h:11:9: fatal error: 'Availability.h' file not found
   11 | #import <Availability.h>
      |         ^~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling UIScreen+DTFoundation.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/DTTiledLayerWithoutFade.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/DTTiledLayerWithoutFade.h:9:9: fatal error: 'Availability.h' file not found
    9 | #import <Availability.h>
      |         ^~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling DTTiledLayerWithoutFade.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIView+DTFoundation.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/UIView+DTFoundation.h:11:9: fatal error: 'Availability.h' file not found
   11 | #import <Availability.h>
      |         ^~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling UIView+DTFoundation.m
In file included from /host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/NSURL+DTAppLinks.m:9:
/host/spi-builder-workspace/.build/checkouts/DTFoundation/Core/Source/iOS/NSURL+DTAppLinks.h:9:9: fatal error: 'Availability.h' file not found
    9 | #import <[0/71] Compiling NSURL+DTAppLinks.m
BUILD FAILURE 6.1 wasm