Build Information
Failed to build Serpent 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 --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-archive/Serpent.git
Reference: 2.0.3
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/ml-archive/Serpent
* tag 2.0.3 -> FETCH_HEAD
HEAD is now at 31abec1 Merge pull request #173 from nodes-ios/feature/update-podspec
Cloned https://github.com/ml-archive/Serpent.git
Revision (git rev-parse @):
31abec139e5dd74144c542906eb70d73a3f9f3b0
SUCCESS checkout https://github.com/ml-archive/Serpent.git at 2.0.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/ml-archive/Serpent.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 --triple x86_64-unknown-linux-gnu 2>&1
warning: 'spi-builder-workspace': found 18 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Serpent/SerpentTests/Info.plist
/host/spi-builder-workspace/Serpent/SerpentTests/Models/PrimitivesTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/Models/PerformanceTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/NetworkModel.json
/host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/NestedArrayTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/Models/StringInitializableTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/Models/DecodableTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/Models/CustomOperatorsTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/ArrayTestOneObject.json
/host/spi-builder-workspace/Serpent/SerpentTests/Models/HexInitializableTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/BadArrayTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/Empty.json
/host/spi-builder-workspace/Serpent/SerpentTests/Models/SerializableEntityTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/Models/SimpleModel.json
/host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/ArrayTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/Models/EnumsTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/Models/PerformanceSmallTest.json
/host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/NetworkModelBad.json
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Emitting module Serpent
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
import UIKit
^
[2/5] Compiling Serpent BridgingBox.swift
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
import UIKit
^
[3/5] Compiling Serpent Operator.swift
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
import UIKit
^
[4/5] Compiling Serpent Extensions.swift
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling Serpent Serpent.swift
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux