This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Subviews with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dreymonde/Subviews.git
Reference: main
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/dreymonde/Subviews
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 50aafba Update README.md
Cloned https://github.com/dreymonde/Subviews.git
Revision (git rev-parse @):
50aafba30a9079b4a11848570e64fc449ed859f3
SUCCESS checkout https://github.com/dreymonde/Subviews.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/dreymonde/Subviews.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling Subviews Extensions.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[4/12] Compiling Subviews Align.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/13] Emitting module Subviews
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[6/13] Compiling Subviews AutoParent.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[7/13] Compiling Subviews AutoSuperview.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[8/13] Compiling Subviews Child.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[9/13] Compiling Subviews Enclosed.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[10/13] Compiling Subviews Subview.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[11/13] Compiling Subviews Stacks.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[12/13] Compiling Subviews Creatable.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/Sema/MiscDiagnostics.cpp:2217: bool swift::diagnoseArgumentLabelError(swift::ASTContext &, const swift::ArgumentList *, ArrayRef<swift::Identifier>, swift::ParameterContext, swift::InFlightDiagnostic *): Assertion `numMissing > 0 || numExtra > 0 || numWrong > 0' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Subviews/AutoParent.swift /host/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift /host/spi-builder-workspace/Sources/Subviews/Child.swift /host/spi-builder-workspace/Sources/Subviews/Enclosed.swift /host/spi-builder-workspace/Sources/Subviews/Extensions.swift /host/spi-builder-workspace/Sources/Subviews/Internal/Align.swift /host/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift /host/spi-builder-workspace/Sources/Subviews/Stacks.swift /host/spi-builder-workspace/Sources/Subviews/Subview.swift -primary-file /host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Subviews.build/ViewLayoutOption.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Subviews.build/ViewLayoutOption.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Subviews -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Subviews.build/ViewLayoutOption.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2.	Compiling with effective version 5.10
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(Subviews.(file).ViewLayoutOption.withSuperview@/host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:43:24)
5.	While type-checking statement at [/host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:43:117 - line:50:5] RangeText="{
        ViewLayoutOption {
            guard let superview = $0.superview else {
                return
            }
            layout($0, superview)
        }
    "
6.	While type-checking statement at [/host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:44:9 - line:49:9] RangeText="ViewLayoutOption {
            guard let superview = $0.superview else {
                return
            }
            layout($0, superview)
        "
7.	While type-checking-target starting at /host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:44:9
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x00005629062ea497
1  swift-frontend 0x00005629062e81ee
2  swift-frontend 0x00005629062eab0a
3  libc.so.6      0x00007f993ec15520
4  libc.so.6      0x00007f993ec699fc pthread_kill + 300
5  libc.so.6      0x00007f993ec15476 raise + 22
6  libc.so.6      0x00007f993ebfb7f3 abort + 211
7  libc.so.6      0x00007f993ebfb71b
8  libc.so.6      0x00007f993ec0ce96
9  swift-frontend 0x0000562900a35868
10 swift-frontend 0x000056290097894d
11 swift-frontend 0x0000562900c738f7
12 swift-frontend 0x0000562900c741e7
13 swift-frontend 0x0000562900aeeeb8
14 swift-frontend 0x0000562900bead19
15 swift-frontend 0x0000562900bea84c
16 swift-frontend 0x0000562900be5de4
17 swift-frontend 0x0000562900bea8fc
18 swift-frontend 0x0000562900be84bc
19 swift-frontend 0x0000562900be7913
20 swift-frontend 0x0000562900be7485
21 swift-frontend 0x00005629011ec492
22 swift-frontend 0x00005629011455b9
23 swift-frontend 0x00005629012ac43b
24 swift-frontend 0x0000562900c35431
25 swift-frontend 0x0000562900c3781b
26 swift-frontend 0x0000562900c35305
27 swift-frontend 0x00005628ff85dc59
28 swift-frontend 0x00005628ff85542a
29 swift-frontend 0x00005628ff8553c7
30 swift-frontend 0x00005628ff542f02
31 swift-frontend 0x00005628ff530177
32 swift-frontend 0x00005628ff52e4fc
33 swift-frontend 0x00005628ff2eadde
34 libc.so.6      0x00007f993ebfcd90
35 libc.so.6      0x00007f993ebfce40 __libc_start_main + 128
36 swift-frontend 0x00005628ff2e9e85
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.