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 Design, reference main (0406c4), with Swift 6.0 for Linux on 3 Dec 2024 12:00:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dl-alexandre/Design.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/dl-alexandre/Design
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0406c41 AddIndex Optional Plurality
Cloned https://github.com/dl-alexandre/Design.git
Revision (git rev-parse @):
0406c414f1e50d99981baac755eadd3e1c38391e
SUCCESS checkout https://github.com/dl-alexandre/Design.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dl-alexandre/Design.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Design",
  "name" : "Design",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Design",
      "targets" : [
        "Design"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DesignTests",
      "module_type" : "SwiftTarget",
      "name" : "DesignTests",
      "path" : "Tests/DesignTests",
      "sources" : [
        "IndexTests.swift"
      ],
      "target_dependencies" : [
        "Design"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Design",
      "module_type" : "SwiftTarget",
      "name" : "Design",
      "path" : "Sources/Design",
      "product_memberships" : [
        "Design"
      ],
      "sources" : [
        "AboutView.swift",
        "AppDelegate.swift",
        "BundleID.swift",
        "Extension+Color.swift",
        "Extension+NSApplication.swift",
        "Extension+View.swift",
        "GrayRectangle.swift",
        "Notification+Copy.swift",
        "Spotlight/AddIndex.swift",
        "Spotlight/RemoveIndex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling Design BundleID.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
[4/12] Compiling Design Extension+Color.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
[5/13] Compiling Design RemoveIndex.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
[6/13] Compiling Design Extension+View.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
[7/13] Compiling Design Notification+Copy.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
[8/13] Compiling Design AddIndex.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
[9/13] Compiling Design GrayRectangle.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
[10/13] Compiling Design Extension+NSApplication.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/13] Emitting module Design
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
[12/13] Compiling Design AboutView.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
[13/13] Compiling Design AppDelegate.swift
/host/spi-builder-workspace/Sources/Design/AboutView.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | #if os(macOS)
BUILD FAILURE 6.0 linux