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 Patterns 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/kareman/Patterns.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/kareman/Patterns
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c778b7d Remove any mention of specific Swift version
Cloned https://github.com/kareman/Patterns.git
Revision (git rev-parse @):
c778b7d547c0c9344755ef1916224fd91478bddd
SUCCESS checkout https://github.com/kareman/Patterns.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kareman/Patterns.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
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-se0270-range-set
[1/62] Fetching swift-se0270-range-set
Fetched https://github.com/apple/swift-se0270-range-set from cache (0.25s)
[1/11714] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
Computing version for https://github.com/apple/swift-se0270-range-set
Computed https://github.com/apple/swift-se0270-range-set at 1.0.1 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.0 (0.58s)
Creating working copy for https://github.com/apple/swift-se0270-range-set
Working copy of https://github.com/apple/swift-se0270-range-set resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.0
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/51] Compiling SE0270_RangeSet RangeSetStorage.swift
[7/51] Compiling SE0270_RangeSet Partition.swift
[8/51] Compiling SE0270_RangeSet DiscontiguousSlice.swift
[9/51] Compiling SE0270_RangeSet Pair.swift
[10/51] Compiling SE0270_RangeSet CollectionExtensions.swift
[11/51] Emitting module SE0270_RangeSet
[12/51] Compiling SE0270_RangeSet RangeSet.swift
[13/52] Compiling ArgumentParser Option.swift
[14/52] Compiling ArgumentParser OptionGroup.swift
[15/52] Compiling ArgumentParser CommandConfiguration.swift
[16/52] Compiling ArgumentParser EnumerableFlag.swift
[17/52] Compiling ArgumentParser ExpressibleByArgument.swift
[18/56] Wrapping AST for SE0270_RangeSet for debugging
[20/76] Emitting module ArgumentParser
[21/76] Compiling Patterns Line.swift
[22/76] Compiling Patterns Literal.swift
[23/76] Compiling Patterns OneOf.swift
[24/76] Compiling Patterns Parser.swift
[25/76] Compiling Patterns Pattern And Instruction.swift
[26/76] Compiling Patterns Word.swift
[27/76] Compiling Patterns Decoder.swift
[28/76] Compiling Patterns General.swift
[29/76] Compiling Patterns Group.swift
[30/76] Compiling Patterns Grammar.swift
[31/76] Compiling Patterns Capture.swift
[32/76] Compiling Patterns Choice.swift
[33/76] Compiling Patterns Skip.swift
[34/76] Compiling Patterns Optimise Instructions.swift
[35/76] Compiling ArgumentParser ArgumentDefinition.swift
[38/76] Compiling Patterns Concatenation.swift
[39/76] Compiling Patterns Not.swift
[40/76] Compiling Patterns Repetition.swift
[43/78] Compiling ArgumentParser Name.swift
[44/78] Compiling ArgumentParser Parsed.swift
[45/78] Compiling ArgumentParser ParsedValues.swift
[46/78] Compiling ArgumentParser ParserError.swift
[47/78] Compiling Patterns VMBacktrack.swift
[48/78] Compiling ArgumentParser ArgumentSetSequence.swift
[49/78] Compiling ArgumentParser CommandParser.swift
[50/78] Compiling ArgumentParser InputOrigin.swift
[51/78] Compiling ArgumentParser SplitArguments.swift
[52/78] Compiling ArgumentParser HelpCommand.swift
[53/78] Compiling ArgumentParser HelpGenerator.swift
[54/78] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 27 | ///   will lead to infinite recursion.
 28 | @dynamicMemberLookup
 29 | public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
    |                      `- note: 'Input' previously declared here
 30 | 	/// Calls another subpattern in a grammar.
 31 | 	public struct CallPattern: Pattern {
    :
123 | 	}
124 |
125 | 	public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
    |                         `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
126 | 		lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
127 | 	}
/host/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 27 | ///   will lead to infinite recursion.
 28 | @dynamicMemberLookup
 29 | public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
    |                      `- note: 'Input' previously declared here
 30 | 	/// Calls another subpattern in a grammar.
 31 | 	public struct CallPattern: Pattern {
    :
123 | 	}
124 |
125 | 	public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
    |                         `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
126 | 		lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
127 | 	}
[57/78] Compiling Patterns And.swift
/host/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 27 | ///   will lead to infinite recursion.
 28 | @dynamicMemberLookup
 29 | public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
    |                      `- note: 'Input' previously declared here
 30 | 	/// Calls another subpattern in a grammar.
 31 | 	public struct CallPattern: Pattern {
    :
123 | 	}
124 |
125 | 	public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
    |                         `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
126 | 		lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
127 | 	}
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/AST/Decl.cpp:1819: bool swift::ExtensionDecl::isWrittenWithConstraints() const: Assertion `extReqs.size() == typeReqs.size()' 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/Patterns/Atomic Patterns/Line.swift" "/host/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift" "/host/spi-builder-workspace/Sources/Patterns/Atomic Patterns/OneOf.swift" "/host/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Word.swift" /host/spi-builder-workspace/Sources/Patterns/Decoder.swift /host/spi-builder-workspace/Sources/Patterns/General/General.swift /host/spi-builder-workspace/Sources/Patterns/General/Group.swift /host/spi-builder-workspace/Sources/Patterns/Grammar.swift "/host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/And.swift" -primary-file "/host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/AnyPattern.swift" -primary-file "/host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/Capture.swift" -primary-file "/host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/Choice.swift" "/host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/Concatenation.swift" "/host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/Not.swift" "/host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/Repetition.swift" "/host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/Skip.swift" "/host/spi-builder-workspace/Sources/Patterns/Optimise Instructions.swift" /host/spi-builder-workspace/Sources/Patterns/Parser.swift "/host/spi-builder-workspace/Sources/Patterns/Pattern And Instruction.swift" /host/spi-builder-workspace/Sources/Patterns/Regex.swift /host/spi-builder-workspace/Sources/Patterns/VMBacktrack.swift -supplementary-output-file-map /tmp/TemporaryDirectory.lNFSXn/supplementaryOutputs-4 -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 -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 Patterns -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/Patterns.build/AnyPattern.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Patterns.build/Capture.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Patterns.build/Choice.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 IRGenRequest(IR Generation for file "/host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/AnyPattern.swift")
4.	While emitting IR SIL function "@$s8Patterns10AnyPatternVAASSRszrlE19StringInterpolationV7patternACySSGvg".
 for getter for pattern (at /host/spi-builder-workspace/Sources/Patterns/Operations on Patterns/AnyPattern.swift:69:7)
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 0x0000560e87649497
1  swift-frontend 0x0000560e876471ee
2  swift-frontend 0x0000560e87649b0a
3  libc.so.6      0x00007f86e1809520
4  libc.so.6      0x00007f86e185d9fc pthread_kill + 300
5  libc.so.6      0x00007f86e1809476 raise + 22
6  libc.so.6      0x00007f86e17ef7f3 abort + 211
7  libc.so.6      0x00007f86e17ef71b
8  libc.so.6      0x00007f86e1800e96
9  swift-frontend 0x0000560e82487037
10 swift-frontend 0x0000560e8237eb32
11 swift-frontend 0x0000560e8237e8b4
12 swift-frontend 0x0000560e82389f83
13 swift-frontend 0x0000560e82384758
14 swift-frontend 0x0000560e8237dfa6
15 swift-frontend 0x0000560e80f78a27
16 swift-frontend 0x0000560e80f782be
17 swift-frontend 0x0000560e80f70b77
18 swift-frontend 0x0000560e80f71aec
19 swift-frontend 0x0000560e80f8e46e
20 swift-frontend 0x0000560e80f8d917
21 swift-frontend 0x0000560e80e38ca2
22 swift-frontend 0x0000560e80cc6ab9
23 swift-frontend 0x0000560e80d35633
24 swift-frontend 0x0000560e80d35589
25 swift-frontend 0x0000560e80cd105f
26 swift-frontend 0x0000560e80cc93ec
27 swift-frontend 0x0000560e80891ad9
28 swift-frontend 0x0000560e8088c594
29 swift-frontend 0x0000560e8088b26b
30 swift-frontend 0x0000560e808a1f65
31 swift-frontend 0x0000560e8088f177
32 swift-frontend 0x0000560e8088d4fc
33 swift-frontend 0x0000560e80649dde
34 libc.so.6      0x00007f86e17f0d90
35 libc.so.6      0x00007f86e17f0e40 __libc_start_main + 128
36 swift-frontend 0x0000560e80648e85
[58/78] Compiling ArgumentParser UsageGenerator.swift
[59/78] Compiling ArgumentParser SequenceExtensions.swift
[60/78] Compiling ArgumentParser StringExtensions.swift
[61/78] Compiling ArgumentParser Tree.swift
[62/79] Wrapping AST for ArgumentParser for debugging
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.