Build Information
Failed to build Tuxedo with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tevelee/Tuxedo.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tevelee/Tuxedo
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a25b263 Merge pull request #13 from tevelee/dependabot/npm_and_yarn/website/bl-1.2.3
Cloned https://github.com/tevelee/Tuxedo.git
Revision (git rev-parse @):
a25b263e76b5a39189d93ce4226a81db066091a7
SUCCESS checkout https://github.com/tevelee/Tuxedo.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/tevelee/Tuxedo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/12] Compiling Eval Pattern.swift
[5/12] Compiling Eval Utils.swift
[6/12] Compiling Eval MatchResult.swift
[7/12] Compiling Eval TypedInterpreter.swift
[8/12] Compiling Eval Matcher.swift
[9/12] Compiling Eval TemplateInterpreter.swift
[10/12] Compiling Eval Elements.swift
[11/12] Compiling Eval Common.swift
[12/12] Emitting module Eval
[13/21] Compiling Tuxedo Tuxedo.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Eval/Sources/Eval/Elements.swift:116:23: warning: static property 'notInterpreted' is not concurrency-safe because non-'Sendable' type 'VariableOptions' may have shared mutable state; this is an error in the Swift 6 language mode
105 |
106 | /// Options that modify the behaviour of the variable matching, and the output that the framework provides
107 | public struct VariableOptions: OptionSet {
| `- note: consider making struct 'VariableOptions' conform to the 'Sendable' protocol
108 | /// Integer representation of the option
109 | public let rawValue: Int
:
114 |
115 | /// If set, the value of the recognised placeholder will not be processed. Otherwise, it will be evaluated, using the `interpreterForEvaluatingVariables` property of the interpreter instance
116 | public static let notInterpreted: VariableOptions = VariableOptions(rawValue: 1 << 0)
| |- warning: static property 'notInterpreted' is not concurrency-safe because non-'Sendable' type 'VariableOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notInterpreted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | /// Whether the processed variable should be or not to be trimmed (removing whitespaces from both sides)
118 | public static let notTrimmed: VariableOptions = VariableOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Tags.swift:20:16: warning: static property 'tagPrefix' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | static var tagPrefix: String = "{%"
| |- warning: static property 'tagPrefix' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tagPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tagPrefix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var tagSuffix: String = "%}"
22 |
[14/21] Compiling Tuxedo ContextExtensions.swift
[15/21] Compiling Tuxedo Generator.swift
[16/21] Compiling Tuxedo StandardLibrary_DataTypes.swift
error: compile command failed due to signal 6 (use -v to see invocation)
Assertion failed: ((SF && SF->Kind == SourceFileKind::Interface || PD->isImplicit()) && "explicit inherited default argument outside of a module interface?"), function checkInheritedDefaultValueRestrictions, file TypeCheckDeclPrimary.cpp, line 1078.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/ContextExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/Generator.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary.swift /Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_DataTypes.swift /Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Functions.swift /Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Tags.swift /Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/Tuxedo.swift /Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/Utils.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Tuxedo.build/StandardLibrary.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Tuxedo.build/StandardLibrary.swiftdeps -target arm64-apple-macosx10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Xcc -F -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name Tuxedo -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Tuxedo.build/StandardLibrary.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1. Apple Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While evaluating request TypeCheckSourceFileRequest(source_file "/Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(Tuxedo.(file).StandardLibrary.infixOperator(_:body:)@/Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary.swift:19:24)
5. While type-checking statement at [/Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary.swift:19:109 - line:24:5] RangeText="{
return Function([Variable<A>("lhs"), Keyword(symbol), Variable<B>("rhs")], options: .backwardMatch) {
guard let lhs = $0.variables["lhs"] as? A, let rhs = $0.variables["rhs"] as? B else { return nil }
return body(lhs, rhs)
}
"
6. While type-checking statement at [/Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary.swift:20:9 - line:23:9] RangeText="return Function([Variable<A>("lhs"), Keyword(symbol), Variable<B>("rhs")], options: .backwardMatch) {
guard let lhs = $0.variables["lhs"] as? A, let rhs = $0.variables["rhs"] as? B else { return nil }
return body(lhs, rhs)
"
7. While type-checking-target starting at /Users/admin/builder/spi-builder-workspace/Sources/Tuxedo/StandardLibrary.swift:20:16
8. While evaluating request DefaultArgumentTypeRequest(Eval.(file).Variable.init(_:options:map:).map)
9. While evaluating request DefaultArgumentExprRequest(Eval.(file).Variable.init(_:options:map:).map)
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 0x000000010a35fbf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x000000010a35e3bc llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x000000010a360238 SignalHandler(int) + 304
3 libsystem_platform.dylib 0x0000000186bf5a24 _sigtramp + 56
4 libsystem_pthread.dylib 0x0000000186bc5cc0 pthread_kill + 288
5 libsystem_c.dylib 0x0000000186ad1a40 abort + 180
6 libsystem_c.dylib 0x0000000186ad0d30 err + 0
7 swift-frontend 0x000000010a7b0dd8 swift::DefaultArgumentExprRequest::evaluate(swift::Evaluator&, swift::ParamDecl*) const (.cold.2) + 0
8 swift-frontend 0x00000001061678dc swift::DefaultArgumentExprRequest::evaluate(swift::Evaluator&, swift::ParamDecl*) const + 1700
9 swift-frontend 0x000000010662d9f0 swift::DefaultArgumentExprRequest::OutputType swift::Evaluator::getResultUncached<swift::DefaultArgumentExprRequest, swift::DefaultArgumentExprRequest::OutputType swift::evaluateOrDefault<swift::DefaultArgumentExprRequest>(swift::Evaluator&, swift::DefaultArgumentExprRequest, swift::DefaultArgumentExprRequest::OutputType)::'lambda'()>(swift::DefaultArgumentExprRequest const&, swift::DefaultArgumentExprRequest::OutputType swift::evaluateOrDefault<swift::DefaultArgumentExprRequest>(swift::Evaluator&, swift::DefaultArgumentExprRequest, swift::DefaultArgumentExprRequest::OutputType)::'lambda'()) + 228
10 swift-frontend 0x00000001065a27e0 swift::ParamDecl::getTypeCheckedDefaultExpr() const + 300
11 swift-frontend 0x0000000106167914 swift::DefaultArgumentTypeRequest::evaluate(swift::Evaluator&, swift::ParamDecl*) const + 16
12 swift-frontend 0x000000010662f03c swift::DefaultArgumentTypeRequest::OutputType swift::Evaluator::getResultUncached<swift::DefaultArgumentTypeRequest, swift::DefaultArgumentTypeRequest::OutputType swift::evaluateOrDefault<swift::DefaultArgumentTypeRequest>(swift::Evaluator&, swift::DefaultArgumentTypeRequest, swift::DefaultArgumentTypeRequest::OutputType)::'lambda'()>(swift::DefaultArgumentTypeRequest const&, swift::DefaultArgumentTypeRequest::OutputType swift::evaluateOrDefault<swift::DefaultArgumentTypeRequest>(swift::Evaluator&, swift::DefaultArgumentTypeRequest, swift::DefaultArgumentTypeRequest::OutputType)::'lambda'()) + 228
13 swift-frontend 0x00000001065a288c swift::ParamDecl::getTypeOfDefaultExpr() const + 144
14 swift-frontend 0x0000000105f68128 matchCallArguments(swift::constraints::ConstraintSystem&, swift::FunctionType*, swift::ArgumentList*, llvm::ArrayRef<swift::AnyFunctionType::Param>, llvm::ArrayRef<swift::AnyFunctionType::Param>, swift::constraints::ConstraintKind, swift::constraints::ConstraintLocatorBuilder, std::__1::optional<swift::constraints::TrailingClosureMatching>, llvm::SmallVectorImpl<std::__1::pair<swift::TypeVariableType*, swift::OpenedArchetypeType*>>&) + 2876
15 swift-frontend 0x0000000105f66bc8 swift::constraints::ConstraintSystem::simplifyApplicableFnConstraint(swift::Type, swift::Type, std::__1::optional<swift::constraints::TrailingClosureMatching>, swift::optionset::OptionSet<swift::constraints::ConstraintSystem::TypeMatchFlags, unsigned int>, swift::constraints::ConstraintLocatorBuilder) + 2352
16 swift-frontend 0x0000000105f6f57c swift::constraints::ConstraintSystem::addConstraintImpl(swift::constraints::ConstraintKind, swift::Type, swift::Type, swift::constraints::ConstraintLocatorBuilder, bool) + 1232
17 swift-frontend 0x0000000105f49cb4 swift::constraints::ConstraintSystem::addConstraint(swift::constraints::ConstraintKind, swift::Type, swift::Type, swift::constraints::ConstraintLocatorBuilder, bool) + 92
18 swift-frontend 0x0000000105f58c50 swift::constraints::ConstraintSystem::simplifyConstructionConstraint(swift::Type, swift::FunctionType*, swift::optionset::OptionSet<swift::constraints::ConstraintSystem::TypeMatchFlags, unsigned int>, swift::DeclContext*, swift::FunctionRefKind, swift::constraints::ConstraintLocator*) + 892
19 swift-frontend 0x0000000105f67160 swift::constraints::ConstraintSystem::simplifyApplicableFnConstraint(swift::Type, swift::Type, std::__1::optional<swift::constraints::TrailingClosureMatching>, swift::optionset::OptionSet<swift::constraints::ConstraintSystem::TypeMatchFlags, unsigned int>, swift::constraints::ConstraintLocatorBuilder) + 3784
20 swift-frontend 0x0000000105f6f57c swift::constraints::ConstraintSystem::addConstraintImpl(swift::constraints::ConstraintKind, swift::Type, swift::Type, swift::constraints::ConstraintLocatorBuilder, bool) + 1232
21 swift-frontend 0x0000000105f49cb4 swift::constraints::ConstraintSystem::addConstraint(swift::constraints::ConstraintKind, swift::Type, swift::Type, swift::constraints::ConstraintLocatorBuilder, bool) + 92
22 swift-frontend 0x0000000105f344e8 (anonymous namespace)::ConstraintGenerator::visitApplyExpr(swift::ApplyExpr*) + 636
23 swift-frontend 0x0000000105f26bb4 (anonymous namespace)::ConstraintWalker::walkToExprPost(swift::Expr*) + 512
24 swift-frontend 0x000000010652d5a0 (anonymous namespace)::Traversal::doIt(swift::Expr*) + 988
25 swift-frontend 0x000000010652efe8 (anonymous namespace)::Traversal::visitCollectionExpr(swift::CollectionExpr*) + 80
26 swift-frontend 0x000000010652d2c8 (anonymous namespace)::Traversal::doIt(swift::Expr*) + 260
27 swift-frontend 0x0000000106531cb4 swift::ArgumentList* llvm::function_ref<swift::ArgumentList* (swift::ArgumentList*)>::callback_fn<(anonymous namespace)::Traversal::doIt(swift::ArgumentList*)::'lambda'(swift::ArgumentList*)>(long, swift::ArgumentList*) + 264
28 swift-frontend 0x0000000106531b48 swift::ArgumentList* (anonymous namespace)::Traversal::traverse<swift::ArgumentList>(swift::ASTWalker::PreWalkResult<swift::ArgumentList*>, llvm::function_ref<swift::ArgumentList* (swift::ArgumentList*)>, llvm::function_ref<swift::ASTWalker::PostWalkResult<swift::ArgumentList*> (swift::ArgumentList*)>) + 84
29 swift-frontend 0x000000010652f1c0 (anonymous namespace)::Traversal::visitApplyExpr(swift::ApplyExpr*) + 108
30 swift-frontend 0x000000010652d2a0 (anonymous namespace)::Traversal::doIt(swift::Expr*) + 220
31 swift-frontend 0x000000010652d1b8 swift::Expr::walk(swift::ASTWalker&) + 32
32 swift-frontend 0x0000000105f22948 swift::constraints::ConstraintSystem::generateConstraints(swift::Expr*, swift::DeclContext*) + 204
33 swift-frontend 0x0000000105f21bbc swift::constraints::ConstraintSystem::generateConstraints(swift::constraints::SyntacticElementTarget&, swift::FreeTypeVariableBinding) + 448
34 swift-frontend 0x0000000105f88b30 swift::constraints::ConstraintSystem::solveImpl(swift::constraints::SyntacticElementTarget&, swift::FreeTypeVariableBinding) + 408
35 swift-frontend 0x0000000105f883c8 swift::constraints::ConstraintSystem::solve(swift::constraints::SyntacticElementTarget&, swift::FreeTypeVariableBinding) + 160
36 swift-frontend 0x0000000106120788 swift::TypeChecker::typeCheckTarget(swift::constraints::SyntacticElementTarget&, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>) + 312
37 swift-frontend 0x00000001061f3f34 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) + 1116
38 swift-frontend 0x00000001061f3aa4 bool (anonymous namespace)::StmtChecker::typeCheckStmt<swift::Stmt>(swift::Stmt*&) + 136
39 swift-frontend 0x00000001061f02f8 (anonymous namespace)::StmtChecker::typeCheckASTNode(swift::ASTNode&) + 192
40 swift-frontend 0x00000001061f3b78 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) + 160
41 swift-frontend 0x00000001061f2198 bool (anonymous namespace)::StmtChecker::typeCheckStmt<swift::BraceStmt>(swift::BraceStmt*&) + 136
42 swift-frontend 0x00000001061f18ec (anonymous namespace)::StmtChecker::typeCheckBody(swift::BraceStmt*&) + 32
43 swift-frontend 0x00000001061f1654 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 1356
44 swift-frontend 0x00000001066374f8 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 240
45 swift-frontend 0x00000001065a4b2c swift::AbstractFunctionDecl::getTypecheckedBody() const + 120
46 swift-frontend 0x00000001066dbd28 swift::SourceFile::typeCheckDelayedFunctions() + 104
47 swift-frontend 0x0000000106232250 swift::TypeCheckSourceFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 256
48 swift-frontend 0x0000000106233da8 swift::TypeCheckSourceFileRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckSourceFileRequest>(swift::Evaluator&, swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType)::'lambda'()>(swift::TypeCheckSourceFileRequest const&, swift::TypeCheckSourceFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckSourceFileRequest>(swift::Evaluator&, swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType)::'lambda'()) + 232
49 swift-frontend 0x0000000106232128 swift::performTypeChecking(swift::SourceFile&) + 84
50 swift-frontend 0x000000010511d844 bool llvm::function_ref<bool (swift::SourceFile&)>::callback_fn<swift::CompilerInstance::performSema()::$_7>(long, swift::SourceFile&) + 16
51 swift-frontend 0x0000000105117284 swift::CompilerInstance::forEachFileToTypeCheck(llvm::function_ref<bool (swift::SourceFile&)>) + 76
52 swift-frontend 0x0000000105117218 swift::CompilerInstance::performSema() + 76
53 swift-frontend 0x0000000104eea1e4 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 60
54 swift-frontend 0x0000000104edb590 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
55 swift-frontend 0x0000000104eda4fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
56 swift-frontend 0x0000000104cf43b0 swift::mainEntry(int, char const**) + 3096
57 dyld 0x00000001868450e0 start + 2360
Fetching https://github.com/tevelee/Eval
[1/82718] Fetching eval
Fetched https://github.com/tevelee/Eval from cache (35.94s)
Computing version for https://github.com/tevelee/Eval
Computed https://github.com/tevelee/Eval at 1.5.0 (0.67s)
Creating working copy for https://github.com/tevelee/Eval
Working copy of https://github.com/tevelee/Eval resolved at 1.5.0
BUILD FAILURE 6.0 macosSpm