Skip to content

[Source compatibility suite] exercism-swift failing to build on macOS with release/6.1 #78864

@justice-adams-apple

Description

@justice-adams-apple

Description

Description

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

error: couldn't build swift-source-compat-suite/project_cache/exercism-swift/.build/x86_64-apple-macosx/debug/xswiftTests.build/LinuxMain.swift.o because of multiple producers: Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources), Compiling Swift Module 'xswiftTests' (174 sources)

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 == "exercism-swift"' --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