The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Appetizer, reference master (e17398), with Swift 6.1 for Wasm on 27 May 2025 21:55:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/WilhelmOks/Appetizer.git
Reference: master
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/WilhelmOks/Appetizer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e173986 Update README.md
Cloned https://github.com/WilhelmOks/Appetizer.git
Revision (git rev-parse @):
e1739866bcc54d55c4a6a80606ada56d492a8112
SUCCESS checkout https://github.com/WilhelmOks/Appetizer.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/WilhelmOks/Appetizer.git
https://github.com/WilhelmOks/Appetizer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-package-manager",
      "requirement" : {
        "exact" : [
          "0.4.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-package-manager.git"
    },
    {
      "identity" : "hexcolor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/WilhelmOks/HexColor.git"
    }
  ],
  "manifest_display_name" : "Appetizer",
  "name" : "Appetizer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "appetizer",
      "targets" : [
        "AppetizerCL"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AppetizerTests",
      "module_type" : "SwiftTarget",
      "name" : "AppetizerTests",
      "path" : "Tests/AppetizerTests",
      "sources" : [
        "SPM_ProjectTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "AppetizerCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppetizerCore",
      "module_type" : "SwiftTarget",
      "name" : "AppetizerCore",
      "path" : "Sources/AppetizerCore",
      "product_memberships" : [
        "appetizer"
      ],
      "sources" : [
        "Appetizer.swift",
        "NSImageExtension.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppetizerCL",
      "module_type" : "SwiftTarget",
      "name" : "AppetizerCL",
      "path" : "Sources/AppetizerCL",
      "product_dependencies" : [
        "SPMUtility",
        "HexNSColor"
      ],
      "product_memberships" : [
        "appetizer"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "AppetizerCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/WilhelmOks/HexColor.git
Fetching https://github.com/apple/swift-package-manager.git
[1/97] Fetching hexcolor
Fetched https://github.com/WilhelmOks/HexColor.git from cache (0.22s)
[1/154391] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (13.25s)
Computing version for https://github.com/WilhelmOks/HexColor.git
Computed https://github.com/WilhelmOks/HexColor.git at 1.0.1 (15.92s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.4.0 (2.42s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28989] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.47s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (3.32s)
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at 0.4.0
Creating working copy for https://github.com/WilhelmOks/HexColor.git
Working copy of https://github.com/WilhelmOks/HexColor.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at 0.1.1
Building for debugging...
[0/20] Write sources
[8/20] Compiling clibc libc.c
[9/20] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/27] Emitting module SPMLibc
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "clibc.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[12/27] Compiling SPMLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "clibc.h"
  |          `- note: in file included from <module-includes>:1:
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/27] Emitting module AppetizerCore
/host/spi-builder-workspace/Sources/AppetizerCore/Appetizer.swift:8:8: error: no such module 'AppKit'
  6 |
  7 | import Foundation
  8 | import AppKit
    |        `- error: no such module 'AppKit'
  9 | import HexNSColor
 10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/27] Emitting module HexColor
/host/spi-builder-workspace/.build/checkouts/HexColor/Sources/HexColor/HexColor.swift:10:8: error: no such module 'UIKit'
 8 | import AppKit
 9 | #else
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 | #endif
12 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/18] Emitting module SPMLibc
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "clibc.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[3/18] Compiling SPMLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "clibc.h"
  |          `- note: in file included from <module-includes>:1:
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/18] Emitting module HexColor
/host/spi-builder-workspace/.build/checkouts/HexColor/Sources/HexColor/HexColor.swift:10:8: error: no such module 'UIKit'
 8 | import AppKit
 9 | #else
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 | #endif
12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/18] Emitting module AppetizerCore
/host/spi-builder-workspace/Sources/AppetizerCore/Appetizer.swift:8:8: error: no such module 'AppKit'
  6 |
  7 | import Foundation
  8 | import AppKit
    |        `- error: no such module 'AppKit'
  9 | import HexNSColor
 10 |
BUILD FAILURE 6.1 wasm