Build Information
Failed to build Periphery, reference master (96ec76), with Swift 6.1 for Wasm on 14 Dec 2025 02:17:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/peripheryapp/periphery.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/peripheryapp/periphery
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 96ec760 Release 3.3.0
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
96ec7609822149ddc73c6b4ac27b6761ea2a031c
SUCCESS checkout https://github.com/peripheryapp/periphery.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/peripheryapp/periphery.git
https://github.com/peripheryapp/periphery.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams"
},
{
"identity" : "aexml",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tadija/AEXML"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-indexstore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kateinoigakukun/swift-indexstore"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "602.0.0",
"upper_bound" : "603.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax"
},
{
"identity" : "swift-filename-matcher",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ileitch/swift-filename-matcher"
}
],
"manifest_display_name" : "Periphery",
"name" : "Periphery",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "periphery",
"targets" : [
"Frontend"
],
"type" : {
"executable" : null
}
},
{
"name" : "PeripheryKit",
"targets" : [
"PeripheryKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "TestShared",
"module_type" : "SwiftTarget",
"name" : "TestShared",
"path" : "Tests/Shared",
"sources" : [
"DeclarationDescription.swift",
"DeclarationScope.swift",
"FixtureSourceGraphTestCase.swift",
"Helper.swift",
"SPMSourceGraphTestCase.swift",
"SourceGraphTestCase.swift",
"XCTestCase+Extensions.swift"
],
"target_dependencies" : [
"PeripheryKit",
"ProjectDrivers",
"Configuration"
],
"type" : "library"
},
{
"c99name" : "SyntaxAnalysis",
"module_type" : "SwiftTarget",
"name" : "SyntaxAnalysis",
"path" : "Sources/SyntaxAnalysis",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"product_memberships" : [
"periphery",
"PeripheryKit"
],
"sources" : [
"CommentCommand.swift",
"DeclarationSyntaxVisitor.swift",
"ImportSyntaxVisitor.swift",
"MultiplexingSyntaxVisitor.swift",
"SourceLocationBuilder.swift",
"TypeSyntaxInspector.swift",
"UnusedParameterAnalyzer.swift",
"UnusedParameterParser.swift"
],
"target_dependencies" : [
"SourceGraph",
"Shared"
],
"type" : "library"
},
{
"c99name" : "SourceGraph",
"module_type" : "SwiftTarget",
"name" : "SourceGraph",
"path" : "Sources/SourceGraph",
"product_dependencies" : [
"SwiftSyntax"
],
"product_memberships" : [
"periphery",
"PeripheryKit"
],
"sources" : [
"Elements/Accessibility.swift",
"Elements/AssetReference.swift",
"Elements/CommentCommand.swift",
"Elements/Declaration.swift",
"Elements/ImportStatement.swift",
"Elements/Location.swift",
"Elements/ProjectFileKind.swift",
"Elements/Reference.swift",
"Elements/SourceFile.swift",
"Mutators/AccessibilityCascader.swift",
"Mutators/AncestralReferenceEliminator.swift",
"Mutators/AssetReferenceRetainer.swift",
"Mutators/AssignOnlyPropertyReferenceEliminator.swift",
"Mutators/CodablePropertyRetainer.swift",
"Mutators/CodingKeyEnumReferenceBuilder.swift",
"Mutators/ComplexPropertyAccessorReferenceBuilder.swift",
"Mutators/DefaultConstructorReferenceBuilder.swift",
"Mutators/DynamicMemberRetainer.swift",
"Mutators/EntryPointAttributeRetainer.swift",
"Mutators/EnumCaseReferenceBuilder.swift",
"Mutators/ExtensionReferenceBuilder.swift",
"Mutators/ExternalOverrideRetainer.swift",
"Mutators/ExternalTypeProtocolConformanceReferenceRemover.swift",
"Mutators/GenericClassAndStructConstructorReferenceBuilder.swift",
"Mutators/InterfaceBuilderPropertyRetainer.swift",
"Mutators/ObjCAccessibleRetainer.swift",
"Mutators/PropertyWrapperRetainer.swift",
"Mutators/ProtocolConformanceReferenceBuilder.swift",
"Mutators/ProtocolExtensionReferenceBuilder.swift",
"Mutators/PubliclyAccessibleRetainer.swift",
"Mutators/RedundantExplicitPublicAccessibilityMarker.swift",
"Mutators/RedundantProtocolMarker.swift",
"Mutators/ResultBuilderRetainer.swift",
"Mutators/StringInterpolationAppendInterpolationRetainer.swift",
"Mutators/StructImplicitInitializerReferenceBuilder.swift",
"Mutators/SwiftTestingRetainer.swift",
"Mutators/SwiftUIRetainer.swift",
"Mutators/UnusedImportMarker.swift",
"Mutators/UnusedParameterRetainer.swift",
"Mutators/UsedDeclarationMarker.swift",
"Mutators/XCTestRetainer.swift",
"SourceGraph.swift",
"SourceGraphDebugger.swift",
"SourceGraphMutator.swift",
"SourceGraphMutatorRunner.swift",
"SynchronizedSourceGraph.swift"
],
"target_dependencies" : [
"Configuration",
"Shared"
],
"type" : "library"
},
{
"c99name" : "Shared",
"module_type" : "SwiftTarget",
"name" : "Shared",
"path" : "Sources/Shared",
"product_dependencies" : [
"SystemPackage",
"FilenameMatcher"
],
"product_memberships" : [
"periphery",
"PeripheryKit"
],
"sources" : [
"Benchmark.swift",
"Constants.swift",
"JobPool.swift",
"PeripheryError.swift",
"ProjectKind.swift",
"PropertyTypeSanitizer.swift",
"SetupGuide.swift",
"Shell.swift",
"SwiftVersion.swift",
"SwiftVersionParser.swift",
"UnfairLock.swift"
],
"target_dependencies" : [
"Extensions",
"Logger"
],
"type" : "library"
},
{
"c99name" : "SPMTests",
"module_type" : "SwiftTarget",
"name" : "SPMTests",
"path" : "Tests/SPMTests",
"sources" : [
"Helper.swift",
"SPMProjectTest.swift"
],
"target_dependencies" : [
"TestShared",
"PeripheryKit"
],
"type" : "test"
},
{
"c99name" : "ProjectDrivers",
"module_type" : "SwiftTarget",
"name" : "ProjectDrivers",
"path" : "Sources/ProjectDrivers",
"product_memberships" : [
"periphery"
],
"sources" : [
"BazelProjectDriver.swift",
"GenericProjectDriver.swift",
"ProjectDriver.swift",
"SPM.swift",
"SPMProjectDriver.swift",
"XcodeProjectDriver.swift"
],
"target_dependencies" : [
"SourceGraph",
"Shared",
"Indexer"
],
"type" : "library"
},
{
"c99name" : "PeripheryTests",
"module_type" : "SwiftTarget",
"name" : "PeripheryTests",
"path" : "Tests/PeripheryTests",
"sources" : [
"CrossModuleRetentionTest.swift",
"Extensions/FilePathGlobTest.swift",
"Extensions/FilePathTest.swift",
"Extensions/FilenameMatcherTests.swift",
"Extensions/String+VersionTest.swift",
"ObjcAccessibleRetentionTest.swift",
"ObjcAnnotatedRetentionTest.swift",
"RetentionTest.swift",
"SwiftVersionParserTest.swift",
"Syntax/FunctionVisitTest.swift",
"Syntax/ImportVisitTest.swift",
"Syntax/PropertyVisitTest.swift",
"Syntax/TypeSyntaxInspectorTest.swift",
"Syntax/UnusedParameterTest.swift"
],
"target_dependencies" : [
"TestShared",
"PeripheryKit"
],
"type" : "test"
},
{
"c99name" : "PeripheryKit",
"module_type" : "SwiftTarget",
"name" : "PeripheryKit",
"path" : "Sources/PeripheryKit",
"product_dependencies" : [
"SystemPackage",
"AEXML",
"SwiftSyntax",
"SwiftParser",
"SwiftIndexStore",
"FilenameMatcher"
],
"product_memberships" : [
"periphery",
"PeripheryKit"
],
"sources" : [
"Results/Baseline.swift",
"Results/CheckstyleFormatter.swift",
"Results/CodeClimateFormatter.swift",
"Results/CsvFormatter.swift",
"Results/GitHubActionsFormatter.swift",
"Results/GitHubMarkdownFormatter.swift",
"Results/GitLabCodeQualityFormatter.swift",
"Results/JsonFormatter.swift",
"Results/OutputDeclarationFilter.swift",
"Results/OutputFormatter.swift",
"Results/XcodeFormatter.swift",
"ScanResult.swift",
"ScanResultBuilder.swift"
],
"target_dependencies" : [
"SourceGraph",
"Shared",
"Indexer"
],
"type" : "library"
},
{
"c99name" : "Logger",
"module_type" : "SwiftTarget",
"name" : "Logger",
"path" : "Sources/Logger",
"product_memberships" : [
"periphery",
"PeripheryKit"
],
"sources" : [
"Logger.swift"
],
"type" : "library"
},
{
"c99name" : "Indexer",
"module_type" : "SwiftTarget",
"name" : "Indexer",
"path" : "Sources/Indexer",
"product_dependencies" : [
"SwiftIndexStore",
"AEXML"
],
"product_memberships" : [
"periphery",
"PeripheryKit"
],
"sources" : [
"IndexPipeline.swift",
"IndexPlan.swift",
"Indexer.swift",
"InfoPlistIndexer.swift",
"InfoPlistParser.swift",
"SourceFileCollector.swift",
"SwiftIndexer.swift",
"XCDataModelIndexer.swift",
"XCDataModelParser.swift",
"XCMappingModelIndexer.swift",
"XCMappingModelParser.swift",
"XibIndexer.swift",
"XibParser.swift"
],
"target_dependencies" : [
"SyntaxAnalysis",
"Shared"
],
"type" : "library"
},
{
"c99name" : "Frontend",
"module_type" : "SwiftTarget",
"name" : "Frontend",
"path" : "Sources/Frontend",
"product_dependencies" : [
"ArgumentParser",
"FilenameMatcher"
],
"product_memberships" : [
"periphery"
],
"sources" : [
"BazelProjectSetupGuide.swift",
"Commands/CheckUpdateCommand.swift",
"Commands/ClearCacheCommand.swift",
"Commands/FrontendCommand.swift",
"Commands/ScanCommand.swift",
"Commands/VersionCommand.swift",
"CommonSetupGuide.swift",
"GuidedSetup.swift",
"Logger+Extension.swift",
"Project.swift",
"SPMProjectSetupGuide.swift",
"Scan.swift",
"UpdateChecker.swift",
"Version.swift",
"main.swift"
],
"target_dependencies" : [
"Shared",
"Configuration",
"SourceGraph",
"PeripheryKit",
"ProjectDrivers"
],
"type" : "executable"
},
{
"c99name" : "Extensions",
"module_type" : "SwiftTarget",
"name" : "Extensions",
"path" : "Sources/Extensions",
"product_dependencies" : [
"SystemPackage",
"FilenameMatcher"
],
"product_memberships" : [
"periphery",
"PeripheryKit"
],
"sources" : [
"Array+Extension.swift",
"Collection+Extension.swift",
"FilePath+Extension.swift",
"FilePath+Glob.swift",
"FilenameMatcher+Extension.swift",
"Sequence+Extension.swift",
"Set+Extension.swift",
"String+Extension.swift",
"String+Version.swift"
],
"type" : "library"
},
{
"c99name" : "Configuration",
"module_type" : "SwiftTarget",
"name" : "Configuration",
"path" : "Sources/Configuration",
"product_dependencies" : [
"Yams",
"SystemPackage",
"FilenameMatcher"
],
"product_memberships" : [
"periphery",
"PeripheryKit"
],
"sources" : [
"Configuration.swift",
"OutputFormat.swift"
],
"target_dependencies" : [
"Extensions",
"Shared",
"Logger"
],
"type" : "library"
},
{
"c99name" : "AccessibilityTests",
"module_type" : "SwiftTarget",
"name" : "AccessibilityTests",
"path" : "Tests/AccessibilityTests",
"sources" : [
"Helper.swift",
"RedundantPublicAccessibilityTest.swift"
],
"target_dependencies" : [
"TestShared",
"PeripheryKit",
"Configuration"
],
"type" : "test"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/tadija/AEXML
[1/63] Fetching swift-filename-matcher
[64/386] Fetching swift-filename-matcher, swift-indexstore
[178/2540] Fetching swift-filename-matcher, swift-indexstore, aexml
[1228/19461] Fetching swift-filename-matcher, swift-indexstore, aexml, swift-argument-parser
[4064/30728] Fetching swift-filename-matcher, swift-indexstore, aexml, swift-argument-parser, yams
[22955/103840] Fetching swift-filename-matcher, swift-indexstore, aexml, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/ileitch/swift-filename-matcher from cache (3.17s)
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (3.18s)
Fetching https://github.com/apple/swift-system
[1/5221] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (1.05s)
Fetched https://github.com/tadija/AEXML from cache (5.01s)
Fetched https://github.com/apple/swift-argument-parser from cache (5.02s)
Fetched https://github.com/jpsim/Yams from cache (5.06s)
Fetched https://github.com/apple/swift-syntax from cache (5.08s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 602.0.0 (8.18s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.4.0 (0.62s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.68s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.0 (0.59s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.64s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.71s)
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 2.0.1
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.4.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.0
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/63] Write sources
[24/63] Compiling _SwiftSyntaxCShims PlatformMutex.c
[25/63] Compiling _CIndexStore dummy.c
[26/63] Compiling writer.c
[26/63] Write sources
[30/63] Compiling reader.c
[31/63] Compiling CSystem shims.c
[32/63] Compiling parser.c
[33/63] Compiling api.c
[34/63] Compiling emitter.c
[35/63] Compiling scanner.c
[35/63] Write swift-version-24593BA9C3E375BF.txt
[38/114] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/115] Emitting module SwiftSyntax602
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/134] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/134] Emitting module SystemPackage
[42/138] Emitting module Yams
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/140] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/141] Compiling SwiftIndexStore OptionSetDisplayable.swift
[45/141] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/141] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/143] Compiling Yams Tag.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/143] Compiling Yams YamlAnchorProviding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/143] Compiling Yams Constructor.swift
[51/143] Compiling Yams Mark.swift
[52/143] Compiling Yams AliasDereferencingStrategy.swift
[53/143] Compiling Yams Anchor.swift
[56/143] Compiling Yams Node.Alias.swift
[57/143] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/144] Compiling SystemPackage Syscalls.swift
[59/144] Compiling SystemPackage WindowsSyscallAdapters.swift
[60/144] Compiling SystemPackage MachPort.swift
[61/144] Compiling SystemPackage PlatformString.swift
[62/144] Compiling Yams Node.Sequence.swift
[63/144] Compiling Yams Node.swift
[64/144] Compiling Yams Parser.swift
[65/144] Compiling Yams RedundancyAliasingStrategy.swift
[66/144] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[67/144] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/144] Compiling SwiftSyntax602 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[69/146] Compiling Yams Representer.swift
[70/146] Compiling Yams Resolver.swift
[71/146] Compiling Yams String+Yams.swift
[75/146] Compiling SystemPackage Constants.swift
[76/146] Compiling SystemPackage Exports.swift
[77/146] Compiling SystemPackage Mocking.swift
[78/146] Compiling SystemPackage RawBuffer.swift
[80/146] Compiling Yams YamlError.swift
[81/146] Compiling Yams YamlTagProviding.swift
[82/146] Compiling SystemPackage CInterop.swift
[85/146] Compiling SystemPackage SystemString.swift
[86/146] Compiling SystemPackage Util+StringArray.swift
[87/146] Compiling SystemPackage Util.swift
[88/146] Compiling SystemPackage UtilConsumers.swift
[89/146] Compiling Yams Node.Mapping.swift
[90/146] Compiling Yams Decoder.swift
[91/146] Compiling Yams Emitter.swift
[92/146] Compiling Yams Encoder.swift
[93/146] Compiling Yams Node.Scalar.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[94/147] Emitting module SwiftIndexStore
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
[97/147] Compiling SwiftIndexStore IndexStoreUnit.swift
[99/147] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
33 | guard let sym = dlsym(dylib, symbol) else {
| `- error: cannot find 'dlsym' in scope
34 | throw IndexStoreError.missingSymbol(symbol)
35 | }
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:91:32: error: cannot find 'Process' in scope
89 |
90 | public static func linuxSwiftDir() throws -> URL {
91 | let (binPath, _) = try Process.exec(bin: "/usr/bin/which", arguments: ["swift"])
| `- error: cannot find 'Process' in scope
92 | return URL(
93 | fileURLWithPath: binPath
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:100:38: error: cannot find 'Process' in scope
98 |
99 | private static func macOSDeveloperDir() throws -> URL {
100 | var (stdoutContent, _) = try Process.exec(
| `- error: cannot find 'Process' in scope
101 | bin: "/usr/bin/xcode-select",
102 | arguments: ["--print-path"]
[99/149] Wrapping AST for SwiftSyntax602 for debugging
[101/149] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:6:13: error: cannot find type 'TerminationReason' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
6 | TerminationReason, Int32, command: String,
| `- error: cannot find type 'TerminationReason' in scope
7 | stdout: String, stderr: String
8 | )
[102/149] Compiling SwiftIndexStore SwiftIndexStore.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[107/161] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Logger.swift:24:23: warning: var 'isColorOutputCapable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @usableFromInline var isColorOutputCapable: Bool = {
| |- warning: var 'isColorOutputCapable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isColorOutputCapable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'isColorOutputCapable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | guard let term = ProcessInfo.processInfo.environment["TERM"],
26 | term.lowercased() != "dumb",
/host/spi-builder-workspace/Sources/Logger/Logger.swift:52:40: error: cannot find type 'DispatchQueue' in scope
50 | }
51 |
52 | @usableFromInline let outputQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
53 | @usableFromInline let quiet: Bool
54 | @usableFromInline let verbose: Bool
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 | @inlinable
122 | func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
123 | _ = outputQueue.sync { fputs(line + "\n", output) }
124 | }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:64:23: error: cannot find 'DispatchQueue' in scope
62 | self.quiet = quiet
63 | self.verbose = verbose
64 | outputQueue = DispatchQueue(label: "Logger.outputQueue")
| `- error: cannot find 'DispatchQueue' in scope
65 | }
66 |
[108/161] Compiling Logger Logger.swift
/host/spi-builder-workspace/Sources/Logger/Logger.swift:24:23: warning: var 'isColorOutputCapable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @usableFromInline var isColorOutputCapable: Bool = {
| |- warning: var 'isColorOutputCapable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isColorOutputCapable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'isColorOutputCapable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | guard let term = ProcessInfo.processInfo.environment["TERM"],
26 | term.lowercased() != "dumb",
/host/spi-builder-workspace/Sources/Logger/Logger.swift:52:40: error: cannot find type 'DispatchQueue' in scope
50 | }
51 |
52 | @usableFromInline let outputQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
53 | @usableFromInline let quiet: Bool
54 | @usableFromInline let verbose: Bool
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 | @inlinable
122 | func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
123 | _ = outputQueue.sync { fputs(line + "\n", output) }
124 | }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:64:23: error: cannot find 'DispatchQueue' in scope
62 | self.quiet = quiet
63 | self.verbose = verbose
64 | outputQueue = DispatchQueue(label: "Logger.outputQueue")
| `- error: cannot find 'DispatchQueue' in scope
65 | }
66 |
[108/161] Wrapping AST for SystemPackage for debugging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/29] Write swift-version-24593BA9C3E375BF.txt
[4/100] Compiling SwiftSyntax602 Empty.swift
[5/100] Compiling SwiftSyntax600 Empty.swift
[6/100] Emitting module SwiftSyntax602
[7/100] Compiling SwiftSyntax601 Empty.swift
[8/100] Emitting module SwiftSyntax601
[9/102] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/Process+Extension.swift:6:13: error: cannot find type 'TerminationReason' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
6 | TerminationReason, Int32, command: String,
| `- error: cannot find type 'TerminationReason' in scope
7 | stdout: String, stderr: String
8 | )
[10/103] Emitting module SwiftSyntax509
[11/103] Compiling SwiftSyntax509 Empty.swift
[12/104] Compiling SwiftSyntax510 Empty.swift
[13/104] Compiling SwiftIndexStore OptionSetDisplayable.swift
[14/104] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
33 | guard let sym = dlsym(dylib, symbol) else {
| `- error: cannot find 'dlsym' in scope
34 | throw IndexStoreError.missingSymbol(symbol)
35 | }
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:91:32: error: cannot find 'Process' in scope
89 |
90 | public static func linuxSwiftDir() throws -> URL {
91 | let (binPath, _) = try Process.exec(bin: "/usr/bin/which", arguments: ["swift"])
| `- error: cannot find 'Process' in scope
92 | return URL(
93 | fileURLWithPath: binPath
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:100:38: error: cannot find 'Process' in scope
98 |
99 | private static func macOSDeveloperDir() throws -> URL {
100 | var (stdoutContent, _) = try Process.exec(
| `- error: cannot find 'Process' in scope
101 | bin: "/usr/bin/xcode-select",
102 | arguments: ["--print-path"]
[15/104] Emitting module SwiftSyntax510
[16/105] Emitting module SwiftSyntax600
[22/105] Compiling SystemPackage IORing.swift
[23/105] Compiling SystemPackage RawIORequest.swift
[24/105] Compiling SystemPackage Backcompat.swift
[25/105] Compiling SystemPackage CInterop.swift
[26/109] Compiling SystemPackage Constants.swift
[27/109] Compiling SystemPackage Exports.swift
[28/111] Compiling SwiftIndexStore IndexStoreUnit.swift
[29/111] Compiling SwiftIndexStore UnfairLock.swift
[30/125] Compiling SystemPackage Syscalls.swift
[31/125] Compiling SystemPackage WindowsSyscallAdapters.swift
[32/125] Compiling SystemPackage MachPort.swift
[33/125] Compiling SystemPackage PlatformString.swift
[36/125] Compiling SystemPackage FileDescriptor.swift
[37/125] Compiling SystemPackage FileHelpers.swift
[38/125] Compiling SystemPackage IORequest.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:338:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
336 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
337 | // it uses with `String(format:...)`
338 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
339 | // "%*.g" does not use scientific notation if the exponent is less than –4.
340 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:338:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
336 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
337 | // it uses with `String(format:...)`
338 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
339 | // "%*.g" does not use scientific notation if the exponent is less than –4.
340 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:338:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
336 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
337 | // it uses with `String(format:...)`
338 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
339 | // "%*.g" does not use scientific notation if the exponent is less than –4.
340 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/188] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Logger.swift:52:40: error: cannot find type 'DispatchQueue' in scope
50 | }
51 |
52 | @usableFromInline let outputQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
53 | @usableFromInline let quiet: Bool
54 | @usableFromInline let verbose: Bool
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 | @inlinable
122 | func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
123 | _ = outputQueue.sync { fputs(line + "\n", output) }
124 | }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:64:23: error: cannot find 'DispatchQueue' in scope
62 | self.quiet = quiet
63 | self.verbose = verbose
64 | outputQueue = DispatchQueue(label: "Logger.outputQueue")
| `- error: cannot find 'DispatchQueue' in scope
65 | }
66 |
[42/188] Compiling SwiftSyntax SourceEdit.swift
[43/188] Compiling SwiftSyntax SourceLength.swift
[44/188] Compiling SwiftSyntax SourceLocation.swift
[45/188] Compiling SwiftSyntax SourcePresence.swift
[46/188] Emitting module FilenameMatcher
[47/188] Compiling Logger Logger.swift
/host/spi-builder-workspace/Sources/Logger/Logger.swift:52:40: error: cannot find type 'DispatchQueue' in scope
50 | }
51 |
52 | @usableFromInline let outputQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
53 | @usableFromInline let quiet: Bool
54 | @usableFromInline let verbose: Bool
/host/spi-builder-workspace/Sources/Logger/Logger.swift:122:59: error: cannot find type 'FILE' in scope
120 |
121 | @inlinable
122 | func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
123 | _ = outputQueue.sync { fputs(line + "\n", output) }
124 | }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:64:23: error: cannot find 'DispatchQueue' in scope
62 | self.quiet = quiet
63 | self.verbose = verbose
64 | outputQueue = DispatchQueue(label: "Logger.outputQueue")
| `- error: cannot find 'DispatchQueue' in scope
65 | }
66 |
[48/188] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm