Skip to content

error: conformance of 'Base' to protocol 'AsyncSequence' may be isolated and cannot be passed to nonisolated context #411

@vsarunas

Description

@vsarunas

Using latest main-snapshot-2026-04-17:

$ swift --version
Apple Swift version 6.4-dev (LLVM d65fcdad333e410, Swift 9bcb60310ca4c4b)
Target: arm64-apple-macosx26.0
Build config: +assertions

Fails to compile:

.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncShareSequence.swift failed with a nonzero exit code. Command line:     cd /Users/runner/actions-runner/_work/plugin-connectivity-alpaca
    builtin-SwiftPerFileCompile AsyncShareSequence.swift
/Users/runner/actions-runner/_work/plugin-connectivity-alpaca/plugin-connectivity-alpaca/.build/checkouts/swift-async-algorithms/Sources/AsyncAlgorithms/AsyncShareSequence.swift:660:24: error: conformance of 'Base' to protocol 'AsyncSequence' may be isolated and cannot be passed to nonisolated context [#�
658 |       ***.get()
659 |       #else
660 |       return try await nextIteration(id).get()
    |                        `- error: conformance of 'Base' to protocol 'AsyncSequence' may be isolated and cannot be passed to nonisolated context [#�
661 |       #endif
662 | 

[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
Failed frontend command:
/Users/runner/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2026-04-17-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/runner/actions-runner/_work/plugin-connectivity-

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions