The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Snappable with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hugehoge/Snappable.git
Reference: 0.3.0
Cloned https://github.com/hugehoge/Snappable.git into spi-builder-workspace
SUCCESS checkout https://github.com/hugehoge/Snappable.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" 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 Snappable
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[2/19] Compiling Snappable DecelerationRate.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[3/19] Compiling Snappable SnapAlignment.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[4/19] Compiling Snappable DraggingDetector.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[5/19] Compiling Snappable CoordinateSpaceNameEnvironmentKey.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[6/19] Compiling Snappable SnapAlignmentEnvironmentKey.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[7/19] Compiling Snappable SnapID.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[8/19] Compiling Snappable SnapTiming.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[9/19] Compiling Snappable SnapIDModifier.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[10/19] Compiling Snappable SnappableModifier.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[11/19] Compiling Snappable Introspect.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[12/19] Compiling Snappable UIKitIntrospectionView.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[13/19] Compiling Snappable CGPoint+Distance.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[14/19] Compiling Snappable SnapAlignment+Convert.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[15/19] Compiling Snappable SnapAnchorPreferenceKey.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[16/19] Compiling Snappable ViewExtensions.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[17/19] Compiling Snappable ScrollView+SnappableModifier.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[18/19] Compiling Snappable SnapMode.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[19/19] Compiling Snappable View+SnappableIDModifier.swift
/host/spi-builder-workspace/Sources/Internal/DraggingDetector.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2