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 WarpShader, reference main (ac2a99), with Swift 6.0 for Linux on 15 Feb 2025 21:29:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mcritz/WarpShader.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/mcritz/WarpShader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ac2a995 improves README
Cloned https://github.com/mcritz/WarpShader.git
Revision (git rev-parse @):
ac2a9952aeb179a61fe01a635f27f14496752c81
SUCCESS checkout https://github.com/mcritz/WarpShader.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mcritz/WarpShader.git
https://github.com/mcritz/WarpShader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WarpShader",
  "name" : "WarpShader",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "WarpShader",
      "targets" : [
        "WarpShader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WarpShaderExample",
      "targets" : [
        "WarpShaderExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WarpShaderExample",
      "module_type" : "SwiftTarget",
      "name" : "WarpShaderExample",
      "path" : "Sources/WarpShaderExample",
      "product_memberships" : [
        "WarpShaderExample"
      ],
      "sources" : [
        "WarpShaderExample/ContentView.swift",
        "WarpShaderExample/WarpShaderApp.swift"
      ],
      "target_dependencies" : [
        "WarpShader"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "WarpShader",
      "module_type" : "SwiftTarget",
      "name" : "WarpShader",
      "path" : "Sources/WarpShader",
      "product_memberships" : [
        "WarpShader",
        "WarpShaderExample"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/WarpShader/Shaders.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ShaderFunction+StarWarp.swift",
        "Warp.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/WarpShaderExample/WarpShaderExample/WarpShader.entitlements
    /host/spi-builder-workspace/Sources/WarpShaderExample/WarpShaderExample/Assets.xcassets
    /host/spi-builder-workspace/Sources/WarpShaderExample/WarpShaderExample/Preview Content/Preview Assets.xcassets
Building for debugging...
[0/8] Write sources
[2/8] Copying Shaders.metal
[3/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] Emitting module WarpShader
/host/spi-builder-workspace/Sources/WarpShader/ShaderFunction+StarWarp.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 | import Metal
 3 |
[6/12] Compiling WarpShader ShaderFunction+StarWarp.swift
/host/spi-builder-workspace/Sources/WarpShader/ShaderFunction+StarWarp.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 | import Metal
 3 |
[7/12] Compiling WarpShader resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WarpShader/ShaderFunction+StarWarp.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 | import Metal
 3 |
[8/12] Compiling WarpShader Warp.swift
/host/spi-builder-workspace/Sources/WarpShader/ShaderFunction+StarWarp.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 | import Metal
 3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/WarpShaderExample/WarpShaderExample/Preview Content/Preview Assets.xcassets
    /host/spi-builder-workspace/Sources/WarpShaderExample/WarpShaderExample/Assets.xcassets
    /host/spi-builder-workspace/Sources/WarpShaderExample/WarpShaderExample/WarpShader.entitlements
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] Emitting module WarpShader
/host/spi-builder-workspace/Sources/WarpShader/ShaderFunction+StarWarp.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 | import Metal
 3 |
[3/9] Compiling WarpShader resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WarpShader/ShaderFunction+StarWarp.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 | import Metal
 3 |
[4/9] Compiling WarpShader ShaderFunction+StarWarp.swift
/host/spi-builder-workspace/Sources/WarpShader/ShaderFunction+StarWarp.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 | import Metal
 3 |
[5/9] Compiling WarpShader Warp.swift
/host/spi-builder-workspace/Sources/WarpShader/ShaderFunction+StarWarp.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 | import Metal
 3 |
BUILD FAILURE 6.0 linux