The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIEnvironment with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nonameplum/UIEnvironment.git
Reference: 1.0.0
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/nonameplum/UIEnvironment
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 13b82fc Add github workflows
Cloned https://github.com/nonameplum/UIEnvironment.git
Revision (git rev-parse @):
13b82fc6491b6e2430284e74e4b13b54d9afd317
SUCCESS checkout https://github.com/nonameplum/UIEnvironment.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/nonameplum/UIEnvironment.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] 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/17] 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 UIResponder+EnvironmentValuesWrapper.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 UIResponder+TraverseHierarchy.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[7/19] 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
       ^
[8/19] 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
       ^
[9/19] Compiling UIEnvironment UIEnvironmentValues.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[10/19] Compiling UIEnvironment UIEnvironmentable.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[11/19] Compiling UIEnvironment UIEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[12/19] Compiling UIEnvironment UIEnvironmentUpdating.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[13/19] 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/19] Compiling UIEnvironment TimeZoneEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[15/19] Compiling UIEnvironment UIUserInterfaceStyleEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[16/19] Compiling UIEnvironment UIEnvironment.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)
[17/19] Emitting module UIEnvironment
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[18/19] Compiling UIEnvironment CalendarEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[19/19] 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/16] Emitting module UIEnvironment
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[3/16] Compiling UIEnvironment UIUserInterfaceStyleEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[4/16] Compiling UIEnvironment UIEnvironment.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[5/16] Compiling UIEnvironment SizeCategoryEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[6/16] Compiling UIEnvironment TimeZoneEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[7/16] Compiling UIEnvironment CalendarEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[8/16] Compiling UIEnvironment LocaleEnvironmentKey.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[9/18] 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/18] 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/18] 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
       ^
[12/18] 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
       ^
[13/18] 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
       ^
[14/18] 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
       ^
[15/18] Compiling UIEnvironment UIEnvironmentValues.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[16/18] Compiling UIEnvironment UIEnvironmentable.swift
/host/spi-builder-workspace/Sources/UIEnvironment/Predefined Environment Keys/CalendarEnvironmentKey.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[17/18] 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
       ^
[18/18] 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
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2