The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCurrent, reference 5.1.12 (ec91f6), with Swift 6.1 for Wasm on 28 May 2025 11:11:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wwt/SwiftCurrent.git
Reference: 5.1.12
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/wwt/SwiftCurrent
 * tag               5.1.12     -> FETCH_HEAD
HEAD is now at ec91f63 [ci skip] Apply automatic changes
Cloned https://github.com/wwt/SwiftCurrent.git
Revision (git rev-parse @):
ec91f6355a5041ebe15d5e6a068bf7562b1ae20d
SUCCESS checkout https://github.com/wwt/SwiftCurrent.git at 5.1.12
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wwt/SwiftCurrent.git
https://github.com/wwt/SwiftCurrent.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cwlpreconditiontesting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0-beta.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlPreconditionTesting.git"
    },
    {
      "identity" : "cwlcatchexception",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0-beta.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlCatchException.git"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    },
    {
      "identity" : "exceptioncatcher",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sindresorhus/ExceptionCatcher"
    },
    {
      "identity" : "viewinspector",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nalexn/ViewInspector.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "0.50600.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "SwiftCurrent",
  "name" : "SwiftCurrent",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCurrent",
      "targets" : [
        "SwiftCurrent"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftCurrent_UIKit",
      "targets" : [
        "SwiftCurrent_UIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftCurrent_SwiftUI",
      "targets" : [
        "SwiftCurrent_SwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftCurrent_Testing",
      "targets" : [
        "SwiftCurrent_Testing_ObjC",
        "SwiftCurrent_Testing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftCurrent_CLI",
      "targets" : [
        "SwiftCurrent_CLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCurrent_UIKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCurrent_UIKit",
      "path" : "Sources/SwiftCurrent_UIKit",
      "product_memberships" : [
        "SwiftCurrent_UIKit"
      ],
      "sources" : [
        "Extensions/DeprecatedWorkflowUIKitAdditions.swift",
        "Extensions/FlowPersistenceAdditions.swift",
        "Extensions/LaunchStyleAdditions.swift",
        "Extensions/NSObjectExtensions.swift",
        "Extensions/UIViewControllerAdditions.swift",
        "Extensions/WorkflowDecodableExtensions_UIKit.swift",
        "Extensions/WorkflowUIKitAdditions.swift",
        "StoryboardLoadable.swift",
        "SwiftUIInterop/HostedWorkflowItem.swift",
        "UIKitPresenter.swift",
        "UIWorkflowItem.swift"
      ],
      "target_dependencies" : [
        "SwiftCurrent"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftCurrent_Testing_ObjC",
      "module_type" : "ClangTarget",
      "name" : "SwiftCurrent_Testing_ObjC",
      "path" : "Sources/SwiftCurrent_Testing_ObjC",
      "product_memberships" : [
        "SwiftCurrent_Testing"
      ],
      "sources" : [
        "NSObjectLoadable.m",
        "XCTestHooks.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftCurrent_Testing",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCurrent_Testing",
      "path" : "Sources/SwiftCurrent_Testing",
      "product_memberships" : [
        "SwiftCurrent_Testing"
      ],
      "sources" : [
        "AnyWorkflowAdditions.swift",
        "CustomAssertions.swift",
        "FlowRepresentableMetadataAdditions.swift",
        "MockOrchestrationResponder.swift",
        "TestEventReceiver.swift",
        "TestRegistry.swift",
        "ViewControllerAdditions.swift"
      ],
      "target_dependencies" : [
        "SwiftCurrent_Testing_ObjC",
        "SwiftCurrent"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftCurrent_SwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCurrent_SwiftUI",
      "path" : "Sources/SwiftCurrent_SwiftUI",
      "product_memberships" : [
        "SwiftCurrent_SwiftUI"
      ],
      "sources" : [
        "Deprecations/WorkflowLauncherDeprecations.swift",
        "Extensions/AnyWorkflowElementExtensions.swift",
        "Extensions/AnyWorkflowExtensions.swift",
        "Extensions/SwiftUIFlowPersistenceAdditions.swift",
        "Extensions/SwiftUILaunchStyleAdditions.swift",
        "Extensions/ViewBuilderExtensions.swift",
        "Extensions/WorkflowDecodableExtensions.swift",
        "Models/ExtendedFlowRepresentableMetadata.swift",
        "Models/Launcher.swift",
        "Models/WorkflowViewModel.swift",
        "Protocols/_WorkflowItemProtocol.swift",
        "ResultBuilders/WorkflowBuilder.swift",
        "TypeErased/AnyFlowRepresentableView.swift",
        "TypeErased/AnyWorkflowItem.swift",
        "ViewInspector/InspectableSheet.swift",
        "ViewInspector/Inspection.swift",
        "ViewModifiers/ModalModifier.swift",
        "ViewModifiers/NavigationWrapper.swift",
        "Views/EitherWorkflowItem.swift",
        "Views/OptionalWorkflowItem.swift",
        "Views/ViewControllerWrapper.swift",
        "Views/WorkflowGroup.swift",
        "Views/WorkflowItem.swift",
        "Views/WorkflowItemWrapper.swift",
        "Views/WorkflowLauncher.swift",
        "Views/WorkflowView.swift"
      ],
      "target_dependencies" : [
        "SwiftCurrent"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftCurrent_CLI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCurrent_CLI",
      "path" : "Sources/SwiftCurrent_CLI",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxParser",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "SwiftCurrent_CLI"
      ],
      "sources" : [
        "Commands/Generate.swift",
        "Commands/IR.swift",
        "Commands/SwiftCurrent.swift",
        "Commands/TypeRegistry.swift",
        "Extensions/ArrayExtensions.swift",
        "Extensions/URLExtensions.swift",
        "Models/ConformingDeclaration.swift",
        "Models/Either.swift",
        "Models/IRGenerator.swift",
        "Parser/Declaration.swift",
        "Parser/File.swift",
        "Parser/SourceVisitor.swift",
        "Parser/SyntaxNode.swift",
        "Protocols/DeclarationSyntax.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftCurrentTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCurrentTests",
      "path" : "Tests/SwiftCurrentTests",
      "product_dependencies" : [
        "CwlPreconditionTesting",
        "CwlCatchException",
        "ExceptionCatcher",
        "Algorithms"
      ],
      "sources" : [
        "CustomAssertions.swift",
        "FlowPersistenceTests.swift",
        "GenericConstraintTests.swift",
        "JsonSpecificationTests.swift",
        "LaunchStyleTests.swift",
        "LinkedListTests.swift",
        "Metadata/FlowRepresentableMetadataConsumerTests.swift",
        "Metadata/FlowRepresentableMetadataTests.swift",
        "Metadata/WorkflowDecodableConsumerTests.swift",
        "OrchestrationResponder/OrchestrationResponderTests.swift",
        "OrchestrationResponder/PersistenceTests.swift",
        "OrchestrationResponder/SkipThroughWorkflowTests.swift",
        "PassthroughFlowRepresentableTests.swift",
        "WorkflowConsumerTests.swift",
        "WorkflowTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftCurrent",
        "SwiftCurrent_Testing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCurrentMultiPlatformTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCurrentMultiPlatformTests",
      "path" : "Tests/SwiftCurrentMultiPlatformTests",
      "sources" : [
        "JsonSpecificationTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCurrent",
        "SwiftCurrent_Testing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCurrent_SwiftUITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCurrent-SwiftUITests",
      "path" : "Tests/SwiftCurrent_SwiftUITests",
      "product_dependencies" : [
        "CwlPreconditionTesting",
        "CwlCatchException",
        "ViewInspector",
        "Algorithms"
      ],
      "sources" : [
        "AnyFlowRepresentableViewTests.swift",
        "AnyWorkflowTests.swift",
        "CustomAssertions.swift",
        "GenericConstraintTests.swift",
        "PersistenceTests.swift",
        "SkipTests.swift",
        "SwiftCurrent_ModalTests.swift",
        "SwiftCurrent_NavigationLinkTests.swift",
        "SwiftCurrent_SwiftUITests.swift",
        "SwiftCurrent_SwiftUI_WorkflowBuilderArityTests.swift",
        "SwiftCurrent_SwiftUI_WorkflowBuilderTests.swift",
        "SwiftUILaunchStyleAdditionTests.swift",
        "TestConstant.swift",
        "TestExtensions/XCTestCaseExtensions.swift",
        "ViewInspector/InspectableExtensions.swift",
        "ViewInspector/ViewHostingExtensions.swift",
        "WorkflowDecodableExtensionsTests.swift",
        "WorkflowItemExtensions.swift",
        "WorkflowItemTests.swift",
        "WorkflowViewModelTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCurrent",
        "SwiftCurrent_Testing",
        "SwiftCurrent_SwiftUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCurrent",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCurrent",
      "path" : "Sources/SwiftCurrent",
      "product_memberships" : [
        "SwiftCurrent",
        "SwiftCurrent_UIKit",
        "SwiftCurrent_SwiftUI",
        "SwiftCurrent_Testing"
      ],
      "sources" : [
        "Deprecations/PersistenceDeprecations.swift",
        "Deprecations/PresenterDeprecations.swift",
        "Deprecations/WorkflowDeprecations.swift",
        "Errors/WorkflowError.swift",
        "Extensions/CollectionExtensions.swift",
        "Extensions/DecoderExtensions.swift",
        "LinkedList/LinkedList.swift",
        "LinkedList/LinkedListComparable.swift",
        "LinkedList/LinkedListEquatable.swift",
        "LinkedList/LinkedListIterator.swift",
        "LinkedList/LinkedListMutatingOperations.swift",
        "LinkedList/LinkedListNode.swift",
        "LinkedList/LinkedListNonMutatingOperations.swift",
        "LinkedList/LinkedListSorting.swift",
        "Models/FlowPersistence.swift",
        "Models/FlowRepresentableMetadata.swift",
        "Models/LaunchStyle.swift",
        "Models/Workflow.swift",
        "Models/_WorkflowItem.swift",
        "PropertyWrappers/DecodeWorkflow.swift",
        "Protocols/FlowRepresentable.swift",
        "Protocols/FlowRepresentableAggregator.swift",
        "Protocols/OrchestrationResponder.swift",
        "Protocols/PassthroughFlowRepresentable.swift",
        "Protocols/WorkflowDecodable.swift",
        "TestOnly/TestOnly.swift",
        "TypeErased/AnyFlowRepresentable.swift",
        "TypeErased/AnyWorkflow.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/sindresorhus/ExceptionCatcher
Fetching https://github.com/nalexn/ViewInspector.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
[456/551] Fetching cwlcatchexception, exceptioncatcher
[552/6510] Fetching cwlcatchexception, exceptioncatcher, swift-algorithms
[1566/18922] Fetching cwlcatchexception, exceptioncatcher, swift-algorithms, viewinspector
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.40s)
[8419/18467] Fetching exceptioncatcher, swift-algorithms, viewinspector
Fetched https://github.com/sindresorhus/ExceptionCatcher from cache (0.40s)
[9684/18371] Fetching swift-algorithms, viewinspector
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[18372/33722] Fetching swift-algorithms, viewinspector, swift-argument-parser
[21596/34979] Fetching swift-algorithms, viewinspector, swift-argument-parser, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.34s)
[27736/33722] Fetching swift-algorithms, viewinspector, swift-argument-parser
[32342/104170] Fetching swift-algorithms, viewinspector, swift-argument-parser, swift-syntax
Fetched https://github.com/nalexn/ViewInspector.git from cache (1.14s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.14s)
[15822/76407] Fetching swift-algorithms, swift-syntax
Fetched https://github.com/apple/swift-algorithms from cache (6.31s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.38s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (7.70s)
Computing version for https://github.com/sindresorhus/ExceptionCatcher
Computed https://github.com/sindresorhus/ExceptionCatcher at 2.2.0 (0.75s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.61s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.50s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.10.1 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.69s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.61s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.62s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/sindresorhus/ExceptionCatcher
Working copy of https://github.com/sindresorhus/ExceptionCatcher resolved at 2.2.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/25] Write sources
/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/NSObjectLoadable.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/25] Compiling SwiftCurrent_Testing_ObjC NSObjectLoadable.m
[10/25] Compiling atomic-counter.c
/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/XCTestHooks.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/25] Compiling SwiftCurrent_Testing_ObjC XCTestHooks.m
[10/25] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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
Building for debugging...
[1/16] Compiling atomic-counter.c
/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/XCTestHooks.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/16] Compiling SwiftCurrent_Testing_ObjC XCTestHooks.m
[2/16] Compiling SwiftCurrent_Testing_ObjC NSObjectLoadable.m
[2/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm