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 adaptive-modal with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yoshiysh/adaptive-modal.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/yoshiysh/adaptive-modal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 11835ef Remove coordinator.
Cloned https://github.com/yoshiysh/adaptive-modal.git
Revision (git rev-parse @):
11835ef36323b755ab007bdd5d627cfbe273ce95
SUCCESS checkout https://github.com/yoshiysh/adaptive-modal.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/yoshiysh/adaptive-modal.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/17] Emitting module AdaptiveModal
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/19] Compiling AdaptiveModal Binding.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/19] Compiling AdaptiveModal ModalBackgroundColor.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/19] Compiling AdaptiveModal ContentHeightViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/19] Compiling AdaptiveModal DraggableBackgroundViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/19] Compiling AdaptiveModal AdaptiveModalViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/19] Compiling AdaptiveModal AnimationCompletionObserverModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/19] Compiling AdaptiveModal ModalRepresentable.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/19] Compiling AdaptiveModal RoundedRectangleShape.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/19] Compiling AdaptiveModal ModalDraggableDisabled.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/19] Compiling AdaptiveModal ModalInteractiveDismissDisabled.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/19] Compiling AdaptiveModal ModalViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/19] Compiling AdaptiveModal UpperRoundedRectangleViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/19] Compiling AdaptiveModal ModalPresentationController.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/19] Compiling AdaptiveModal ModalViewController.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/19] Compiling AdaptiveModal ModalPresentedKey.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/19] Compiling AdaptiveModal AdaptiveModal.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/19] Compiling AdaptiveModal ModalContent.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[19/19] Compiling AdaptiveModal ModalHostingController.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/17] Compiling AdaptiveModal ModalDraggableDisabled.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/17] Compiling AdaptiveModal ModalInteractiveDismissDisabled.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/17] Compiling AdaptiveModal ContentHeightViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/17] Compiling AdaptiveModal DraggableBackgroundViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/17] Compiling AdaptiveModal Binding.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/17] Compiling AdaptiveModal ModalBackgroundColor.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/17] Compiling AdaptiveModal ModalRepresentable.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/17] Compiling AdaptiveModal RoundedRectangleShape.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/17] Compiling AdaptiveModal AdaptiveModalViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/17] Compiling AdaptiveModal AnimationCompletionObserverModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/17] Compiling AdaptiveModal ModalPresentationController.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/17] Compiling AdaptiveModal ModalViewController.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/17] Compiling AdaptiveModal ModalPresentedKey.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/19] Emitting module AdaptiveModal
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/19] Compiling AdaptiveModal AdaptiveModal.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/19] Compiling AdaptiveModal ModalContent.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/19] Compiling AdaptiveModal ModalHostingController.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/19] Compiling AdaptiveModal ModalViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[19/19] Compiling AdaptiveModal UpperRoundedRectangleViewModifier.swift
/host/spi-builder-workspace/Sources/AdaptiveModal/AdaptiveModal.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.9 linux