The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppleViewModel, reference main (424cf1), with Swift 6.3 for Wasm on 21 Nov 2026 14:57:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lwj1994/apple_view_model.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/lwj1994/apple_view_model
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 424cf15 chore(release): 0.13.1
Cloned https://github.com/lwj1994/apple_view_model.git
Revision (git rev-parse @):
424cf155c9efe3b392788ccd89d4101dcde98ad7
SUCCESS checkout https://github.com/lwj1994/apple_view_model.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/lwj1994/apple_view_model.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/82267] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.69s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (3.67s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
[1/1] Compiling plugin AppleViewModelLintFix
[2/2] Compiling plugin AppleViewModelLint
[3/3] Compiling plugin AppleViewModelDependencyCheck
Building for debugging...
[3/55] Write sources
[26/55] Compiling _SwiftSyntaxCShims PlatformMutex.c
[28/55] Write swift-version-24593BA9C3E375BF.txt
[30/71] Emitting module SwiftSyntax602
[31/71] Compiling SwiftSyntax601 Empty.swift
[32/71] Emitting module SwiftSyntax601
[34/72] Compiling SwiftSyntax601 Empty.swift
[35/73] Compiling SwiftSyntax603 Empty.swift
[36/73] Emitting module SwiftSyntax603
[40/80] Emitting module SwiftSyntax600
[41/80] Compiling SwiftSyntax600 Empty.swift
[43/81] Emitting module SwiftSyntax600
[44/81] Compiling SwiftSyntax603 Empty.swift
[45/81] Emitting module SwiftSyntax603
[46/83] Emitting module SwiftSyntax510
[47/83] Compiling SwiftSyntax510 Empty.swift
[52/91] Emitting module SwiftSyntax509
[53/91] Compiling SwiftSyntax509 Empty.swift
[54/91] Emitting module SwiftSyntax510
[55/91] Compiling SwiftSyntax510 Empty.swift
[56/93] Compiling SwiftSyntax509 Empty.swift
[57/93] Emitting module SwiftSyntax509
[61/124] Compiling SwiftSyntax602 Empty.swift
[61/125] Wrapping AST for SwiftSyntax603 for debugging
[63/125] Compiling SwiftSyntax604 Empty.swift
[64/125] Emitting module SwiftSyntax604
[65/126] Wrapping AST for SwiftSyntax601 for debugging
[66/126] Wrapping AST for SwiftSyntax600 for debugging
[68/126] Wrapping AST for SwiftSyntax510 for debugging
[69/126] Wrapping AST for SwiftSyntax509 for debugging
[70/126] Wrapping AST for SwiftSyntax603 for debugging
[71/126] Wrapping AST for SwiftSyntax602 for debugging
[73/126] Compiling SwiftSyntax604 Empty.swift
[74/126] Emitting module SwiftSyntax604
[74/127] Wrapping AST for SwiftSyntax601 for debugging
[75/127] Wrapping AST for SwiftSyntax604 for debugging
[76/127] Wrapping AST for SwiftSyntax510 for debugging
[77/127] Wrapping AST for SwiftSyntax600 for debugging
[78/127] Wrapping AST for SwiftSyntax509 for debugging
[80/127] Wrapping AST for SwiftSyntax604 for debugging
[82/127] Compiling SwiftSyntax602 Empty.swift
[83/127] Emitting module SwiftSyntax602
[84/192] Wrapping AST for SwiftSyntax602 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[86/256] Emitting module AppleViewModel
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[87/260] Compiling AppleViewModel StateViewModelValueWatcher.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[88/260] Compiling AppleViewModel WatchViewModel.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[89/260] Compiling AppleViewModel NSObject+ViewModel.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[90/260] Compiling AppleViewModel UIViewController+ViewModel.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[91/260] Compiling SwiftSyntax AbsolutePosition.swift
[92/260] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[93/260] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[94/260] Compiling SwiftSyntax Assert.swift
[95/260] Compiling SwiftSyntax BumpPtrAllocator.swift
[96/260] Compiling SwiftSyntax CommonAncestor.swift
[97/260] Compiling SwiftSyntax Convenience.swift
[98/260] Compiling SwiftSyntax CustomTraits.swift
[99/260] Compiling SwiftSyntax EditorPlaceholder.swift
[109/276] Compiling SwiftSyntax SyntaxHashable.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[110/276] Compiling SwiftSyntax SyntaxIdentifier.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[111/276] Compiling SwiftSyntax Identifier.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[112/276] Compiling SwiftSyntax MemoryLayout.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[113/276] Compiling SwiftSyntax MissingNodeInitializers.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[119/276] Compiling SwiftSyntax RawSyntaxNodesC.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[120/276] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[121/276] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[122/276] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[123/276] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[124/276] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[125/276] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[126/276] Compiling SwiftSyntax SyntaxCollection.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[131/276] Compiling SwiftSyntax TokenKind.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[132/276] Compiling SwiftSyntax Tokens.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[133/276] Compiling SwiftSyntax TriviaPieces.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[134/276] Compiling SwiftSyntax RawSyntaxNodesAB.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[135/276] Compiling SwiftSyntax SyntaxKind.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[136/276] Compiling SwiftSyntax SyntaxRewriter.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[137/276] Compiling SwiftSyntax SyntaxTraits.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[138/276] Compiling SwiftSyntax SyntaxVisitor.swift
/host/spi-builder-workspace/Sources/AppleViewModel/Core/Config.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Global configuration for the ViewModel system.
[139/276] Compiling SwiftSyntax RawSyntaxNodesD.swift
[140/276] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[141/276] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[142/276] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[143/276] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[144/276] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[145/276] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[146/276] Compiling SwiftSyntax RawSyntaxValidation.swift
[147/276] Compiling SwiftSyntax SyntaxNodesAB.swift
BUILD FAILURE 6.3 wasm