The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Serpent with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 212d6d2 Update README.md
Cloned https://github.com/ml-archive/Serpent.git
Revision (git rev-parse @):
212d6d237670cdba48489c27bc67a89da3cbb9b4
SUCCESS checkout https://github.com/ml-archive/Serpent.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ml-archive/Serpent.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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/Models/CustomOperatorsTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/ArrayTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/NetworkModelBad.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Models/SerializableEntityTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/NestedArrayTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Models/DecodableTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Info.plist
    /host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/ArrayTestOneObject.json
    /host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/Empty.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Models/HexInitializableTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Models/PerformanceSmallTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/NetworkModel.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Models/PerformanceTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Models/PrimitivesTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/TestEndpoint/BadArrayTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Models/SimpleModel.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Models/StringInitializableTest.json
    /host/spi-builder-workspace/Serpent/SerpentTests/Models/EnumsTest.json
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling Serpent Operator.swift
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
        import UIKit
               ^
[4/7] Compiling Serpent Serpent.swift
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
        import UIKit
               ^
[5/7] Compiling Serpent Extensions.swift
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
        import UIKit
               ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module Serpent
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
        import UIKit
               ^
[7/7] Compiling Serpent BridgingBox.swift
/host/spi-builder-workspace/Sources/Serpent/Extensions.swift:56:9: error: no such module 'UIKit'
        import UIKit
               ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1