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 Appetizer with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/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/WilhelmOks/Appetizer.git
Reference: 1.0.1
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/WilhelmOks/Appetizer
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at a65eb04 changed smp util dependency to exact version
Cloned https://github.com/WilhelmOks/Appetizer.git
Revision (git rev-parse @):
a65eb04101c237566a61abca0cfd499a2461dcc1
SUCCESS checkout https://github.com/WilhelmOks/Appetizer.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/WilhelmOks/Appetizer.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/WilhelmOks/HexColor.git
Fetching https://github.com/apple/swift-package-manager.git
[1/97] Fetching hexcolor
[98/124156] Fetching hexcolor, swift-package-manager
Fetched https://github.com/WilhelmOks/HexColor.git from cache (7.80s)
Fetched https://github.com/apple/swift-package-manager.git from cache (8.03s)
Computing version for https://github.com/WilhelmOks/HexColor.git
Computed https://github.com/WilhelmOks/HexColor.git at 1.0.1 (0.39s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.4.0 (1.19s)
Fetching https://github.com/apple/swift-llbuild.git
[1/22087] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (1.01s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (0.41s)
Creating working copy for https://github.com/WilhelmOks/HexColor.git
Working copy of https://github.com/WilhelmOks/HexColor.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at 0.1.1
Building for debugging...
[0/20] Write sources
[8/20] Compiling clibc libc.c
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/26] Compiling SPMLibc libc.swift
[12/26] Emitting module SPMLibc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/27] Emitting module AppetizerCore
/host/spi-builder-workspace/Sources/AppetizerCore/NSImageExtension.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[14/27] Compiling AppetizerCore NSImageExtension.swift
/host/spi-builder-workspace/Sources/AppetizerCore/NSImageExtension.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/27] Emitting module HexColor
/host/spi-builder-workspace/.build/checkouts/HexColor/Sources/HexColor/HexColor.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/.build/checkouts/HexColor/Sources/HexColor/HexColor.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[0/1] Planning build
Building for debugging...
[0/11] Write swift-version-24593BA9C3E375BF.txt
[2/16] Emitting module SPMLibc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/17] Emitting module AppetizerCore
/host/spi-builder-workspace/Sources/AppetizerCore/NSImageExtension.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[4/17] Compiling AppetizerCore NSImageExtension.swift
/host/spi-builder-workspace/Sources/AppetizerCore/NSImageExtension.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/17] Emitting module HexColor
/host/spi-builder-workspace/.build/checkouts/HexColor/Sources/HexColor/HexColor.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/.build/checkouts/HexColor/Sources/HexColor/HexColor.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
BUILD FAILURE 5.10 linux