The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ReefCalculator, reference main (518c20), with Swift 6.2 for Wasm on 20 Jun 2025 03:32:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reef-buddy/reef-calculator.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/reef-buddy/reef-calculator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 518c209 Fix test Mg + test
Cloned https://github.com/reef-buddy/reef-calculator.git
Revision (git rev-parse @):
518c20959b9fd5e91e92956928ce2b485a6d9ea0
SUCCESS checkout https://github.com/reef-buddy/reef-calculator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/reef-buddy/reef-calculator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.62s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.38s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Copying Localizable.strings
[4/7] Copying Info.plist
[5/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/49] Compiling ReefCalculator MetricOtherElement.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[9/49] Compiling ReefCalculator MetricPollutantsElement.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[10/49] Compiling ReefCalculator MetricType.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[11/49] Compiling ReefCalculator MetricProtocol.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[12/49] Compiling ReefCalculator MetricValueProtocol.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[13/49] Compiling ReefCalculator CountDroplets.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[14/49] Compiling ReefCalculator FillFlask.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[15/49] Compiling ReefCalculator Shake.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[16/49] Compiling ReefCalculator Spoon.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[17/49] Compiling ReefCalculator Step.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[18/49] Compiling ReefCalculator Syringe.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[19/49] Compiling ReefCalculator Wait.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[20/49] Compiling ReefCalculator RedFieldResult.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[21/49] Compiling ReefCalculator MetricBaseElement.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[22/49] Compiling ReefCalculator MetricMajorElement.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[23/49] Compiling ReefCalculator MetricMinorElement.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[24/49] Compiling ReefCalculator MetricNutrientsElement.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/54] Emitting module ReefCalculator
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[26/54] Compiling ReefCalculator Brand.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[27/54] Compiling ReefCalculator Colombo+Calculate.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[28/54] Compiling ReefCalculator Colombo+Explanation.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[29/54] Compiling ReefCalculator Colombo+Instruction.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[30/54] Compiling ReefCalculator Colombo.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[31/54] Compiling ReefCalculator Hanna+Calculate.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[32/54] Compiling ReefCalculator Hanna+Explanation.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[33/54] Compiling ReefCalculator Hanna+Instruction.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[34/54] Compiling ReefCalculator Hanna.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[35/54] Compiling ReefCalculator JBL+Calculate.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[36/54] Compiling ReefCalculator JBL+Explanation.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[37/54] Compiling ReefCalculator JBL+Instruction.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[38/54] Compiling ReefCalculator UnavailableInstruction.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[39/54] Compiling ReefCalculator ReagentColor.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[40/54] Compiling ReefCalculator StepBuilder.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[41/54] Compiling ReefCalculator Instructions.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[42/54] Compiling ReefCalculator AddReagent.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[43/54] Compiling ReefCalculator AddWater.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[44/54] Compiling ReefCalculator JBL.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[45/54] Compiling ReefCalculator Salifert+Calculate.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[46/54] Compiling ReefCalculator Salifert+Explanation.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[47/54] Compiling ReefCalculator Salifert+Instruction.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[48/54] Compiling ReefCalculator Salifert.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[49/54] Compiling ReefCalculator InvalidMetricType.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[50/54] Compiling ReefCalculator ReefMetricProtocol.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[51/54] Compiling ReefCalculator TankProtocol.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[52/54] Compiling ReefCalculator ReefCalculator.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[53/54] Compiling ReefCalculator LocalizedStringBuilder.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
[54/54] Compiling ReefCalculator resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/ReefCalculator/Brand/Brand.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Representation Brand of product
BUILD FAILURE 6.2 wasm