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 swiftui-flow-navigation, reference main (23f672), with Swift 6.0 for Linux on 31 Mar 2025 00:52:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/magnuskahr/swiftui-flow-navigation.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/magnuskahr/swiftui-flow-navigation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 23f672a Automatically update readme version number on new version tag (#21)
Cloned https://github.com/magnuskahr/swiftui-flow-navigation.git
Revision (git rev-parse @):
23f672a989e808ea4ecbc5eb23e19221b7371b21
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/magnuskahr/swiftui-flow-navigation.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/magnuskahr/swiftui-flow-navigation.git
https://github.com/magnuskahr/swiftui-flow-navigation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-flow-navigation",
  "name" : "swiftui-flow-navigation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "FlowNavigation",
      "targets" : [
        "FlowNavigation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "getting-started",
      "targets" : [
        "getting-started"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "hiding-the-back-button",
      "targets" : [
        "hiding-the-back-button"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "completing-a-flow",
      "targets" : [
        "completing-a-flow"
      ],
      "type" : {
        "snippet" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlowNavigationTests",
      "module_type" : "SwiftTarget",
      "name" : "FlowNavigationTests",
      "path" : "Tests/FlowNavigationTests",
      "sources" : [
        "FlowProxyTests.swift",
        "FlowReaderTests.swift",
        "NavigationPushTests.swift"
      ],
      "target_dependencies" : [
        "FlowNavigation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlowNavigation",
      "module_type" : "SwiftTarget",
      "name" : "FlowNavigation",
      "path" : "Sources/FlowNavigation",
      "product_memberships" : [
        "FlowNavigation",
        "getting-started",
        "hiding-the-back-button",
        "completing-a-flow"
      ],
      "sources" : [
        "Flow.swift",
        "FlowProxy.swift",
        "FlowReader.swift",
        "FlowScreen.swift",
        "FlowScreenContainer.swift",
        "FlowScreenControl.swift",
        "FlowScreenId.swift",
        "FlowScreenProvider.swift",
        "NavigationPush.swift",
        "PassthroughFlowScreenProvider.swift",
        "Views/DefaultFailureFlowView.swift",
        "Views/DefaultUnavailableFlowView.swift",
        "Views/FlowScreenView.swift",
        "Views/LoadingFlowView.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "getting_started",
      "module_type" : "SwiftTarget",
      "name" : "getting-started",
      "path" : "Snippets",
      "product_memberships" : [
        "getting-started"
      ],
      "sources" : [
        "getting-started.swift"
      ],
      "target_dependencies" : [
        "FlowNavigation"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "hiding_the_back_button",
      "module_type" : "SwiftTarget",
      "name" : "hiding-the-back-button",
      "path" : "Snippets",
      "product_memberships" : [
        "hiding-the-back-button"
      ],
      "sources" : [
        "hiding-the-back-button.swift"
      ],
      "target_dependencies" : [
        "FlowNavigation"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "completing_a_flow",
      "module_type" : "SwiftTarget",
      "name" : "completing-a-flow",
      "path" : "Snippets",
      "product_memberships" : [
        "completing-a-flow"
      ],
      "sources" : [
        "completing-a-flow.swift"
      ],
      "target_dependencies" : [
        "FlowNavigation"
      ],
      "type" : "snippet"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/15] Write sources
[4/15] Write swift-version-24593BA9C3E375BF.txt
[6/29] Compiling FlowNavigation FlowScreenId.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[7/29] Compiling FlowNavigation FlowScreenProvider.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[8/30] Compiling FlowNavigation FlowScreenContainer.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[9/30] Compiling FlowNavigation FlowScreenControl.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[10/30] Compiling FlowNavigation LoadingFlowView.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/30] Emitting module FlowNavigation
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[12/30] Compiling FlowNavigation Flow.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[13/30] Compiling FlowNavigation FlowProxy.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[14/30] Compiling FlowNavigation FlowReader.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[15/30] Compiling FlowNavigation FlowScreen.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[16/30] Compiling FlowNavigation FlowScreenView.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[17/30] Compiling FlowNavigation DefaultFailureFlowView.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[18/30] Compiling FlowNavigation DefaultUnavailableFlowView.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[19/30] Compiling FlowNavigation NavigationPush.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[20/30] Compiling FlowNavigation PassthroughFlowScreenProvider.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[0/1] Planning build
Building for debugging...
[0/11] Write swift-version-24593BA9C3E375BF.txt
[2/25] Compiling FlowNavigation FlowScreenContainer.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[3/25] Compiling FlowNavigation FlowScreenControl.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[4/26] Compiling FlowNavigation DefaultFailureFlowView.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[5/26] Compiling FlowNavigation DefaultUnavailableFlowView.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[6/26] Compiling FlowNavigation FlowReader.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[7/26] Compiling FlowNavigation FlowScreen.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[8/26] Compiling FlowNavigation FlowScreenView.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[9/26] Compiling FlowNavigation FlowScreenId.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[10/26] Compiling FlowNavigation FlowScreenProvider.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[11/26] Compiling FlowNavigation NavigationPush.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[12/26] Compiling FlowNavigation PassthroughFlowScreenProvider.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/26] Emitting module FlowNavigation
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[14/26] Compiling FlowNavigation Flow.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[15/26] Compiling FlowNavigation FlowProxy.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
[16/26] Compiling FlowNavigation LoadingFlowView.swift
/host/spi-builder-workspace/Sources/FlowNavigation/Flow.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A view of the **Flow Navigation** system that manages and displays a sequence of screens in a SwiftUI `NavigationStack`.
BUILD FAILURE 6.0 linux