Skip to content

Swift 5.9 build failure with versioned Package.swift #3824

@sbooth

Description

@sbooth

I have a package that I believe should build back to Swift 5.3 but SPI is showing a build failure with Swift 5.9. I recently added support for package traits (new in Swift 6.1) and as a result renamed the old package manifest to [email protected] to attempt to maintain backwards compatibility.

One of the build failures in question is here, summarized:

error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 5.9.0

The 5.10 and 6.0 builds work correctly- which leads me to believe the right manifest is being used for those builds- but I'm not sure if I'm using versioned manifests incorrectly (perhaps the new one should be [email protected]?) or if the problem is SPI-specific or lies elsewhere.

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