Skip to content

Windows installation of Swift 5.9 is suddenly failing without much diagnostic info.  #279

@dabrahams

Description

@dabrahams

Describe the bug
Getting installed Swift version swift-5.9.2-RELEASE
C:\hostedtoolcache\windows\swift-5.9.2-RELEASE-windows10\5.9.2\x86_64\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\swift.exe --version
Error: The process 'C:\hostedtoolcache\windows\swift-5.9.2-RELEASE-windows10\5.9.2\x86_64\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\swift.exe' failed with exit code 3221225781

To Reproduce
using the windows-latest runner,

    - name: 'Set up swift'
      uses: SwiftyLab/setup-swift@latest
      with:
        swift-version: 5.9

Logs
Please see this link.

This is a re-run of a CI run that was successful a few weeks ago, so it should have succeded..

Screenshots
If applicable, add screenshots to help explain your problem.

Runner (please complete the following information):

  • Name: windows-latest
  • OS: windows-2022
  • Version 20240421.1.0

Everything google tells me about exit code 3221225781 seems to indicate there is a missing Microsoft VC++ Redistributable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions