Build Information
Failed to build DTModelStorage 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/DenTelezhkin/DTModelStorage.git
Reference: main
Cloned https://github.com/DenTelezhkin/DTModelStorage.git into spi-builder-workspace
SUCCESS checkout https://github.com/DenTelezhkin/DTModelStorage.git at main
========================================
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/18] Emitting module DTModelStorage
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[2/20] Compiling DTModelStorage StorageProtocols.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[3/20] Compiling DTModelStorage StorageUpdate.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[4/20] Compiling DTModelStorage UINib+Existance.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[5/20] Compiling DTModelStorage ViewModelMapping.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[6/20] Compiling DTModelStorage SectionModel.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[7/20] Compiling DTModelStorage SectionProtocols.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[8/20] Compiling DTModelStorage SingleSectionDiffing.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[9/20] Compiling DTModelStorage SingleSectionStorage.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[10/20] Compiling DTModelStorage AccumulationStrategy.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[11/20] Compiling DTModelStorage AnomalyHandler.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[12/20] Compiling DTModelStorage BackwardsCompatibility.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[13/20] Compiling DTModelStorage MemoryStorage+UpdateWithoutAnimations.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[14/20] Compiling DTModelStorage MemoryStorage.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[15/20] Compiling DTModelStorage ModelTransfer.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[16/20] Compiling DTModelStorage BaseStorage.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[17/20] Compiling DTModelStorage CoreDataStorage.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[18/20] Compiling DTModelStorage EventReactions.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[19/20] Compiling DTModelStorage RuntimeHelper.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
[20/20] Compiling DTModelStorage Section.swift
/host/spi-builder-workspace/Sources/DTModelStorage/BaseStorage.swift:27:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2