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, reference master (e17398), with Swift 6.0 for Linux on 1 Nov 2024 11:34:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WilhelmOks/Appetizer.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/WilhelmOks/Appetizer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e173986 Update README.md
Cloned https://github.com/WilhelmOks/Appetizer.git
Revision (git rev-parse @):
e1739866bcc54d55c4a6a80606ada56d492a8112
SUCCESS checkout https://github.com/WilhelmOks/Appetizer.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/WilhelmOks/Appetizer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/WilhelmOks/HexColor.git
[1/97] Fetching hexcolor
[95/141813] Fetching hexcolor, swift-package-manager
Fetched https://github.com/WilhelmOks/HexColor.git from cache (12.25s)
Fetched https://github.com/apple/swift-package-manager.git from cache (12.60s)
Computing version for https://github.com/WilhelmOks/HexColor.git
Computed https://github.com/WilhelmOks/HexColor.git at 1.0.1 (0.79s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.4.0 (3.74s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28305] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (5.39s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (0.81s)
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
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
Building for debugging...
[0/20] Write sources
[8/20] Compiling clibc libc.c
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/27] Emitting module SPMLibc
[12/27] Compiling SPMLibc libc.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/28] Compiling HexColor HexColor.swift
/host/spi-builder-workspace/.build/checkouts/HexColor/Sources/HexColor/HexColor.swift:10:8: error: no such module 'UIKit'
 8 | import AppKit
 9 | #else
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 | #endif
12 |
[14/28] Emitting module HexColor
/host/spi-builder-workspace/.build/checkouts/HexColor/Sources/HexColor/HexColor.swift:10:8: error: no such module 'UIKit'
 8 | import AppKit
 9 | #else
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 | #endif
12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/28] Emitting module AppetizerCore
/host/spi-builder-workspace/Sources/AppetizerCore/Appetizer.swift:8:8: error: no such module 'AppKit'
  6 |
  7 | import Foundation
  8 | import AppKit
    |        `- error: no such module 'AppKit'
  9 | import HexNSColor
 10 |
BUILD FAILURE 6.0 linux