Build Information
Failed to build package-resources-cli, reference main (b2838b), with Swift 6.1 for macOS (SPM) on 6 Sep 2026 08:25:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/capturecontext/package-resources-cli.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/capturecontext/package-resources-cli
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b2838b4 Merge pull request #9 from CaptureContext/codex/dev229-resource-inputs
Cloned https://github.com/capturecontext/package-resources-cli.git
Revision (git rev-parse @):
b2838b44473e2102ff77b3c6557da69c71b18810
SUCCESS checkout https://github.com/capturecontext/package-resources-cli.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/capturecontext/package-resources-cli.git
https://github.com/capturecontext/package-resources-cli.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "6.2.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/yams.git"
},
{
"identity" : "swift-package-resources",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swift-package-resources.git"
},
{
"identity" : "swift-xcstrings-catalog",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swift-xcstrings-catalog.git"
},
{
"identity" : "swift-function-composition",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.3",
"upper_bound" : "0.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swift-function-composition.git"
},
{
"identity" : "swift-keypaths-extensions",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.2",
"upper_bound" : "0.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swift-keypaths-extensions.git"
},
{
"identity" : "swift-casification",
"requirement" : {
"revision" : [
"32a8de52e24cae336065925a0e3df2bfb2a9f010"
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swift-casification.git"
},
{
"identity" : "swift-snippets",
"requirement" : {
"revision" : [
"aeb54d10efb0be0a2f3b5b70d3e88e2df0649281"
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swift-snippets.git"
},
{
"identity" : "swiftlang-snippets",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swiftlang-snippets.git"
},
{
"identity" : "swift-case-paths",
"requirement" : {
"range" : [
{
"lower_bound" : "1.10.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-case-paths.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.19.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "package-resources-cli",
"name" : "package-resources-cli",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "package-resources-plugin",
"targets" : [
"package-resources-plugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "package-resources-cli-plugin",
"targets" : [
"package-resources-cli-plugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "PackageResourcesClient",
"targets" : [
"PackageResourcesClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PackageResourcesManifest",
"targets" : [
"PackageResourcesManifest"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_ExportedPackageResources",
"targets" : [
"_ExportedPackageResources"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_ExportedPackageResourcesCore",
"targets" : [
"_ExportedPackageResourcesCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "package-resources-cli",
"targets" : [
"package-resources-cli"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "package_resources_plugin",
"module_type" : "PluginTarget",
"name" : "package-resources-plugin",
"path" : "Plugins/package-resources-plugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"package-resources-plugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"package-resources-cli"
],
"type" : "plugin"
},
{
"c99name" : "package_resources_cli_plugin",
"module_type" : "PluginTarget",
"name" : "package-resources-cli-plugin",
"path" : "Plugins/package-resources-cli-plugin",
"plugin_capability" : {
"intent" : {
"description" : "manages package-resources-cli configuration",
"type" : "custom",
"verb" : "resources"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "Write permission is needed to create and modify config files for package-resources-cli",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"package-resources-cli-plugin"
],
"sources" : [
"Plugin.swift"
],
"target_dependencies" : [
"package-resources-cli"
],
"type" : "plugin"
},
{
"c99name" : "package_resources_cli",
"module_type" : "SwiftTarget",
"name" : "package-resources-cli",
"path" : "Sources/package-resources-cli",
"product_dependencies" : [
"ArgumentParser",
"Yams",
"CasePaths"
],
"product_memberships" : [
"package-resources-plugin",
"package-resources-cli-plugin",
"package-resources-cli"
],
"sources" : [
"CLI.swift",
"Commands/App.swift",
"Commands/Config/ConfigCommand.swift",
"Commands/Config/ConfigEditCommand.swift",
"Commands/Config/ConfigInitCommand.swift",
"Commands/Config/ConfigValidateCommand.swift",
"Commands/Generate/GenerateCommand.swift",
"Configuration/CamelCaseConfig+Argument.swift",
"Configuration/CamelCaseConfig.swift",
"Helpers/ANSI.swift",
"Helpers/Array+.swift",
"Helpers/Optional+.swift",
"Helpers/Reduce.swift",
"Helpers/String+.swift",
"Helpers/_Error.swift"
],
"target_dependencies" : [
"PackageResourcesClient",
"PackageResourcesManifest"
],
"type" : "executable"
},
{
"c99name" : "_ExportedPackageResourcesCore",
"module_type" : "SwiftTarget",
"name" : "_ExportedPackageResourcesCore",
"path" : "Sources/Aliases/package-resources-core",
"product_dependencies" : [
"PackageResourcesCore"
],
"product_memberships" : [
"_ExportedPackageResourcesCore"
],
"sources" : [
"Exports.swift"
],
"type" : "library"
},
{
"c99name" : "_ExportedPackageResources",
"module_type" : "SwiftTarget",
"name" : "_ExportedPackageResources",
"path" : "Sources/Aliases/package-resources",
"product_dependencies" : [
"PackageResources"
],
"product_memberships" : [
"_ExportedPackageResources"
],
"sources" : [
"Exports.swift"
],
"type" : "library"
},
{
"c99name" : "PackageResourcesManifestTests",
"module_type" : "SwiftTarget",
"name" : "PackageResourcesManifestTests",
"path" : "Tests/PackageResourcesManifestTests",
"product_dependencies" : [
"SnapshotTestingCustomDump",
"SnapshotTesting",
"Yams"
],
"sources" : [
"ManifestCodingSnapshotTests.swift",
"ManifestV4Tests.swift",
"Snapshotting+YAML.swift"
],
"target_dependencies" : [
"PackageResourcesManifest"
],
"type" : "test"
},
{
"c99name" : "PackageResourcesManifest",
"module_type" : "SwiftTarget",
"name" : "PackageResourcesManifest",
"path" : "Sources/package-resources-manifest",
"product_dependencies" : [
"ArgumentParser",
"Yams",
"CasePaths"
],
"product_memberships" : [
"package-resources-plugin",
"package-resources-cli-plugin",
"PackageResourcesManifest",
"package-resources-cli"
],
"sources" : [
"AcronymsConfig/AcronymsConfig+ProcessingPolicy.swift",
"AcronymsConfig/Manifest+AcronymsConfig.swift",
"FormatConfig/Manifest+FormatConfig.swift",
"FormatConfig/Manifest+ResourceFormatConfig.swift",
"Helpers/Array+.swift",
"Helpers/Codable+.swift",
"Helpers/Optional+.swift",
"Helpers/Reduce.swift",
"Helpers/_Error.swift",
"Indentation/Manifest+IndentSize.swift",
"Indentation/Manifest+Indentor.swift",
"Manifest+AccessLevel.swift",
"Manifest+ResourceTypes.swift",
"Manifest+Version.swift",
"Manifest.swift",
"ManifestCoding.swift",
"ManifestLoading.swift",
"NumbersConfig/Manifest+NumbersConfig.swift",
"NumbersConfig/NumbersConfig+AllowedDelimeters.swift",
"NumbersConfig/NumbersConfig+BoundaryOptions.swift",
"NumbersConfig/NumbersConfig+NextTokenMode.swift",
"NumbersConfig/NumbersConfig+Separator.swift"
],
"target_dependencies" : [
"PackageResourcesClient"
],
"type" : "library"
},
{
"c99name" : "PackageResourcesFS",
"module_type" : "SwiftTarget",
"name" : "PackageResourcesFS",
"path" : "Sources/package-resources-fs",
"product_memberships" : [
"package-resources-plugin",
"package-resources-cli-plugin",
"PackageResourcesClient",
"PackageResourcesManifest",
"package-resources-cli"
],
"sources" : [
"Files.swift"
],
"type" : "library"
},
{
"c99name" : "PackageResourcesClientTests",
"module_type" : "SwiftTarget",
"name" : "PackageResourcesClientTests",
"path" : "Tests/PackageResourcesClientTests",
"product_dependencies" : [
"SnapshotTestingCustomDump"
],
"sources" : [
"CollectorsTests/ColorCollectorTests.swift",
"CollectorsTests/FontCollectorTests.swift",
"CollectorsTests/ImageCollectorTests.swift",
"CollectorsTests/NibCollectorTests.swift",
"CollectorsTests/SCNSceneCollectorTests.swift",
"CollectorsTests/StoryboardCollectorTests.swift",
"CollectorsTests/XCStringCollectorTests.swift",
"PackageResourcesClientTests.swift",
"ProcessorsTests/ColorProcessorTests.swift",
"ProcessorsTests/FontProcessorTests.swift",
"ProcessorsTests/ImageProcessorTests.swift",
"ProcessorsTests/NibProcessorTests.swift",
"ProcessorsTests/SCNSceneProcessorTests.swift",
"ProcessorsTests/StoryboardProcessorTests.swift",
"ProcessorsTests/XCStringProcessorTests.swift",
"RenderersTests/ColorRendererTests.swift",
"RenderersTests/FontRendererTests.swift",
"RenderersTests/ImageRendererTests.swift",
"RenderersTests/NibRendererTests.swift",
"RenderersTests/SCNSceneRendererTests.swift",
"RenderersTests/StoryboardRendererTests.swift",
"RenderersTests/XCStringRendererTests.swift",
"_Helpers/Snapshotting+Swift.swift",
"_Helpers/WorkingDirectory.swift"
],
"target_dependencies" : [
"PackageResourcesClient"
],
"type" : "test"
},
{
"c99name" : "PackageResourcesClient",
"module_type" : "SwiftTarget",
"name" : "PackageResourcesClient",
"path" : "Sources/package-resources-client",
"product_dependencies" : [
"PackageResourcesCore",
"XCStringsCatalog",
"FunctionComposition",
"KeyPathsExtensions",
"SwiftSnippets"
],
"product_memberships" : [
"package-resources-plugin",
"package-resources-cli-plugin",
"PackageResourcesClient",
"PackageResourcesManifest",
"package-resources-cli"
],
"sources" : [
"CollectResources/CollectResourcesOf.swift",
"CollectResources/CollectableColor.swift",
"CollectResources/CollectableFont.swift",
"CollectResources/CollectableImage.swift",
"CollectResources/CollectableNib.swift",
"CollectResources/CollectableSCNScene.swift",
"CollectResources/CollectableStoryboard.swift",
"CollectResources/CollectableXCString.swift",
"CollectResources/Helpers/FS+CollectResources.swift",
"Helpers/AccessLevel.swift",
"Helpers/NamedType.swift",
"Helpers/PackageResources+.swift",
"Helpers/String+.swift",
"PackageResourcesClient.swift",
"ProcessResources/ProcessResourcesOf.swift",
"RenderResources/RenderResourcesOf.swift",
"RenderResources/RenderableColor.swift",
"RenderResources/RenderableFont.swift",
"RenderResources/RenderableImage.swift",
"RenderResources/RenderableNib.swift",
"RenderResources/RenderableSCNScene.swift",
"RenderResources/RenderableStoryboard.swift",
"RenderResources/RenderableXCString.swift",
"RenderResources/SnippetRendering.swift",
"ResourceFormatConfig/ResourceFormatConfig.swift",
"SourceTypes/ColorSource.swift",
"SourceTypes/FontSource.swift",
"SourceTypes/ImageSource.swift",
"SourceTypes/NibSource.swift",
"SourceTypes/SCNSceneSource.swift",
"SourceTypes/StoryboardSource.swift",
"SourceTypes/XCStringSource.swift"
],
"target_dependencies" : [
"PackageResourcesFS"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
[1/1] Compiling plugin package-resources-cli-plugin
[2/2] Compiling plugin package-resources-plugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/137] Write sources
[6/137] Write package-resources-cli-entitlement.plist
[6/137] Write package-resources-cli-tool-entitlement.plist
[6/137] Write sources
[109/137] Write swift-version-2F0A5646E1D333AE.txt
[110/137] Compiling writer.c
[112/137] Compiling reader.c
[114/137] Compiling scanner.c
[116/137] Compiling parser.c
[117/151] Compiling api.c
[118/151] Compiling emitter.c
[119/181] Compiling _SwiftSyntaxCShims PlatformMutex.c
[121/201] Compiling _Currying Flip.swift
[122/201] Emitting module _Currying
[123/201] Compiling _Currying Curry.swift
[124/201] Compiling _Currying Uncurry.swift
[125/201] Emitting module SwiftSyntax603
[126/201] Compiling SwiftSyntax603 Empty.swift
[127/201] Compiling _Currying Uncurry.swift
[128/201] Compiling _Currying Curry.swift
[129/201] Emitting module _Currying
[130/201] Compiling _Currying Flip.swift
[131/201] Emitting module SwiftSyntax602
[132/201] Compiling SwiftSyntax602 Empty.swift
[133/201] Emitting module SwiftSyntax601
[134/201] Compiling SwiftSyntax601 Empty.swift
[135/211] Emitting module SwiftSyntax600
[136/211] Compiling SwiftSyntax600 Empty.swift
[137/211] Compiling SwiftSyntax510 Empty.swift
[138/211] Emitting module SwiftSyntax510
[139/211] Compiling SwiftSyntax509 Empty.swift
[140/211] Emitting module SwiftSyntax509
[141/215] Compiling SwiftMarkerProtocols _OptionalProtocol.swift
[142/215] Compiling SwiftMarkerProtocols Deprecations.swift
[143/215] Emitting module SwiftMarkerProtocols
[144/215] Compiling SwiftMarkerProtocols _AnyKeyPathProtocol.swift
[145/215] Emitting module SwiftMarkerProtocols
[146/215] Compiling SwiftMarkerProtocols _AnyKeyPathProtocol.swift
[147/215] Compiling SwiftMarkerProtocols Deprecations.swift
[148/215] Compiling SwiftMarkerProtocols _OptionalProtocol.swift
[149/223] Compiling SwiftKeywordsContainer KeywordsContainer.swift
[150/223] Emitting module SwiftKeywordsContainer
[151/223] Compiling SwiftKeywordsContainer KeywordsContainer.swift
[152/223] Emitting module SwiftKeywordsContainer
[153/305] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[154/305] Compiling SwiftSyntax Syntax.swift
[155/305] Compiling SwiftSyntax SyntaxChildren.swift
[156/305] Compiling SwiftSyntax SyntaxCollection.swift
[157/305] Compiling SwiftSyntax SyntaxHashable.swift
[158/305] Compiling SwiftSyntax SyntaxIdentifier.swift
[159/305] Compiling SwiftSyntax SyntaxNodeStructure.swift
[160/312] Compiling SwiftSyntax AbsolutePosition.swift
[161/312] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[162/312] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[163/312] Compiling SwiftSyntax Assert.swift
[164/312] Compiling SwiftSyntax BumpPtrAllocator.swift
[165/312] Compiling SwiftSyntax CommonAncestor.swift
[166/312] Compiling SwiftSyntax Convenience.swift
[167/312] Compiling SwiftSyntax CustomTraits.swift
[168/312] Compiling SwiftSyntax EditorPlaceholder.swift
[169/312] Compiling SwiftSyntax Identifier.swift
[170/312] Compiling SwiftSyntax MemoryLayout.swift
[171/312] Compiling SwiftSyntax MissingNodeInitializers.swift
[172/312] Compiling SwiftSyntax RawSyntax.swift
[173/312] Compiling SwiftSyntax RawSyntaxArena.swift
[174/312] Compiling SwiftSyntax SyntaxProtocol.swift
[175/312] Compiling SwiftSyntax SyntaxText.swift
[176/312] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[177/312] Compiling SwiftSyntax TokenDiagnostic.swift
[178/312] Compiling SwiftSyntax TokenSequence.swift
[179/312] Compiling SwiftSyntax TokenSyntax.swift
[180/312] Compiling SwiftSyntax Trivia.swift
[181/312] Compiling SwiftSyntax SyntaxRewriter.swift
[182/312] Compiling SwiftSyntax SyntaxTraits.swift
[183/314] Emitting module Yams
[184/314] Compiling _XCStringResource XCStringSegment.swift
[185/314] Emitting module _XCStringResource
[186/314] Compiling _XCStringResource XCStringResource+PlaceholderType.swift
[187/314] Compiling _XCStringResource XCStringResource.swift
[188/314] Compiling _XCStringResource XCStringResource+Argument.swift
[189/314] Compiling _XCStringResource XCStringSegment.swift
[190/314] Compiling XCStringsCatalogCore XCStringUnitState.swift
[191/314] Compiling XCStringsCatalogCore XCStringVariation.swift
[192/314] Compiling XCStringsCatalogCore XCStringUnit.swift
[193/314] Emitting module _XCStringResource
[194/314] Compiling XCStringsCatalogCore XCStringVariations.swift
[195/314] Compiling _XCStringResource XCStringResource+PlaceholderType.swift
[196/314] Compiling _XCStringResource XCStringResource+Argument.swift
[197/314] Compiling _XCStringResource XCStringResource.swift
[198/315] Compiling XCStringsCatalogCore XCStringVariations.swift
[199/315] Compiling XCStringsCatalogCore XCStringUnitState.swift
[200/315] Compiling XCStringsCatalogCore XCStringUnit.swift
[201/315] Compiling XCStringsCatalogCore XCStringSubstitution.swift
[202/315] Compiling XCStringsCatalogCore XCStringLanguage.swift
[203/315] Compiling XCStringsCatalogCore XCStringLocalization.swift
[204/315] Compiling XCStringsCatalogCore XCStringExtractionState.swift
[205/315] Compiling XCStringsCatalogCore XCStringVariation.swift
[206/315] Emitting module XCStringsCatalogCore
[207/315] Compiling XCStringsCatalogCore XCStringEntry.swift
[208/316] Compiling XCStringsCatalogCore XCStringLanguage.swift
[209/316] Compiling XCStringsCatalogCore XCStringLocalization.swift
[210/316] Compiling XCStringsCatalogCore XCStringEntry.swift
[211/316] Compiling XCStringsCatalogCore XCStringExtractionState.swift
[212/316] Compiling XCStringsCatalogCore XCStringSubstitution.swift
[213/316] Emitting module XCStringsCatalogCore
[214/318] Compiling Yams YamlError.swift
[215/318] Compiling Yams YamlTagProviding.swift
[216/320] Compiling KeywordsSwift6_3 Keywords.swift
[217/320] Emitting module KeywordsSwift6_3
[219/320] Compiling KeywordsSwift6_3 Keywords.swift
[220/324] Emitting module KeywordsSwift6_2
[221/324] Compiling KeywordsSwift6_2 Keywords.swift
[222/324] Compiling XCStringsCatalogCore XCStringsCatalog.swift
[223/324] Emitting module KeywordsSwift6_2
[224/324] Compiling KeywordsSwift6_2 Keywords.swift
[225/324] Compiling XCStringsCatalogCore XCStringsCatalog.swift
[226/333] Emitting module KeywordsSwift6_1
[227/333] Compiling KeywordsSwift6_1 Keywords.swift
[228/333] Compiling KeywordsSwift6_0 Keywords.swift
[229/333] Emitting module KeywordsSwift6_0
[230/333] Emitting module KeywordsSwift6_1
[231/333] Compiling KeywordsSwift6_1 Keywords.swift
[232/340] Compiling _XCStringsSource XCStringsSourceError.swift
[233/340] Compiling PackageResourcesCore Typealiases.swift
[234/340] Compiling PackageResourcesCore StoryboardResource.swift
[235/340] Compiling PackageResourcesCore SCNSceneResource.swift
[236/340] Emitting module PackageResourcesCore
[237/340] Compiling PackageResourcesCore NibResource.swift
[238/340] Compiling PackageResourcesCore FontResource.swift
[239/340] Compiling PackageResourcesCore ImageResource.swift
[240/340] Compiling PackageResourcesCore XCStringResource.swift
[241/340] Compiling PackageResourcesCore ColorResource.swift
[242/340] Compiling KeywordsLatest Export.swift
[243/340] Compiling PackageResourcesCore Typealiases.swift
[244/340] Compiling PackageResourcesCore StoryboardResource.swift
[245/340] Compiling PackageResourcesCore NibResource.swift
[246/340] Compiling PackageResourcesCore SCNSceneResource.swift
[247/340] Compiling PackageResourcesCore ImageResource.swift
[248/340] Emitting module PackageResourcesCore
[249/340] Compiling PackageResourcesCore FontResource.swift
[250/340] Compiling PackageResourcesCore XCStringResource.swift
[251/340] Compiling PackageResourcesCore ColorResource.swift
[252/340] Emitting module KeywordsLatest
[253/340] Compiling SwiftSyntax SourceLength.swift
[254/340] Compiling SwiftSyntax SourceLocation.swift
[255/340] Compiling SwiftSyntax SyntaxEnum.swift
[256/340] Compiling SwiftSyntax SyntaxKind.swift
[257/340] Compiling SwiftSyntax SourcePresence.swift
[258/340] Compiling SwiftSyntax SyntaxCollections.swift
[259/340] Emitting module _XCStringsSource
[260/340] Compiling _XCStringsSource XCStringsSource.swift
[261/340] Emitting module KeywordsSwift6_0
[262/340] Compiling KeywordsSwift6_0 Keywords.swift
[263/347] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[264/347] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[265/347] Compiling SwiftSyntax Tokens.swift
[266/347] Compiling SwiftSyntax TriviaPieces.swift
[267/347] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[268/347] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[269/347] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[270/347] Compiling SwiftSyntax RawSyntaxNodesC.swift
[271/347] Compiling SwiftSyntax RawSyntaxNodesD.swift
[272/347] Compiling SwiftSyntax RawSyntaxTokenView.swift
[273/347] Compiling SwiftSyntax SourceEdit.swift
[274/347] Compiling KeywordsLatest Export.swift
[275/347] Emitting module KeywordsLatest
[276/416] Emitting module _XCStringsSource
[277/416] Compiling _XCStringsSource XCStringsSource.swift
[278/416] Compiling _XCStringsSource XCStringsSourceError.swift
[279/416] Compiling _ExportedPackageResourcesCore Exports.swift
[280/416] Emitting module _ExportedPackageResourcesCore
[281/441] Compiling SwiftKeywords Keywords.swift
[282/441] Emitting module SwiftKeywords
[283/441] Compiling SwiftKeywords ResolveDefaultVersion.swift
[284/441] Compiling SwiftKeywords WithKeywords.swift
[286/444] Compiling SwiftKeywords ResolveDefaultVersion.swift
[287/444] Compiling SwiftKeywords Keywords.swift
[288/444] Emitting module SwiftKeywords
[289/444] Compiling FunctionCompositionOperators Operators.swift
[290/444] Emitting module FunctionCompositionOperators
[291/444] Compiling FunctionCompositionOperators PrecedenceGroups.swift
[292/449] Emitting module FunctionCompositionOperators
[293/449] Compiling FunctionCompositionOperators Operators.swift
[294/449] Compiling FunctionCompositionOperators PrecedenceGroups.swift
[295/449] Emitting module Either
[296/449] Compiling Either Either.swift
[297/462] Emitting module IssueReporting
[298/464] Emitting module Either
[299/464] Compiling Either Either.swift
[300/464] Compiling IssueReporting LockIsolated.swift
[301/464] Compiling IssueReporting Rethrows.swift
[302/464] Compiling IssueReporting IssueSeverity.swift
[303/464] Compiling IssueReporting FailureObserver.swift
[304/464] Compiling IssueReporting _Test.swift
[305/464] Compiling IssueReporting TestContext.swift
[306/464] Compiling IssueReporting UncheckedSendable.swift
[307/464] Compiling IssueReporting FatalErrorReporter.swift
[308/464] Compiling IssueReporting Unimplemented.swift
[309/464] Compiling IssueReporting SwiftTesting.swift
[310/464] Compiling IssueReporting Warn.swift
[311/464] Compiling IssueReporting XCTest.swift
[312/464] Compiling IssueReporting BreakpointReporter.swift
[313/464] Compiling IssueReporting DefaultReporter.swift
[314/464] Compiling IssueReporting IsTesting.swift
[315/466] Compiling ConcurrencyExtras ActorIsolated.swift
[316/466] Compiling ConcurrencyExtras AnyHashableSendable.swift
[317/466] Compiling IssueReporting Deprecations.swift
[318/466] Compiling IssueReporting IssueReporter.swift
[319/466] Compiling IssueReporting ReportIssue.swift
[320/475] Emitting module IssueReporting
[335/477] Compiling ConcurrencyExtras AnyHashableSendable.swift
[341/477] Compiling ConcurrencyExtras Result.swift
[342/477] Compiling ConcurrencyExtras LockIsolated.swift
[343/477] Compiling ConcurrencyExtras MainSerialExecutor.swift
[344/477] Compiling ConcurrencyExtras UncheckedBox.swift
[345/477] Compiling ConcurrencyExtras Locking.swift
[348/477] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[349/477] Compiling ConcurrencyExtras AsyncStream.swift
[350/477] Compiling ConcurrencyExtras Task.swift
[351/478] Emitting module ConcurrencyExtras
[352/478] Compiling IssueReporting WithExpectedIssue.swift
[353/478] Compiling IssueReporting WithIssueContext.swift
[354/478] Compiling ConcurrencyExtras Result.swift
[355/478] Compiling ConcurrencyExtras MainSerialExecutor.swift
[356/478] Compiling ConcurrencyExtras LockIsolated.swift
[357/478] Compiling ConcurrencyExtras Locking.swift
[358/478] Compiling ConcurrencyExtras Task.swift
[359/478] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[360/478] Compiling ConcurrencyExtras UncheckedBox.swift
[363/479] Emitting module ConcurrencyExtras
[364/479] Compiling ConcurrencyExtras AsyncStream.swift
[365/479] Compiling ConcurrencyExtras UncheckedSendable.swift
[365/479] Compiling parser.c
[369/505] Compiling ConcurrencyExtras UncheckedSendable.swift
[370/527] Emitting module PackageResourcesFS
[371/527] Compiling PackageResourcesFS Files.swift
[373/527] Emitting module PackageResourcesFS
[374/527] Compiling NominalFunctionTypes SyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SendableSyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any SyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[375/528] Compiling NominalFunctionTypes _AnyNominalFunctionType.swift
[376/543] Compiling CasePathsCore UncheckedSendable.swift
[377/543] Compiling CasePathsCore TypeName.swift
[378/543] Compiling CasePathsCore CasePathReflectable.swift
[379/543] Compiling CasePathsCore Never+CasePathable.swift
[380/543] Compiling CasePathsCore Optional+CasePathable.swift
[381/544] Compiling NominalFunctionTypes MainActorSyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:23:23: error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
21 |
22 | @inlinable
23 | public init(_ f: any _MainActorSyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
24 | self.init(f.run)
25 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:14:36: error: unknown attribute 'MainActor'
12 | Output,
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
15 | @usableFromInline
16 | internal var call: @MainActor (Input) throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
12 | Output,
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncThrowingFunction' conformance to defer isolation checking to run time
15 | @usableFromInline
16 | internal var call: @MainActor (Input) throws(Failure) -> Output
:
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorSyncThrowingFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
:
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
30 | return try call(input)
31 | }
[382/544] Compiling NominalFunctionTypes SendableSyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SendableSyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any SyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:23:23: error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
21 |
22 | @inlinable
23 | public init(_ f: any _MainActorSyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
24 | self.init(f.run)
25 | }
[383/544] Compiling NominalFunctionTypes SendableAsyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:13:29: error: unknown attribute 'MainActor'
11 | Input,
12 | Output,
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
14 | @usableFromInline
15 | internal var call: @MainActor (Input) async -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
[384/544] Compiling NominalFunctionTypes AsyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:13:29: error: unknown attribute 'MainActor'
11 | Input,
12 | Output,
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
14 | @usableFromInline
15 | internal var call: @MainActor (Input) async -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
[385/544] Compiling NominalFunctionTypes MainActorAsyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[386/544] Compiling NominalFunctionTypes SendableAsyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[387/544] Compiling NominalFunctionTypes AsyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:25:23: error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
23 |
24 | @inlinable
25 | public init(_ f: any _MainActorAsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
26 | self.init(f.run)
27 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:16:37: error: unknown attribute 'MainActor'
14 | Output,
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
17 | @usableFromInline
18 | internal var call: @MainActor (Input) async throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
12 | public struct MainActorAsyncThrowingFunc<
13 | Input,
14 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
:
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[388/544] Compiling NominalFunctionTypes MainActorAsyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:25:23: error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
23 |
24 | @inlinable
25 | public init(_ f: any _MainActorAsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
26 | self.init(f.run)
27 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:16:37: error: unknown attribute 'MainActor'
14 | Output,
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
17 | @usableFromInline
18 | internal var call: @MainActor (Input) async throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
12 | public struct MainActorAsyncThrowingFunc<
13 | Input,
14 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
:
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[389/544] Compiling NominalFunctionTypes SendableSyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SendableSyncFunc.swift:13:23: error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any SyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
[390/544] Compiling NominalFunctionTypes SyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SendableSyncFunc.swift:13:23: error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any SyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
[391/544] Compiling NominalFunctionTypes Exports.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:12:28: error: unknown attribute 'MainActor'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncFunction' conformance to defer isolation checking to run time
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SyncFunc.swift:7:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
5 | Output
6 | >: AsyncFunction, SyncThrowingFunction where Failure == Never {
7 | func run(with input: Input) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
[392/544] Compiling NominalFunctionTypes MainActorSyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:12:28: error: unknown attribute 'MainActor'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncFunction' conformance to defer isolation checking to run time
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SyncFunc.swift:7:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
5 | Output
6 | >: AsyncFunction, SyncThrowingFunction where Failure == Never {
7 | func run(with input: Input) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[393/557] Emitting module NominalFunctionTypes
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:13:29: error: unknown attribute 'MainActor'
11 | Input,
12 | Output,
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
14 | @usableFromInline
15 | internal var call: @MainActor (Input) async -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:25:23: error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
23 |
24 | @inlinable
25 | public init(_ f: any _MainActorAsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
26 | self.init(f.run)
27 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:16:37: error: unknown attribute 'MainActor'
14 | Output,
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
17 | @usableFromInline
18 | internal var call: @MainActor (Input) async throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
12 | public struct MainActorAsyncThrowingFunc<
13 | Input,
14 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
:
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:12:28: error: unknown attribute 'MainActor'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncFunction' conformance to defer isolation checking to run time
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SyncFunc.swift:7:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
5 | Output
6 | >: AsyncFunction, SyncThrowingFunction where Failure == Never {
7 | func run(with input: Input) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SendableSyncFunc.swift:13:23: error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any SyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:23:23: error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
21 |
22 | @inlinable
23 | public init(_ f: any _MainActorSyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
24 | self.init(f.run)
25 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:14:36: error: unknown attribute 'MainActor'
12 | Output,
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
15 | @usableFromInline
16 | internal var call: @MainActor (Input) throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
12 | Output,
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncThrowingFunction' conformance to defer isolation checking to run time
15 | @usableFromInline
16 | internal var call: @MainActor (Input) throws(Failure) -> Output
:
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorSyncThrowingFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
:
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SendableSyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any SyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[394/557] Compiling CasePathsCore KeyPath+Sendable.swift
[395/557] Compiling CombineSchedulers AnyScheduler.swift
[396/557] Compiling CombineSchedulers Concurrency.swift
[397/557] Compiling CasePathsCore CasePathIterable.swift
[398/557] Emitting module CasePathsCore
[399/557] Compiling CasePathsCore CasePathable.swift
[400/557] Compiling NominalFunctionTypes _MainActorMarkers.swift
Fetching https://github.com/capturecontext/swift-casification.git
[1/405] Fetching swift-casification
Fetched https://github.com/capturecontext/swift-casification.git from cache (0.82s)
Fetching https://github.com/capturecontext/swift-snippets.git
[1/203] Fetching swift-snippets
Fetched https://github.com/capturecontext/swift-snippets.git from cache (0.81s)
Fetching https://github.com/capturecontext/swift-keypaths-extensions.git
Fetching https://github.com/pointfreeco/swift-dependencies.git from cache
Fetching https://github.com/capturecontext/swiftlang-snippets.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetching https://github.com/pointfreeco/swift-case-paths.git from cache
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git from cache
[1/292] Fetching swift-keypaths-extensions
[168/468] Fetching swift-keypaths-extensions, swiftlang-snippets
Fetched https://github.com/capturecontext/swift-keypaths-extensions.git from cache (0.85s)
Fetching https://github.com/capturecontext/swift-function-composition.git
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache (1.10s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (1.10s)
Fetched https://github.com/pointfreeco/swift-case-paths.git from cache (1.11s)
Fetching https://github.com/capturecontext/swift-xcstrings-catalog.git
Fetching https://github.com/capturecontext/swift-package-resources.git
Fetching https://github.com/jpsim/yams.git from cache
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (1.53s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/477] Fetching swift-function-composition
Fetched https://github.com/capturecontext/swift-function-composition.git from cache (0.89s)
[1/234] Fetching swift-package-resources
Fetched https://github.com/capturecontext/swift-package-resources.git from cache (0.85s)
[1/266] Fetching swift-xcstrings-catalog
Fetched https://github.com/capturecontext/swift-xcstrings-catalog.git from cache (1.27s)
Fetched https://github.com/jpsim/yams.git from cache (1.45s)
Fetched https://github.com/capturecontext/swiftlang-snippets.git from cache (3.01s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.04s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.79s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 1.17.1 (3.90s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetching https://github.com/pointfreeco/swift-clocks from cache
Fetching https://github.com/pointfreeco/combine-schedulers from cache
Fetched https://github.com/pointfreeco/swift-clocks from cache (2.76s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (2.76s)
Fetched https://github.com/swiftlang/swift-syntax from cache (2.88s)
Computing version for https://github.com/capturecontext/swift-keypaths-extensions.git
Computed https://github.com/capturecontext/swift-keypaths-extensions.git at 0.2.2 (3.44s)
Fetching https://github.com/capturecontext/swift-keypath-mapping.git
Fetching https://github.com/capturecontext/swift-marker-protocols.git
[1/186] Fetching swift-keypath-mapping
[106/473] Fetching swift-keypath-mapping, swift-marker-protocols
Fetched https://github.com/capturecontext/swift-marker-protocols.git from cache (0.85s)
Fetched https://github.com/capturecontext/swift-keypath-mapping.git from cache (0.85s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.4 (1.38s)
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.12s)
Computing version for https://github.com/pointfreeco/swift-case-paths.git
Computed https://github.com/pointfreeco/swift-case-paths.git at 1.10.0 (4.27s)
Computing version for https://github.com/capturecontext/swiftlang-snippets.git
Computed https://github.com/capturecontext/swiftlang-snippets.git at 0.1.1 (0.48s)
Fetching https://github.com/capturecontext/swift-result-builders.git
Fetching https://github.com/capturecontext/swiftlang-keywords.git
[1/132] Fetching swift-result-builders
[97/306] Fetching swift-result-builders, swiftlang-keywords
Fetched https://github.com/capturecontext/swiftlang-keywords.git from cache (1.36s)
Fetched https://github.com/capturecontext/swift-result-builders.git from cache (1.36s)
Computing version for https://github.com/capturecontext/swift-function-composition.git
Computed https://github.com/capturecontext/swift-function-composition.git at 0.0.3 (2.05s)
Computing version for https://github.com/capturecontext/swift-xcstrings-catalog.git
Computed https://github.com/capturecontext/swift-xcstrings-catalog.git at 1.0.2 (0.66s)
Computing version for https://github.com/capturecontext/swift-package-resources.git
Computed https://github.com/capturecontext/swift-package-resources.git at 5.0.1 (0.48s)
Computing version for https://github.com/capturecontext/swift-marker-protocols.git
Computed https://github.com/capturecontext/swift-marker-protocols.git at 1.5.3 (0.47s)
Computing version for https://github.com/capturecontext/swift-keypath-mapping.git
Computed https://github.com/capturecontext/swift-keypath-mapping.git at 0.0.3 (0.60s)
Computing version for https://github.com/capturecontext/swift-result-builders.git
Computed https://github.com/capturecontext/swift-result-builders.git at 0.0.3 (0.48s)
Computing version for https://github.com/capturecontext/swiftlang-keywords.git
Computed https://github.com/capturecontext/swiftlang-keywords.git at 0.0.4 (0.63s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Computed https://github.com/pointfreeco/xctest-dynamic-overlay.git at 1.13.1 (0.62s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.4.1 (0.48s)
Computing version for https://github.com/jpsim/yams.git
Computed https://github.com/jpsim/yams.git at 6.2.2 (0.48s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.50s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.49s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.49s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.43s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (3.88s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.67s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.48s)
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/jpsim/yams.git
Working copy of https://github.com/jpsim/yams.git resolved at 6.2.2
Creating working copy for https://github.com/capturecontext/swift-keypaths-extensions.git
Working copy of https://github.com/capturecontext/swift-keypaths-extensions.git resolved at 0.2.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.19.4
Creating working copy for https://github.com/capturecontext/swift-function-composition.git
Working copy of https://github.com/capturecontext/swift-function-composition.git resolved at 0.0.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/capturecontext/swiftlang-keywords.git
Working copy of https://github.com/capturecontext/swiftlang-keywords.git resolved at 0.0.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay.git resolved at 1.13.1
Creating working copy for https://github.com/capturecontext/swift-xcstrings-catalog.git
Working copy of https://github.com/capturecontext/swift-xcstrings-catalog.git resolved at 1.0.2
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-dependencies.git
Working copy of https://github.com/pointfreeco/swift-dependencies.git resolved at 1.17.1
Creating working copy for https://github.com/capturecontext/swift-keypath-mapping.git
Working copy of https://github.com/capturecontext/swift-keypath-mapping.git resolved at 0.0.3
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.1
Creating working copy for https://github.com/capturecontext/swift-marker-protocols.git
Working copy of https://github.com/capturecontext/swift-marker-protocols.git resolved at 1.5.3
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras.git
Working copy of https://github.com/pointfreeco/swift-concurrency-extras.git resolved at 1.4.1
Creating working copy for https://github.com/capturecontext/swiftlang-snippets.git
Working copy of https://github.com/capturecontext/swiftlang-snippets.git resolved at 0.1.1
Creating working copy for https://github.com/capturecontext/swift-casification.git
Working copy of https://github.com/capturecontext/swift-casification.git resolved at 32a8de52e24cae336065925a0e3df2bfb2a9f010
Creating working copy for https://github.com/capturecontext/swift-result-builders.git
Working copy of https://github.com/capturecontext/swift-result-builders.git resolved at 0.0.3
Creating working copy for https://github.com/capturecontext/swift-snippets.git
Working copy of https://github.com/capturecontext/swift-snippets.git resolved at aeb54d10efb0be0a2f3b5b70d3e88e2df0649281
Creating working copy for https://github.com/pointfreeco/swift-case-paths.git
Working copy of https://github.com/pointfreeco/swift-case-paths.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/capturecontext/swift-package-resources.git
Working copy of https://github.com/capturecontext/swift-package-resources.git resolved at 5.0.1
warning: 'spi-builder-workspace': dependency 'swift-casification' is not used by any target
warning: 'spi-builder-workspace': dependency 'swift-snippets' is not used by any target
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin package-resources-cli-plugin
[2/2] Compiling plugin package-resources-plugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/20] Write sources
[10/21] Compiling api.c
[11/21] Compiling emitter.c
[12/21] Write swift-version-2F0A5646E1D333AE.txt
[14/66] Compiling SwiftMarkerProtocols _OptionalProtocol.swift
[15/66] Compiling SwiftMarkerProtocols _AnyKeyPathProtocol.swift
[16/66] Compiling SwiftMarkerProtocols Deprecations.swift
[17/66] Emitting module SwiftMarkerProtocols
[18/66] Emitting module SwiftKeywordsContainer
[19/66] Compiling SwiftKeywordsContainer KeywordsContainer.swift
[20/66] Emitting module _Currying
[21/66] Compiling _Currying Uncurry.swift
[22/66] Emitting module SwiftKeywordsContainer
[23/66] Compiling SwiftKeywordsContainer KeywordsContainer.swift
[24/66] Compiling _Currying Flip.swift
[25/66] Compiling _Currying Curry.swift
[26/100] Compiling PackageResourcesCore FontResource.swift
[27/100] Compiling XCStringsCatalogCore XCStringUnitState.swift
[28/100] Compiling _XCStringResource XCStringSegment.swift
[30/101] Compiling _XCStringResource XCStringResource+Argument.swift
[32/101] Emitting module _XCStringResource
[33/101] Compiling XCStringsCatalogCore XCStringUnit.swift
[34/119] Compiling _Currying Uncurry.swift
[35/119] Compiling PackageResourcesCore SCNSceneResource.swift
[36/119] Compiling PackageResourcesCore StoryboardResource.swift
[37/119] Compiling _Currying Curry.swift
[38/119] Emitting module _Currying
[39/121] Compiling _Currying Flip.swift
[40/121] Emitting module _XCStringResource
[41/121] Emitting module PackageResourcesCore
[42/121] Compiling PackageResourcesCore ColorResource.swift
[43/121] Compiling PackageResourcesCore ImageResource.swift
[44/121] Compiling PackageResourcesCore NibResource.swift
[45/121] Compiling XCStringsCatalogCore XCStringExtractionState.swift
[46/121] Compiling XCStringsCatalogCore XCStringLanguage.swift
[47/121] Compiling PackageResourcesCore Typealiases.swift
[48/121] Compiling PackageResourcesCore XCStringResource.swift
[49/121] Emitting module XCStringsCatalogCore
[50/121] Compiling XCStringsCatalogCore XCStringEntry.swift
[51/121] Compiling _XCStringResource XCStringResource+PlaceholderType.swift
[52/121] Compiling _XCStringResource XCStringResource.swift
[53/121] Compiling XCStringsCatalogCore XCStringLocalization.swift
[54/121] Compiling XCStringsCatalogCore XCStringSubstitution.swift
[55/121] Compiling _XCStringResource XCStringResource+PlaceholderType.swift
[56/121] Compiling _XCStringResource XCStringResource.swift
[57/121] Compiling XCStringsCatalogCore XCStringVariation.swift
[58/121] Compiling XCStringsCatalogCore XCStringVariations.swift
[59/125] Emitting module SwiftSyntax603
[60/125] Compiling SwiftSyntax603 Empty.swift
[61/129] Compiling SwiftSyntax602 Empty.swift
[62/129] Emitting module SwiftSyntax602
[63/129] Emitting module SwiftSyntax601
[64/129] Compiling SwiftSyntax601 Empty.swift
[65/133] Compiling SwiftSyntax600 Empty.swift
[66/133] Emitting module SwiftSyntax600
[67/135] Compiling XCStringsCatalogCore XCStringsCatalog.swift
[68/135] Compiling Yams RedundancyAliasingStrategy.swift
[69/135] Compiling Yams Representer.swift
[70/137] Compiling SwiftSyntax509 Empty.swift
[71/137] Emitting module SwiftSyntax509
[72/137] Compiling SwiftSyntax510 Empty.swift
[73/137] Emitting module SwiftSyntax510
[74/137] Compiling XCStringsCatalogCore XCStringVariation.swift
[75/137] Compiling XCStringsCatalogCore XCStringSubstitution.swift
[76/137] Compiling XCStringsCatalogCore XCStringLocalization.swift
[77/137] Compiling XCStringsCatalogCore XCStringUnit.swift
[78/137] Compiling XCStringsCatalogCore XCStringEntry.swift
[79/137] Compiling XCStringsCatalogCore XCStringUnitState.swift
[80/137] Emitting module XCStringsCatalogCore
[81/137] Compiling XCStringsCatalogCore XCStringVariations.swift
[82/137] Compiling XCStringsCatalogCore XCStringExtractionState.swift
[83/137] Compiling XCStringsCatalogCore XCStringLanguage.swift
[84/138] Emitting module _ExportedPackageResourcesCore
[85/142] Compiling _ExportedPackageResourcesCore Exports.swift
[86/151] Compiling SwiftMarkerProtocols _AnyKeyPathProtocol.swift
[87/154] Compiling SwiftMarkerProtocols _OptionalProtocol.swift
[88/154] Emitting module SwiftMarkerProtocols
[89/154] Compiling SwiftMarkerProtocols Deprecations.swift
[90/223] Compiling KeywordsSwift6_3 Keywords.swift
[91/223] Emitting module KeywordsSwift6_3
[92/223] Emitting module PackageResourcesFS
[93/223] Compiling PackageResourcesFS Files.swift
[94/223] Compiling XCStringsCatalogCore XCStringsCatalog.swift
[95/223] Compiling _XCStringsSource XCStringsSourceError.swift
[96/223] Compiling PackageResourcesFS Files.swift
[97/223] Emitting module PackageResourcesFS
[98/229] Compiling SwiftSyntax TriviaPieces.swift
[99/229] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[100/231] Compiling SwiftSyntax SyntaxHashable.swift
[101/231] Compiling SwiftSyntax SyntaxIdentifier.swift
[102/231] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[103/231] Compiling SwiftSyntax Assert.swift
[104/231] Emitting module Yams
[105/231] Emitting module _XCStringsSource
[106/231] Compiling _XCStringsSource XCStringsSource.swift
[107/234] Compiling PackageResourcesCore Typealiases.swift
[108/234] Compiling PackageResourcesCore NibResource.swift
[109/234] Compiling PackageResourcesCore StoryboardResource.swift
[110/234] Compiling PackageResourcesCore SCNSceneResource.swift
[111/234] Compiling PackageResourcesCore FontResource.swift
[112/234] Compiling PackageResourcesCore ImageResource.swift
[113/234] Emitting module PackageResourcesCore
[114/234] Compiling PackageResourcesCore XCStringResource.swift
[115/234] Compiling PackageResourcesCore ColorResource.swift
[116/234] Emitting module Yams
[117/234] Emitting module KeywordsSwift6_3
[118/234] Compiling KeywordsSwift6_3 Keywords.swift
[119/234] Emitting module KeywordsSwift6_2
[120/234] Compiling KeywordsSwift6_2 Keywords.swift
[122/234] Emitting module KeywordsSwift6_2
[123/234] Compiling Yams YamlError.swift
[124/234] Compiling Yams YamlTagProviding.swift
[125/244] Emitting module KeywordsSwift6_1
[126/244] Compiling KeywordsSwift6_1 Keywords.swift
[128/244] Emitting module KeywordsSwift6_1
[129/244] Emitting module KeywordsSwift6_0
[130/244] Compiling KeywordsSwift6_0 Keywords.swift
[131/244] Emitting module KeywordsLatest
[132/244] Compiling KeywordsLatest Export.swift
[133/244] Emitting module KeywordsSwift6_0
[134/244] Compiling KeywordsSwift6_0 Keywords.swift
[137/246] Compiling SwiftSyntax SyntaxNodeStructure.swift
[138/246] Compiling SwiftSyntax Tokens.swift
[139/246] Compiling SwiftSyntax CommonAncestor.swift
[140/246] Compiling SwiftSyntax Convenience.swift
[142/246] Compiling SwiftSyntax BumpPtrAllocator.swift
[143/246] Compiling SwiftSyntax SyntaxChildren.swift
[144/246] Compiling SwiftSyntax SyntaxCollection.swift
[145/246] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[146/246] Compiling SwiftSyntax Syntax.swift
[147/246] Compiling SwiftSyntax AbsolutePosition.swift
[148/246] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[150/246] Compiling SwiftSyntax RawSyntaxNodesC.swift
[151/246] Compiling SwiftSyntax RawSyntaxNodesD.swift
[158/268] Emitting module KeywordsLatest
[159/268] Compiling KeywordsLatest Export.swift
[160/294] Emitting module _XCStringsSource
[161/294] Compiling _XCStringsSource XCStringsSource.swift
[162/294] Compiling _XCStringsSource XCStringsSourceError.swift
[163/315] Compiling IssueReporting UncheckedSendable.swift
[164/315] Compiling KeyPathMapping KeyPathMapper+Collection.swift
[165/343] Compiling IssueReporting Unimplemented.swift
[166/343] Compiling IssueReporting IsTesting.swift
[167/343] Compiling IssueReporting IssueReporter.swift
[168/343] Compiling IssueReporting ErrorReporting.swift
[169/343] Compiling IssueReporting AppHostWarning.swift
[170/343] Compiling IssueReporting FailureObserver.swift
[171/343] Compiling IssueReporting LockIsolated.swift
[172/343] Emitting module FunctionCompositionOperators
[173/343] Compiling FunctionCompositionOperators PrecedenceGroups.swift
[174/343] Compiling FunctionCompositionOperators Operators.swift
[175/343] Compiling SwiftKeywords WithKeywords.swift
[176/343] Compiling SwiftKeywords ResolveDefaultVersion.swift
[177/343] Compiling SwiftKeywords Keywords.swift
[178/343] Emitting module SwiftKeywords
[181/343] Compiling IssueReporting Deprecations.swift
[182/343] Compiling IssueReporting Warn.swift
[183/343] Compiling IssueReporting XCTest.swift
[184/343] Compiling IssueReporting SwiftTesting.swift
[185/343] Compiling IssueReporting UncheckedSendable.swift
[186/355] Compiling IssueReporting IssueSeverity.swift
[187/355] Compiling IssueReporting ReportIssue.swift
[188/357] Compiling FunctionCompositionOperators PrecedenceGroups.swift
[189/357] Emitting module FunctionCompositionOperators
[190/357] Compiling FunctionCompositionOperators Operators.swift
[191/357] Compiling Either Either.swift
[192/357] Emitting module Either
[193/359] Compiling IssueReporting _Test.swift
[195/359] Emitting module SwiftKeywords
[196/359] Compiling SwiftKeywords ResolveDefaultVersion.swift
[197/359] Compiling SwiftKeywords WithKeywords.swift
[198/359] Compiling SwiftKeywords Keywords.swift
[203/359] Compiling IssueReporting Rethrows.swift
[204/361] Compiling Either Either.swift
[205/361] Emitting module Either
[206/387] Compiling IssueReporting FatalErrorReporter.swift
[210/387] Compiling IssueReporting DefaultReporter.swift
[213/387] Compiling IssueReporting BreakpointReporter.swift
[216/387] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[217/387] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[218/387] Compiling SwiftSyntax RawSyntaxTokenView.swift
[219/387] Compiling SwiftSyntax SourceEdit.swift
[220/387] Compiling SwiftSyntax SourceLength.swift
[221/387] Compiling SwiftSyntax SourceLocation.swift
[222/387] Compiling SwiftSyntax SourcePresence.swift
[223/387] Emitting module ArrayBuilder
[224/387] Compiling ArrayBuilder ArrayBuilder.swift
[225/387] Emitting module ArrayBuilder
[226/387] Compiling ArrayBuilder ArrayBuilder.swift
[232/387] Compiling ConcurrencyExtras ActorIsolated.swift
[233/387] Compiling ConcurrencyExtras AnyHashableSendable.swift
[234/387] Compiling IssueReporting TestContext.swift
[237/387] Emitting module IssueReporting
[242/387] Compiling IssueReporting WithExpectedIssue.swift
[243/387] Compiling IssueReporting WithIssueContext.swift
[244/389] Compiling SwiftSyntax CustomTraits.swift
[245/389] Compiling SwiftSyntax EditorPlaceholder.swift
[246/389] Compiling SwiftSyntax Identifier.swift
[247/389] Compiling SwiftSyntax MemoryLayout.swift
[248/389] Compiling SwiftSyntax MissingNodeInitializers.swift
[249/389] Compiling SwiftSyntax RawSyntax.swift
[250/389] Compiling SwiftSyntax RawSyntaxArena.swift
[256/391] Compiling ConcurrencyExtras Result.swift
[259/391] Compiling ConcurrencyExtras Task.swift
[260/391] Compiling ConcurrencyExtras LockIsolated.swift
[261/391] Compiling ConcurrencyExtras UncheckedBox.swift
[262/391] Compiling ConcurrencyExtras MainSerialExecutor.swift
[263/392] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[264/392] Compiling ConcurrencyExtras Locking.swift
[265/392] Compiling ConcurrencyExtras AsyncStream.swift
[266/392] Compiling ConcurrencyExtras Result.swift
[267/392] Compiling ConcurrencyExtras Task.swift
[268/393] Compiling ConcurrencyExtras MainSerialExecutor.swift
[269/393] Compiling ConcurrencyExtras LockIsolated.swift
[270/393] Emitting module ConcurrencyExtras
[273/393] Compiling ConcurrencyExtras Locking.swift
[274/393] Compiling ConcurrencyExtras UncheckedBox.swift
[275/393] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[276/393] Emitting module IssueReporting
[277/393] Emitting module ConcurrencyExtras
[278/393] Compiling ConcurrencyExtras AsyncStream.swift
[283/415] Compiling ConcurrencyExtras UncheckedSendable.swift
[285/443] Compiling CasePathsCore Optional+CasePathable.swift
[286/443] Compiling CasePathsCore UncheckedSendable.swift
[287/443] Compiling CasePathsCore Never+CasePathable.swift
[288/443] Compiling CasePathsCore KeyPath+Sendable.swift
[289/443] Compiling CasePathsCore TypeName.swift
[290/443] Compiling CasePathsCore CasePathReflectable.swift
[291/444] Emitting module CasePathsCore
[292/444] Compiling CasePathsCore CasePathIterable.swift
[293/444] Compiling NominalFunctionTypes SendableAsyncFunc.swift
[294/444] Compiling NominalFunctionTypes AsyncThrowingFunc.swift
[295/444] Compiling CasePathsCore CasePathable.swift
[296/444] Compiling CasePathsCore TypeName.swift
[297/444] Compiling CasePathsCore Never+CasePathable.swift
[298/444] Compiling CasePathsCore UncheckedSendable.swift
[299/444] Compiling CasePathsCore KeyPath+Sendable.swift
[300/444] Compiling CasePathsCore Optional+CasePathable.swift
[301/444] Compiling CasePathsCore CasePathReflectable.swift
[302/445] Compiling NominalFunctionTypes _AnyNominalFunctionType.swift
[303/446] Emitting module CasePathsCore
[304/446] Compiling CasePathsCore CasePathable.swift
[305/446] Compiling CasePathsCore CasePathIterable.swift
[308/446] Compiling NominalFunctionTypes MainActorSyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:23:23: error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
21 |
22 | @inlinable
23 | public init(_ f: any _MainActorSyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
24 | self.init(f.run)
25 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:14:36: error: unknown attribute 'MainActor'
12 | Output,
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
15 | @usableFromInline
16 | internal var call: @MainActor (Input) throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
12 | Output,
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncThrowingFunction' conformance to defer isolation checking to run time
15 | @usableFromInline
16 | internal var call: @MainActor (Input) throws(Failure) -> Output
:
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorSyncThrowingFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
:
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
30 | return try call(input)
31 | }
[309/446] Compiling NominalFunctionTypes SendableSyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SendableSyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any SyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:23:23: error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
21 |
22 | @inlinable
23 | public init(_ f: any _MainActorSyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
24 | self.init(f.run)
25 | }
[310/446] Compiling NominalFunctionTypes SyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SendableSyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any SyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[315/448] Compiling NominalFunctionTypes SendableSyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SendableSyncFunc.swift:13:23: error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any SyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
[316/448] Compiling NominalFunctionTypes SyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SendableSyncFunc.swift:13:23: error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any SyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
[317/448] Compiling NominalFunctionTypes MainActorAsyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:25:23: error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
23 |
24 | @inlinable
25 | public init(_ f: any _MainActorAsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
26 | self.init(f.run)
27 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:16:37: error: unknown attribute 'MainActor'
14 | Output,
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
17 | @usableFromInline
18 | internal var call: @MainActor (Input) async throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
12 | public struct MainActorAsyncThrowingFunc<
13 | Input,
14 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
:
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[318/448] Compiling NominalFunctionTypes SendableAsyncThrowingFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:25:23: error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
23 |
24 | @inlinable
25 | public init(_ f: any _MainActorAsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
26 | self.init(f.run)
27 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:16:37: error: unknown attribute 'MainActor'
14 | Output,
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
17 | @usableFromInline
18 | internal var call: @MainActor (Input) async throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
12 | public struct MainActorAsyncThrowingFunc<
13 | Input,
14 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
:
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[319/448] Compiling NominalFunctionTypes AsyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:13:29: error: unknown attribute 'MainActor'
11 | Input,
12 | Output,
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
14 | @usableFromInline
15 | internal var call: @MainActor (Input) async -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
[320/448] Compiling NominalFunctionTypes MainActorAsyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:13:29: error: unknown attribute 'MainActor'
11 | Input,
12 | Output,
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
14 | @usableFromInline
15 | internal var call: @MainActor (Input) async -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
[321/448] Compiling NominalFunctionTypes Exports.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:12:28: error: unknown attribute 'MainActor'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncFunction' conformance to defer isolation checking to run time
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SyncFunc.swift:7:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
5 | Output
6 | >: AsyncFunction, SyncThrowingFunction where Failure == Never {
7 | func run(with input: Input) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
[322/448] Compiling NominalFunctionTypes MainActorSyncFunc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:12:28: error: unknown attribute 'MainActor'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncFunction' conformance to defer isolation checking to run time
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SyncFunc.swift:7:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
5 | Output
6 | >: AsyncFunction, SyncThrowingFunction where Failure == Never {
7 | func run(with input: Input) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[323/448] Emitting module NominalFunctionTypes
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:13:29: error: unknown attribute 'MainActor'
11 | Input,
12 | Output,
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
14 | @usableFromInline
15 | internal var call: @MainActor (Input) async -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorAsyncFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | >: _MainActorAsyncFunction, @MainActor AsyncFunction, Sendable {
14 | @usableFromInline
:
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:28:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
26 | @MainActor
27 | @inlinable
28 | public func run(with input: Input) async -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | await call(input)
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:25:23: error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
23 |
24 | @inlinable
25 | public init(_ f: any _MainActorAsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
26 | self.init(f.run)
27 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:16:37: error: unknown attribute 'MainActor'
14 | Output,
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
17 | @usableFromInline
18 | internal var call: @MainActor (Input) async throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
12 | public struct MainActorAsyncThrowingFunc<
13 | Input,
14 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
15 | Failure: Error
16 | >: _MainActorAsyncThrowingFunction, @MainActor AsyncThrowingFunction, Sendable {
:
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/MainActorAsyncThrowingFunc.swift:31:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
29 | @MainActor
30 | @inlinable
31 | public func run(with input: Input) async throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
32 | return try await call(input)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:21:23: error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
19 |
20 | @inlinable
21 | public init(_ f: any _MainActorSyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncFunction<Input, Output>' cannot be used within a protocol-constrained type
22 | self.init(f.run)
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:12:28: error: unknown attribute 'MainActor'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- error: unknown attribute 'MainActor'
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
10 | Input,
11 | Output
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncFunction' conformance to defer isolation checking to run time
13 | @usableFromInline
14 | internal var call: @MainActor (Input) -> Output
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SyncFunc.swift:7:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
5 | Output
6 | >: AsyncFunction, SyncThrowingFunction where Failure == Never {
7 | func run(with input: Input) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
9 | public struct MainActorSyncFunc<
10 | Input,
11 | Output
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
12 | >: _MainActorSyncFunction, @MainActor SyncFunction, Sendable {
13 | @usableFromInline
:
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/MainActorSyncFunc.swift:27:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
25 | @MainActor
26 | @inlinable
27 | public func run(with input: Input) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
28 | return call(input)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Sync/SendableSyncFunc.swift:13:23: error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any SyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'SyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:23:23: error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
21 |
22 | @inlinable
23 | public init(_ f: any _MainActorSyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorSyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
24 | self.init(f.run)
25 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:14:36: error: unknown attribute 'MainActor'
12 | Output,
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
| `- error: unknown attribute 'MainActor'
15 | @usableFromInline
16 | internal var call: @MainActor (Input) throws(Failure) -> Output
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
12 | Output,
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
| `- note: add '@preconcurrency' to the 'SyncThrowingFunction' conformance to defer isolation checking to run time
15 | @usableFromInline
16 | internal var call: @MainActor (Input) throws(Failure) -> Output
:
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: main actor-isolated instance method 'run(with:)' cannot be used to satisfy nonisolated requirement from protocol 'SyncThrowingFunction'
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SyncThrowingFunc.swift:8:7: note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
6 | Failure
7 | >: AsyncThrowingFunction {
8 | func run(with input: Input) throws(Failure) -> Output
| `- note: mark the protocol requirement 'run(with:)' 'async' to allow actor-isolated conformances
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
10 | public struct MainActorSyncThrowingFunc<
11 | Input,
12 | Output,
| `- note: consider making generic parameter 'Output' conform to the 'Sendable' protocol
13 | Failure: Error
14 | >: _MainActorSyncThrowingFunction, @MainActor SyncThrowingFunction, Sendable {
:
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: non-sendable type 'Output' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'run(with:)'
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/MainActorSyncThrowingFunc.swift:29:14: error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
27 | @MainActor
28 | @inlinable
29 | public func run(with input: Input) throws(Failure) -> Output {
| `- error: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'run(with:)' into main actor-isolated implementation
30 | return try call(input)
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/SyncThrowing/SendableSyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any SyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'SyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/SendableAsyncFunc.swift:13:23: error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
11 |
12 | @inlinable
13 | public init(_ f: any AsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
14 | self.init(f.run)
15 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/Async/MainActorAsyncFunc.swift:22:23: error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
20 |
21 | @inlinable
22 | public init(_ f: any _MainActorAsyncFunction<Input, Output> & Sendable) {
| `- error: non-protocol, non-class type '_MainActorAsyncFunction<Input, Output>' cannot be used within a protocol-constrained type
23 | self.init(f.run)
24 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-function-composition/Sources/NominalFunctionTypes/AsyncThrowing/SendableAsyncThrowingFunc.swift:14:23: error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
12 |
13 | @inlinable
14 | public init(_ f: any AsyncThrowingFunction<Input, Output, Failure> & Sendable) {
| `- error: non-protocol, non-class type 'AsyncThrowingFunction<Input, Output, Failure>' cannot be used within a protocol-constrained type
15 | self.init(f.run)
16 | }
[326/448] Compiling CasePathsCore Result+CasePathable.swift
[329/450] Emitting module ArgumentParserToolInfo
[330/450] Compiling ArgumentParserToolInfo ToolInfo.swift
[331/450] Emitting module KeyPathMapping
[332/450] Emitting module ArgumentParserToolInfo
[333/450] Compiling ArgumentParserToolInfo ToolInfo.swift
[334/450] Compiling CasePathsCore Result+CasePathable.swift
[339/465] Compiling NominalFunctionTypes Exports.swift
[340/465] Compiling NominalFunctionTypes MainActorSyncFunc.swift
[346/465] Compiling NominalFunctionTypes SendableSyncFunc.swift
[347/465] Compiling NominalFunctionTypes SyncFunc.swift
[348/465] Compiling NominalFunctionTypes MainActorAsyncFunc.swift
[349/465] Compiling NominalFunctionTypes MainActorAsyncThrowingFunc.swift
[350/465] Compiling NominalFunctionTypes SendableAsyncThrowingFunc.swift
[351/465] Compiling NominalFunctionTypes _MainActorMarkers.swift
[359/465] Compiling CombineSchedulers UIScheduler.swift
[360/465] Compiling CombineSchedulers UIKit.swift
warning: 'spi-builder-workspace': dependency 'swift-casification' is not used by any target
warning: 'spi-builder-workspace': dependency 'swift-snippets' is not used by any target
BUILD FAILURE 6.1 macosSpm