Skip to content

[Source compatibility suite] CoreStore failing to build on macOs - error: switch must be exhaustive #78863

@justice-adams-apple

Description

@justice-adams-apple

Description

CoreStore is failing to build on internal/main, internal/6.0, and internal/6.1 with the following error

CoreStore/Sources/CoreStore+CustomDebugStringConvertible.swift:1194:9: error: switch must be exhaustive
        switch self {
        ^

This affects the "4.0" and "4.2" source revisions of the project. This is a project issue and the source revision likely just needs to be updated in the source compatibility suite. I will reach out to the maintainer of the project

Reproduction

./runner.py --swift-branch release/6.1 --projects projects.json --include-actions 'action.startswith("Build")' --include-repos 'path == "CoreStore"' --swiftc /Library/Developer/Toolchains/swift-6.1-DEVELOPMENT-SNAPSHOT-2025-01-22-a.xctoolchain/usr/bin/swiftc

Expected behavior

Expected the project to build correctly

Environment

https://ci.swift.org/view/Swift%206.1/job/swift-6.1-source-compat-suite-debug/3/artifact/swift-source-compat-suite/

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.source compatibility suiteFlag: An issue that surfaced in the source compatibility suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions