The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIEnvironment with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/nonameplum/UIEnvironment.git
Reference: 1.0.0
Cloned https://github.com/nonameplum/UIEnvironment.git into spi-builder-workspace
SUCCESS checkout https://github.com/nonameplum/UIEnvironment.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/15] Compiling UIEnvironment UIResponder+EnvironmentValuesWrapper.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[2/15] Compiling UIEnvironment UIResponder+TraverseHierarchy.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[3/15] Compiling UIEnvironment UIApplication+Windows.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[4/15] Compiling UIEnvironment UIResponder+Environment.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[5/17] Compiling UIEnvironment UIView+Traverse.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[6/17] Compiling UIEnvironment UIViewController+Traverse.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[7/17] Compiling UIEnvironment UIEnvironmentValues.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[8/17] Compiling UIEnvironment UIEnvironmentable.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[9/17] Compiling UIEnvironment UIEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[10/17] Compiling UIEnvironment UIEnvironmentUpdating.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[11/17] Compiling UIEnvironment UIUserInterfaceStyleEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[12/17] Compiling UIEnvironment UIEnvironment.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[13/17] Compiling UIEnvironment SizeCategoryEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[14/17] Compiling UIEnvironment TimeZoneEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/17] Emitting module UIEnvironment
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[16/17] Compiling UIEnvironment CalendarEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[17/17] Compiling UIEnvironment LocaleEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1