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 GestureButton, reference main (6c8ccc), with Swift 6.0 for Linux on 17 Apr 2025 17:51:50 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/danielsaidi/GestureButton.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/danielsaidi/GestureButton
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6c8ccc1 Add new max long press drag distance configuration
Cloned https://github.com/danielsaidi/GestureButton.git
Revision (git rev-parse @):
6c8ccc14737445f6ebfc21445b06aa5f3becf38c
SUCCESS checkout https://github.com/danielsaidi/GestureButton.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/danielsaidi/GestureButton.git
https://github.com/danielsaidi/GestureButton.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GestureButton",
  "name" : "GestureButton",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "GestureButton",
      "targets" : [
        "GestureButton"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GestureButtonTests",
      "module_type" : "SwiftTarget",
      "name" : "GestureButtonTests",
      "path" : "Tests/GestureButtonTests",
      "sources" : [
        "GestureButtonTests.swift"
      ],
      "target_dependencies" : [
        "GestureButton"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GestureButton",
      "module_type" : "SwiftTarget",
      "name" : "GestureButton",
      "path" : "Sources/GestureButton",
      "product_memberships" : [
        "GestureButton"
      ],
      "sources" : [
        "GestureButton.swift",
        "GestureButtonConfiguration.swift",
        "GestureButtonPreview.swift",
        "GestureButtonScrollState.swift",
        "GestureButtonState.swift",
        "GestureButtonTimer.swift",
        "ScrollViewGestureButton.swift",
        "_Deprecations/GestureButton+Deprecated.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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Emitting module GestureButton
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[4/10] Compiling GestureButton GestureButton.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[5/11] Compiling GestureButton GestureButton+Deprecated.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[6/11] Compiling GestureButton GestureButtonTimer.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[7/11] Compiling GestureButton ScrollViewGestureButton.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[8/11] Compiling GestureButton GestureButtonState.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[9/11] Compiling GestureButton GestureButtonConfiguration.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[10/11] Compiling GestureButton GestureButtonPreview.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[11/11] Compiling GestureButton GestureButtonScrollState.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling GestureButton GestureButtonScrollState.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[3/10] Compiling GestureButton GestureButtonState.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[4/10] Compiling GestureButton GestureButtonTimer.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[5/10] Compiling GestureButton ScrollViewGestureButton.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[6/10] Compiling GestureButton GestureButtonPreview.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module GestureButton
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[8/10] Compiling GestureButton GestureButton.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[9/10] Compiling GestureButton GestureButtonConfiguration.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
[10/10] Compiling GestureButton GestureButton+Deprecated.swift
/host/spi-builder-workspace/Sources/GestureButton/GestureButtonConfiguration.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | /// This configuration can be used to setup a gesture button.
BUILD FAILURE 6.0 linux