Build Information
Failed to build CompoundPredicate, reference v0.1.1 (39338c
), with Swift 6.2 (beta) for Linux on 22 Jun 2025 09:32:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NoahKamara/CompoundPredicate.git
Reference: v0.1.1
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/NoahKamara/CompoundPredicate
* tag v0.1.1 -> FETCH_HEAD
HEAD is now at 39338c0 chore: update tests to swift testing
Cloned https://github.com/NoahKamara/CompoundPredicate.git
Revision (git rev-parse @):
39338c0520bf45a15ac0d55f30d213f1a085262a
SUCCESS checkout https://github.com/NoahKamara/CompoundPredicate.git at v0.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/NoahKamara/CompoundPredicate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/noahkamara/swift-xctesting
[1/847] Fetching swift-xctesting
Fetched https://github.com/noahkamara/swift-xctesting from cache (0.28s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/apple/swift-testing.git
Fetching https://github.com/apple/swift-syntax.git
[1/2082] Fetching swift-docc-plugin
[251/7549] Fetching swift-docc-plugin, swift-issue-reporting
[5036/30924] Fetching swift-docc-plugin, swift-issue-reporting, swift-testing
[29990/101848] Fetching swift-docc-plugin, swift-issue-reporting, swift-testing, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (5.24s)
Fetched https://github.com/apple/swift-testing.git from cache (5.25s)
Fetched https://github.com/pointfreeco/swift-issue-reporting from cache (5.25s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.29s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (8.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.87s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.90s)
Computing version for https://github.com/apple/swift-testing.git
Computed https://github.com/apple/swift-testing.git at 0.5.1 (0.56s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 1.5.2 (0.53s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 1.5.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at 0.5.1
Creating working copy for https://github.com/noahkamara/swift-xctesting
Working copy of https://github.com/noahkamara/swift-xctesting resolved at main (69e2b1f)
warning: 'spi-builder-workspace': dependency 'swift-xctesting' is not used by any target
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/24] Emitting module IssueReporting
[7/26] Compiling IssueReporting TestContext.swift
[8/26] Compiling IssueReporting Unimplemented.swift
[9/26] Compiling IssueReporting WithExpectedIssue.swift
[10/26] Compiling IssueReporting WithIssueContext.swift
[11/26] Compiling IssueReporting FailureObserver.swift
[12/26] Compiling IssueReporting LockIsolated.swift
[13/26] Compiling IssueReporting Rethrows.swift
[14/26] Compiling IssueReporting ErrorReporting.swift
[15/26] Compiling IssueReporting AppHostWarning.swift
[16/26] Compiling IssueReporting Deprecations.swift
[17/26] Compiling IssueReporting RuntimeWarningReporter.swift
[18/26] Compiling IssueReporting ReportIssue.swift
[19/26] Compiling IssueReporting BreakpointReporter.swift
[20/26] Compiling IssueReporting FatalErrorReporter.swift
[21/26] Compiling IssueReporting SwiftTesting.swift
[22/26] Compiling IssueReporting UncheckedSendable.swift
[23/26] Compiling IssueReporting Warn.swift
[24/26] Compiling IssueReporting XCTest.swift
[25/26] Compiling IssueReporting IsTesting.swift
[26/26] Compiling IssueReporting IssueReporter.swift
[28/32] Compiling CompoundPredicate RuntimeWarnings.swift
[29/32] Compiling CompoundPredicate VariableReplacing.swift
[30/32] Compiling CompoundPredicate PredicateExpressions.swift
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:357:32: error: 'StringLocalizedStandardContains' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
355 | }
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
| `- error: 'StringLocalizedStandardContains' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
358 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
359 | Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | @frozen public enum PredicateExpressions {
| `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:366:32: error: 'StringCaseInsensitiveCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
364 | }
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
| `- error: 'StringCaseInsensitiveCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
367 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
368 | Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | @frozen public enum PredicateExpressions {
| `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:375:32: error: 'StringLocalizedCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
373 | }
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
| `- error: 'StringLocalizedCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
376 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
377 | Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | @frozen public enum PredicateExpressions {
| `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:357:83: error: 'where' clause cannot be applied to a non-generic top-level declaration
355 | }
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
358 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
359 | Self(
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:358:42: error: cannot find type 'Variable' in scope
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
358 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
| `- error: cannot find type 'Variable' in scope
359 | Self(
360 | root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:358:73: error: cannot find type 'Variable' in scope
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
358 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
| `- error: cannot find type 'Variable' in scope
359 | Self(
360 | root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:366:80: error: 'where' clause cannot be applied to a non-generic top-level declaration
364 | }
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
367 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
368 | Self(
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:367:42: error: cannot find type 'Variable' in scope
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
367 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
| `- error: cannot find type 'Variable' in scope
368 | Self(
369 | root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:367:73: error: cannot find type 'Variable' in scope
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
367 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
| `- error: cannot find type 'Variable' in scope
368 | Self(
369 | root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:375:74: error: 'where' clause cannot be applied to a non-generic top-level declaration
373 | }
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
376 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
377 | Self(
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:376:42: error: cannot find type 'Variable' in scope
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
376 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
| `- error: cannot find type 'Variable' in scope
377 | Self(
378 | root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:376:73: error: cannot find type 'Variable' in scope
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
376 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
| `- error: cannot find type 'Variable' in scope
377 | Self(
378 | root: root.replacing(variable, with: replacement),
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
[31/32] Emitting module CompoundPredicate
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:357:32: error: 'StringLocalizedStandardContains' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
355 | }
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
| `- error: 'StringLocalizedStandardContains' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
358 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
359 | Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | @frozen public enum PredicateExpressions {
| `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:366:32: error: 'StringCaseInsensitiveCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
364 | }
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
| `- error: 'StringCaseInsensitiveCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
367 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
368 | Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | @frozen public enum PredicateExpressions {
| `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:375:32: error: 'StringLocalizedCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
373 | }
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
| `- error: 'StringLocalizedCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
376 | public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
377 | Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | @frozen public enum PredicateExpressions {
| `- note: 'PredicateExpressions' declared here
3 | }
Instruction missing on-stack pack metadata cleanups!
try_apply %19<[Predicate<T>], any StandardPredicateExpression<Bool>, Never>(%20, %18, %11) : $@convention(method) <τ_0_0 where τ_0_0 : Collection><τ_1_0, τ_1_1 where τ_1_1 : Error> (@guaranteed @noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1, τ_0_2> (@in_guaranteed τ_0_0) -> (@out τ_0_2, @error_indirect τ_0_1) for <τ_0_0.Element, τ_1_1, τ_1_0>, @in_guaranteed τ_0_0) -> (@owned Array<τ_1_0>, @error_indirect τ_1_1), normal bb1, error bb6 // id: %21
In function:
// closure #1 in static Predicate.combining<A>(_:nextPartialResult:)
// Isolation: nonisolated
sil private @$s20FoundationEssentials9PredicateV08CompoundC0E9combining_17nextPartialResultACyqd___QPGSayAGG_AA08StandardC10Expression_pSb6OutputAA0cJ0PRts_XPAaI_pSbAMRS_XP_AaI_pSbAMRS_XPtXEtlFZAaI_pSbAMRS_XPAA0C11ExpressionsO8VariableVy_qd__GXEfU_ : $@convention(thin) <each Input><T> (@pack_guaranteed Pack{PredicateExpressions.Variable<T>}, @guaranteed Array<Predicate<T>>, @guaranteed @noescape @callee_guaranteed (@in_guaranteed any StandardPredicateExpression<Bool>, @in_guaranteed any StandardPredicateExpression<Bool>) -> @out any StandardPredicateExpression<Bool>) -> @out any StandardPredicateExpression<Bool> {
// %0 "$return_value" // users: %73, %42
// %1 // user: %6
// %2 "predicates" // users: %12, %9
// %3 "nextPartialResult" // users: %53, %10
bb0(%0 : $*any StandardPredicateExpression<Bool>, %1 : $*Pack{PredicateExpressions.Variable<T>}, %2 : @closureCapture $Array<Predicate<T>>, %3 : @closureCapture $@noescape @callee_guaranteed (@in_guaranteed any StandardPredicateExpression<Bool>, @in_guaranteed any StandardPredicateExpression<Bool>) -> @out any StandardPredicateExpression<Bool>):
%4 = scalar_pack_index 0 of $Pack{PredicateExpressions.Variable<T>} // user: %6
%5 = alloc_pack_metadata $() // user: %91
%6 = pack_element_get %4 of %1 as $*PredicateExpressions.Variable<T> // user: %7
%7 = load %6 // users: %16, %8
debug_value %7, let, name "variable", argno 1 // id: %8
debug_value %2, let, name "predicates", argno 2 // id: %9
debug_value %3, let, name "nextPartialResult", argno 3 // id: %10
%11 = alloc_stack $Array<Predicate<T>> // users: %90, %21, %12
store %2 to %11 // id: %12
%13 = alloc_pack_metadata $() // user: %89
// function_ref closure #1 in closure #1 in static Predicate.combining<A>(_:nextPartialResult:)
%14 = function_ref @$s20FoundationEssentials9PredicateV08CompoundC0E9combining_17nextPartialResultACyqd___QPGSayAGG_AA08StandardC10Expression_pSb6OutputAA0cJ0PRts_XPAaI_pSbAMRS_XP_AaI_pSbAMRS_XPtXEtlFZAaI_pSbAMRS_XPAA0C11ExpressionsO8VariableVy_qd__GXEfU_AaI_pSbAMRS_XPAGXEfU_ : $@convention(thin) <each τ_0_0><τ_1_0> (@in_guaranteed Predicate<τ_1_0>, PredicateExpressions.Variable<τ_1_0>) -> (@out any StandardPredicateExpression<Bool>, @error_indirect Never) // user: %16
%15 = alloc_pack_metadata $() // user: %88
%16 = partial_apply [callee_guaranteed] [on_stack] %14<Pack{repeat each Input}, T>(%7) : $@convention(thin) <each τ_0_0><τ_1_0> (@in_guaranteed Predicate<τ_1_0>, PredicateExpressions.Variable<τ_1_0>) -> (@out any StandardPredicateExpression<Bool>, @error_indirect Never) // users: %87, %18
%17 = alloc_pack_metadata $() // user: %86
%18 = convert_function %16 to $@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1, τ_0_2> (@in_guaranteed τ_0_0) -> (@out τ_0_2, @error_indirect τ_0_1) for <Predicate<T>, Never, any StandardPredicateExpression<Bool>> // user: %21
// function_ref Collection.map<A, B>(_:)
%19 = function_ref @$sSlsE3mapySayqd__Gqd__7ElementQzqd_0_YKXEqd_0_YKs5ErrorRd_0_r0_lF : $@convention(method) <τ_0_0 where τ_0_0 : Collection><τ_1_0, τ_1_1 where τ_1_1 : Error> (@guaranteed @noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1, τ_0_2> (@in_guaranteed τ_0_0) -> (@out τ_0_2, @error_indirect τ_0_1) for <τ_0_0.Element, τ_1_1, τ_1_0>, @in_guaranteed τ_0_0) -> (@owned Array<τ_1_0>, @error_indirect τ_1_1) // user: %21
%20 = alloc_stack $Never // users: %23, %21
try_apply %19<[Predicate<T>], any StandardPredicateExpression<Bool>, Never>(%20, %18, %11) : $@convention(method) <τ_0_0 where τ_0_0 : Collection><τ_1_0, τ_1_1 where τ_1_1 : Error> (@guaranteed @noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1, τ_0_2> (@in_guaranteed τ_0_0) -> (@out τ_0_2, @error_indirect τ_0_1) for <τ_0_0.Element, τ_1_1, τ_1_0>, @in_guaranteed τ_0_0) -> (@owned Array<τ_1_0>, @error_indirect τ_1_1), normal bb1, error bb6 // id: %21
// %22 // users: %83, %58, %56, %45, %27, %24
bb1(%22 : $Array<any StandardPredicateExpression<Bool>>): // Preds: bb0
dealloc_stack %20 // id: %23
debug_value %22, let, name "expressions" // id: %24
%25 = alloc_stack [lexical] [var_decl] $any StandardPredicateExpression<Bool>, let, name "first" // users: %82, %81, %73, %49, %35
%26 = alloc_stack $Array<any StandardPredicateExpression<Bool>> // users: %30, %27, %51, %34
store %22 to %26 // id: %27
%28 = alloc_stack $Optional<any StandardPredicateExpression<Bool>> // users: %47, %50, %33, %32, %31, %30
// function_ref Collection.first.getter
%29 = function_ref @$sSlsE5first7ElementQzSgvg : $@convention(method) <τ_0_0 where τ_0_0 : Collection> (@in_guaranteed τ_0_0) -> @out Optional<τ_0_0.Element> // user: %30
%30 = apply %29<[any StandardPredicateExpression<Bool>]>(%28, %26) : $@convention(method) <τ_0_0 where τ_0_0 : Collection> (@in_guaranteed τ_0_0) -> @out Optional<τ_0_0.Element>
switch_enum_addr %28, case #Optional.some!enumelt: bb3, case #Optional.none!enumelt: bb2 // id: %31
bb2: // Preds: bb1
destroy_addr %28 // id: %32
dealloc_stack %28 // id: %33
dealloc_stack %26 // id: %34
dealloc_stack %25 // id: %35
%36 = metatype $@thin PredicateExpressions.Value<Bool>.Type // user: %43
%37 = integer_literal $Builtin.Int1, -1 // user: %38
%38 = struct $Bool (%37) // user: %40
%39 = alloc_stack $Bool // users: %40, %44, %43
store %38 to %39 // id: %40
// function_ref PredicateExpressions.Value.init(_:)
%41 = function_ref @$s20FoundationEssentials20PredicateExpressionsO5ValueVyAEy_xGxcfC : $@convention(method) <τ_0_0> (@in τ_0_0, @thin PredicateExpressions.Value<τ_0_0>.Type) -> @out PredicateExpressions.Value<τ_0_0> // user: %43
%42 = init_existential_addr %0, $PredicateExpressions.Value<Bool> // user: %43
%43 = apply %41<Bool>(%42, %39, %36) : $@convention(method) <τ_0_0> (@in τ_0_0, @thin PredicateExpressions.Value<τ_0_0>.Type) -> @out PredicateExpressions.Value<τ_0_0>
dealloc_stack %39 // id: %44
release_value %22 // id: %45
br bb5 // id: %46
bb3: // Preds: bb1
%47 = unchecked_take_enum_data_addr %28, #Optional.some!enumelt // user: %48
%48 = unchecked_addr_cast %47 to $*any StandardPredicateExpression<Bool> // user: %49
copy_addr [take] %48 to [init] %25 // id: %49
dealloc_stack %28 // id: %50
dealloc_stack %26 // id: %51
// function_ref closure #2 in closure #1 in static Predicate.combining<A>(_:nextPartialResult:)
%52 = function_ref @$s20FoundationEssentials9PredicateV08CompoundC0E9combining_17nextPartialResultACyqd___QPGSayAGG_AA08StandardC10Expression_pSb6OutputAA0cJ0PRts_XPAaI_pSbAMRS_XP_AaI_pSbAMRS_XPtXEtlFZAaI_pSbAMRS_XPAA0C11ExpressionsO8VariableVy_qd__GXEfU_AaI_pSbAMRS_XPAaI_pSbAMRS_XP_AaI_pSbAMRS_XPtcfU0_ : $@convention(thin) (@in_guaranteed any StandardPredicateExpression<Bool>, @in_guaranteed any StandardPredicateExpression<Bool>, @guaranteed @noescape @callee_guaranteed (@in_guaranteed any StandardPredicateExpression<Bool>, @in_guaranteed any StandardPredicateExpression<Bool>) -> @out any StandardPredicateExpression<Bool>) -> @out any StandardPredicateExpression<Bool> // user: %53
%53 = partial_apply [callee_guaranteed] %52(%3) : $@convention(thin) (@in_guaranteed any StandardPredicateExpression<Bool>, @in_guaranteed any StandardPredicateExpression<Bool>, @guaranteed @noescape @callee_guaranteed (@in_guaranteed any StandardPredicateExpression<Bool>, @in_guaranteed any StandardPredicateExpression<Bool>) -> @out any StandardPredicateExpression<Bool>) -> @out any StandardPredicateExpression<Bool> // users: %68, %54, %67, %80
debug_value %53, let, name "closure" // id: %54
%55 = alloc_stack $ArraySlice<any StandardPredicateExpression<Bool>> // users: %64, %79, %62
retain_value %22 // id: %56
%57 = alloc_stack $Array<any StandardPredicateExpression<Bool>> // users: %58, %63, %62
store %22 to %57 // id: %58
// function_ref default argument 0 of Collection.dropFirst(_:)
%59 = function_ref @$sSlsE9dropFirsty11SubSequenceQzSiFfA_ : $@convention(thin) <τ_0_0 where τ_0_0 : Collection> () -> Int // user: %60
%60 = apply %59<[any StandardPredicateExpression<Bool>]>() : $@convention(thin) <τ_0_0 where τ_0_0 : Collection> () -> Int // user: %62
// function_ref Collection.dropFirst(_:)
%61 = function_ref @$sSlsE9dropFirsty11SubSequenceQzSiF : $@convention(method) <τ_0_0 where τ_0_0 : Collection> (Int, @in τ_0_0) -> @out τ_0_0.SubSequence // user: %62
%62 = apply %61<[any StandardPredicateExpression<Bool>]>(%55, %60, %57) : $@convention(method) <τ_0_0 where τ_0_0 : Collection> (Int, @in τ_0_0) -> @out τ_0_0.SubSequence
dealloc_stack %57 // id: %63
%64 = load %55 // user: %66
%65 = alloc_stack $ArraySlice<any StandardPredicateExpression<Bool>> // users: %66, %78, %77, %73
store %64 to %65 // id: %66
strong_retain %53 // id: %67
%68 = convert_function %53 to $@callee_guaranteed (@in_guaranteed any StandardPredicateExpression<Bool>, @in_guaranteed any StandardPredicateExpression<Bool>) -> (@out any StandardPredicateExpression<Bool>, @error any Error) // users: %70, %69, %75, %76
strong_retain %68 // id: %69
%70 = convert_escape_to_noescape %68 to $@noescape @callee_guaranteed (@in_guaranteed any StandardPredicateExpression<Bool>, @in_guaranteed any StandardPredicateExpression<Bool>) -> (@out any StandardPredicateExpression<Bool>, @error any Error) // user: %71
%71 = convert_function %70 to $@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1, τ_0_2> (@in_guaranteed τ_0_0, @in_guaranteed τ_0_1) -> (@out τ_0_2, @error any Error) for <any StandardPredicateExpression<Bool>, any StandardPredicateExpression<Bool>, any StandardPredicateExpression<Bool>> // user: %73
// function_ref Sequence.reduce<A>(_:_:)
%72 = function_ref @$sSTsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF : $@convention(method) <τ_0_0 where τ_0_0 : Sequence><τ_1_0> (@in_guaranteed τ_1_0, @guaranteed @noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1, τ_0_2> (@in_guaranteed τ_0_0, @in_guaranteed τ_0_1) -> (@out τ_0_2, @error any Error) for <τ_1_0, τ_0_0.Element, τ_1_0>, @in_guaranteed τ_0_0) -> (@out τ_1_0, @error any Error) // user: %73
try_apply %72<ArraySlice<any StandardPredicateExpression<Bool>>, any StandardPredicateExpression<Bool>>(%0, %25, %71, %65) : $@convention(method) <τ_0_0 where τ_0_0 : Sequence><τ_1_0> (@in_guaranteed τ_1_0, @guaranteed @noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1, τ_0_2> (@in_guaranteed τ_0_0, @in_guaranteed τ_0_1) -> (@out τ_0_2, @error any Error) for <τ_1_0, τ_0_0.Element, τ_1_0>, @in_guaranteed τ_0_0) -> (@out τ_1_0, @error any Error), normal bb4, error bb7 // id: %73
bb4(%74 : $()): // Preds: bb3
strong_release %68 // id: %75
strong_release %68 // id: %76
destroy_addr %65 // id: %77
dealloc_stack %65 // id: %78
dealloc_stack %55 // id: %79
strong_release %53 // id: %80
destroy_addr %25 // id: %81
dealloc_stack %25 // id: %82
release_value %22 // id: %83
br bb5 // id: %84
bb5: // Preds: bb4 bb2
%85 = tuple () // user: %92
dealloc_pack_metadata %17 // id: %86
dealloc_stack %16 // id: %87
dealloc_pack_metadata %15 // id: %88
dealloc_pack_metadata %13 // id: %89
dealloc_stack %11 // id: %90
dealloc_pack_metadata %5 // id: %91
return %85 // id: %92
bb6: // Preds: bb0
unreachable // id: %93
bb7(%94 : $any Error): // Preds: bb3
unreachable // id: %95
} // end sil function '$s20FoundationEssentials9PredicateV08CompoundC0E9combining_17nextPartialResultACyqd___QPGSayAGG_AA08StandardC10Expression_pSb6OutputAA0cJ0PRts_XPAaI_pSbAMRS_XP_AaI_pSbAMRS_XPtXEtlFZAaI_pSbAMRS_XPAA0C11ExpressionsO8VariableVy_qd__GXEfU_'
Allocated the following on-stack pack metadata:
- Metadata Pack: %16 = alloca [1 x ptr], align 8
define internal swiftcc void @"$s20FoundationEssentials9PredicateV08CompoundC0E9combining_17nextPartialResultACyqd___QPGSayAGG_AA08StandardC10Expression_pSb6OutputAA0cJ0PRts_XPAaI_pSbAMRS_XP_AaI_pSbAMRS_XPtXEtlFZAaI_pSbAMRS_XPAA0C11ExpressionsO8VariableVy_qd__GXEfU_"(ptr noalias nocapture sret(%T20FoundationEssentials27StandardPredicateExpression_pSb6OutputAA0dE0PRts_XP) %0, ptr noalias %1, ptr %2, ptr %3, ptr %4, i64 %5, ptr %6, ptr %7) #0 !dbg !5 {
%9 = alloca ptr, align 8
#dbg_declare(ptr %9, !23, !DIExpression(), !27)
%10 = alloca ptr, align 8
#dbg_declare(ptr %10, !28, !DIExpression(), !27)
%11 = alloca i64, align 8
#dbg_declare(ptr %11, !30, !DIExpression(), !41)
call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 8, i1 false)
%12 = alloca ptr, align 8
#dbg_declare(ptr %12, !42, !DIExpression(), !52)
call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 8, i1 false)
%13 = alloca %swift.noescape.function, align 8
#dbg_declare(ptr %13, !53, !DIExpression(), !55)
call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 16, i1 false)
%14 = alloca %TSa, align 8
%15 = alloca swifterror ptr, align 8
store ptr null, ptr %15, align 8
%16 = alloca [1 x ptr], align 8
%17 = alloca i1, align 1
%18 = ptrtoint ptr %6 to i64
%19 = and i64 %18, -2
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %9, align 8
store ptr %7, ptr %10, align 8
%21 = getelementptr inbounds ptr, ptr %1, i64 0, !dbg !56
%22 = load ptr, ptr %21, align 8, !dbg !56
%23 = getelementptr inbounds %T20FoundationEssentials20PredicateExpressionsO8VariableV, ptr %22, i32 0, i32 0, !dbg !56
%24 = getelementptr inbounds %T20FoundationEssentials20PredicateExpressionsO10VariableIDV, ptr %23, i32 0, i32 0, !dbg !56
%25 = getelementptr inbounds %TSu, ptr %24, i32 0, i32 0, !dbg !56
%26 = load i64, ptr %25, align 8, !dbg !56
store i64 %26, ptr %11, align 8, !dbg !27
store ptr %2, ptr %12, align 8, !dbg !58
#dbg_value(i64 1, !62, !DIExpression(), !27)
call void @llvm.lifetime.start.p0(i64 16, ptr %13), !dbg !65
%27 = getelementptr inbounds %swift.noescape.function, ptr %13, i32 0, i32 0, !dbg !58
store ptr %3, ptr %27, align 8, !dbg !58
%28 = getelementptr inbounds %swift.noescape.function, ptr %13, i32 0, i32 1, !dbg !58
store ptr %4, ptr %28, align 8, !dbg !58
call void @llvm.lifetime.start.p0(i64 8, ptr %14), !dbg !67
%29 = getelementptr inbounds %TSa, ptr %14, i32 0, i32 0, !dbg !70
%30 = getelementptr inbounds %Ts22_ContiguousArrayBufferV, ptr %29, i32 0, i32 0, !dbg !70
store ptr %2, ptr %30, align 8, !dbg !70
%31 = alloca i8, i64 48, align 16, !dbg !71
%32 = getelementptr inbounds <{ %swift.refcounted, [24 x i8], %T20FoundationEssentials20PredicateExpressionsO8VariableV }>, ptr %31, i32 0, i32 1, !dbg !71
store i64 %5, ptr %32, align 8, !dbg !71
%33 = getelementptr inbounds ptr, ptr %32, i32 1, !dbg !71
store ptr %6, ptr %33, align 8, !dbg !71
%34 = getelementptr inbounds ptr, ptr %32, i32 2, !dbg !71
store ptr %7, ptr %34, align 8, !dbg !71
%35 = getelementptr inbounds <{ %swift.refcounted, [24 x i8], %T20FoundationEssentials20PredicateExpressionsO8VariableV }>, ptr %31, i32 0, i32 2, !dbg !71
%36 = getelementptr inbounds %T20FoundationEssentials20PredicateExpressionsO8VariableV, ptr %35, i32 0, i32 0, !dbg !71
%37 = getelementptr inbounds %T20FoundationEssentials20PredicateExpressionsO10VariableIDV, ptr %36, i32 0, i32 0, !dbg !71
%38 = getelementptr inbounds %TSu, ptr %37, i32 0, i32 0, !dbg !71
store i64 %26, ptr %38, align 8, !dbg !71
call void @llvm.lifetime.start.p0(i64 8, ptr %16), !dbg !72
%39 = getelementptr inbounds [1 x ptr], ptr %16, i32 0, i32 0, !dbg !72
store ptr %7, ptr %39, align 8, !dbg !72
%40 = call swiftcc %swift.metadata_response @"$s20FoundationEssentials9PredicateVMa"(i64 255, i64 1, ptr %16) #15, !dbg !72
%41 = extractvalue %swift.metadata_response %40, 0, !dbg !72
%42 = extractvalue %swift.metadata_response %40, 1, !dbg !72
%43 = call swiftcc %swift.metadata_response @"$sSaMa"(i64 0, ptr %41) #15, !dbg !72
%44 = extractvalue %swift.metadata_response %43, 0, !dbg !72
%45 = call ptr @__swift_instantiateConcreteTypeFromMangledName(ptr @"$s20FoundationEssentials27StandardPredicateExpression_pSb6OutputAA0dE0PRts_XPMD") #11, !dbg !72
%46 = call ptr @swift_getWitnessTable(ptr @"$sSayxGSlsMc", ptr %44, ptr undef) #11, !dbg !72
%47 = call swiftcc ptr @"$sSlsE3mapySayqd__Gqd__7ElementQzqd_0_YKXEqd_0_YKs5ErrorRd_0_r0_lF"(ptr @"$s20FoundationEssentials9PredicateV08CompoundC0E9combining_17nextPartialResultACyqd___QPGSayAGG_AA08StandardC10Expression_pSb6OutputAA0cJ0PRts_XPAaI_pSbAMRS_XP_AaI_pSbAMRS_XPtXEtlFZAaI_pSbAMRS_XPAA0C11ExpressionsO8VariableVy_qd__GXEfU_AaI_pSbAMRS_XPAGXEfU_TA", ptr %31, ptr %44, ptr %45, ptr @"$ss5NeverON", ptr %46, ptr @"$ss5NeverOs5ErrorsWP", ptr noalias swiftself %14, ptr noalias nocapture swifterror dereferenceable(8) %15, ptr undef), !dbg !72
%48 = load ptr, ptr %15, align 8, !dbg !72
%49 = icmp ne ptr %48, null, !dbg !72
%50 = ptrtoint ptr %48 to i64, !dbg !72
br i1 %49, label %57, label %51, !dbg !72
51: ; preds = %8
%52 = phi ptr [ %47, %8 ], !dbg !73
53: ; No predecessors!
54: ; No predecessors!
55: ; No predecessors!
56: ; No predecessors!
57: ; preds = %8
store ptr null, ptr %15, align 8, !dbg !72
58: ; No predecessors!
%59 = phi ptr , !dbg !74
}
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Instruction resulted in on-stack pack metadata emission but no cleanup instructions were added
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 -primary-file /host/spi-builder-workspace/Sources/CompoundPredicate/Predicate+combining.swift /host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift /host/spi-builder-workspace/Sources/CompoundPredicate/RuntimeWarnings.swift /host/spi-builder-workspace/Sources/CompoundPredicate/VariableReplacing.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CompoundPredicate.build/Predicate+combining.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CompoundPredicate.build/Predicate+combining.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CompoundPredicate.build/Predicate+combining.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -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 SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -g -Xcc -fno-omit-frame-pointer -no-auto-bridging-header-chaining -module-name CompoundPredicate -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -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/CompoundPredicate.build/Predicate+combining.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.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
2. Compiling with effective version 5.10
3. While evaluating request IRGenRequest(IR Generation for file "/host/spi-builder-workspace/Sources/CompoundPredicate/Predicate+combining.swift")
4. While emitting IR SIL function "@$s20FoundationEssentials9PredicateV08CompoundC0E9combining_17nextPartialResultACyqd___QPGSayAGG_AA08StandardC10Expression_pSb6OutputAA0cJ0PRts_XPAaI_pSbAMRS_XP_AaI_pSbAMRS_XPtXEtlFZAaI_pSbAMRS_XPAA0C11ExpressionsO8VariableVy_qd__GXEfU_".
for expression at [/host/spi-builder-workspace/Sources/CompoundPredicate/Predicate+combining.swift:53:29 - line:67:9] RangeText="{ variable in
let expressions = predicates.map({
$0.expression.replacingVariable($0.variable, with: variable)
})
guard let first = expressions.first else {
return PredicateExpressions.Value(true)
}
let closure: (any StandardPredicateExpression<Bool>, any StandardPredicateExpression<Bool>) -> any StandardPredicateExpression<Bool> = {
nextPartialResult($0,$1)
}
return expressions.dropFirst().reduce(first, closure)
"
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 0x000055fbd540a918
1 swift-frontend 0x000055fbd540843e
2 swift-frontend 0x000055fbd540afb1
3 libc.so.6 0x00007f4da3b83520
4 libc.so.6 0x00007f4da3bd79fc pthread_kill + 300
5 libc.so.6 0x00007f4da3b83476 raise + 22
6 libc.so.6 0x00007f4da3b697f3 abort + 211
7 swift-frontend 0x000055fbcdafcc05
8 swift-frontend 0x000055fbd535e2f9
9 swift-frontend 0x000055fbd535e1e6
10 swift-frontend 0x000055fbcdf488b8
11 swift-frontend 0x000055fbcdf2edf0
12 swift-frontend 0x000055fbcdf2b995
13 swift-frontend 0x000055fbcddc638b
14 swift-frontend 0x000055fbcdc39dbc
15 swift-frontend 0x000055fbcdcaf5bc
16 swift-frontend 0x000055fbcdcaf519
17 swift-frontend 0x000055fbcdc441b4
18 swift-frontend 0x000055fbcdc3c418
19 swift-frontend 0x000055fbcd7a80c6
20 swift-frontend 0x000055fbcd7a3b85
21 swift-frontend 0x000055fbcd7a284e
22 swift-frontend 0x000055fbcd7b442a
23 swift-frontend 0x000055fbcd7a57de
24 swift-frontend 0x000055fbcd7a4878
25 swift-frontend 0x000055fbcd52026b
26 libc.so.6 0x00007f4da3b6ad90
27 libc.so.6 0x00007f4da3b6ae40 __libc_start_main + 128
28 swift-frontend 0x000055fbcd51f265
BUILD FAILURE 6.2 linux