The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build DSFMenuBuilder, reference main (7f8f8e), with Swift 6.1 for Linux on 27 Apr 2025 06:19:03 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFMenuBuilder.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/dagronf/DSFMenuBuilder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7f8f8ee Fixed 5.3 build
Cloned https://github.com/dagronf/DSFMenuBuilder.git
Revision (git rev-parse @):
7f8f8ee0c5fb7ee6c06d057cd5ada0f99e3d3190
SUCCESS checkout https://github.com/dagronf/DSFMenuBuilder.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/DSFMenuBuilder.git
https://github.com/dagronf/DSFMenuBuilder.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFMenuBuilder",
  "name" : "DSFMenuBuilder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "DSFMenuBuilder",
      "targets" : [
        "DSFMenuBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFMenuBuilder-static",
      "targets" : [
        "DSFMenuBuilder"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFMenuBuilder-shared",
      "targets" : [
        "DSFMenuBuilder"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFMenuBuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFMenuBuilderTests",
      "path" : "Tests/DSFMenuBuilderTests",
      "sources" : [
        "DSFMenuBuilderTests.swift"
      ],
      "target_dependencies" : [
        "DSFMenuBuilder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFMenuBuilder",
      "module_type" : "SwiftTarget",
      "name" : "DSFMenuBuilder",
      "path" : "Sources/DSFMenuBuilder",
      "product_memberships" : [
        "DSFMenuBuilder",
        "DSFMenuBuilder-static",
        "DSFMenuBuilder-shared"
      ],
      "sources" : [
        "Menu.swift",
        "MenuStateImage.swift",
        "NSMenu+extensions.swift",
        "menu-item-types/MenuItem.swift",
        "menu-item-types/MenuItemCollection.swift",
        "menu-item-types/SeparatorItem.swift",
        "menu-item-types/ViewItem+NSViewController.swift",
        "menu-item-types/ViewItem.swift",
        "private/AnyMenuItem.swift",
        "private/MenuItemTarget.swift",
        "private/utils/NSMenuItemHighlightableView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/18] Compiling DSFMenuBuilder ViewItem.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[4/19] Compiling DSFMenuBuilder MenuItemTarget.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[5/19] Compiling DSFMenuBuilder NSMenu+extensions.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[6/19] Compiling DSFMenuBuilder MenuItem.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[7/19] Compiling DSFMenuBuilder AnyMenuItem.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/19] Emitting module DSFMenuBuilder
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[9/19] Compiling DSFMenuBuilder Menu.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[10/19] Compiling DSFMenuBuilder MenuStateImage.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[11/19] Compiling DSFMenuBuilder ViewItem+NSViewController.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[12/19] Compiling DSFMenuBuilder MenuItemCollection.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[13/19] Compiling DSFMenuBuilder SeparatorItem.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[14/19] Compiling DSFMenuBuilder NSMenuItemHighlightableView.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/17] Emitting module DSFMenuBuilder
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[3/18] Compiling DSFMenuBuilder NSMenuItemHighlightableView.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[4/18] Compiling DSFMenuBuilder ViewItem+NSViewController.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[5/18] Compiling DSFMenuBuilder MenuItemTarget.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[6/18] Compiling DSFMenuBuilder AnyMenuItem.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[7/18] Compiling DSFMenuBuilder ViewItem.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[8/18] Compiling DSFMenuBuilder Menu.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[9/18] Compiling DSFMenuBuilder MenuStateImage.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[10/18] Compiling DSFMenuBuilder NSMenu+extensions.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[11/18] Compiling DSFMenuBuilder MenuItem.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[12/18] Compiling DSFMenuBuilder MenuItemCollection.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
[13/18] Compiling DSFMenuBuilder SeparatorItem.swift
/host/spi-builder-workspace/Sources/DSFMenuBuilder/Menu.swift:27:8: error: no such module 'AppKit'
 25 | //
 26 |
 27 | import AppKit
    |        `- error: no such module 'AppKit'
 28 |
 29 | /// A representation of a menu
BUILD FAILURE 6.1 linux