Skip to content

CI builds for x86_64-pc-windows-gnu fail #267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sirhcel opened this issue May 16, 2025 · 2 comments
Open

CI builds for x86_64-pc-windows-gnu fail #267

sirhcel opened this issue May 16, 2025 · 2 comments

Comments

@sirhcel
Copy link
Contributor

sirhcel commented May 16, 2025

Builds for the target x86_64-pc-windows-gnu is currently failing with the error message

Run cargo test --no-fail-fast --target=x86_64-pc-windows-gnu
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
     Running unittests src\lib.rs (target\x86_64-pc-windows-gnu\debug\deps\serialport-0f5093a44e140359.exe)
error: test failed, to rerun pass `--lib`

Caused by:
  could not execute process `C:\a\serialport-rs\serialport-rs\target\x86_64-pc-windows-gnu\debug\deps\serialport-0f5093a44e140359.exe` (never executed)

Caused by:
  %1 is not a valid Win32 application. (os error 193)
     Running tests\config.rs (target\x86_64-pc-windows-gnu\debug\deps\config-ed1561a2e6ac87b4.exe)

like for example in job 42307951118.

@sirhcel
Copy link
Contributor Author

sirhcel commented May 16, 2025

Seen across all recent PRs like #259, #260, #263, #264, and #266.

@sirhcel
Copy link
Contributor Author

sirhcel commented May 16, 2025

Maybe #259 (comment) hints at the cause?

sirhcel added a commit to sirhcel/serialport-rs that referenced this issue May 20, 2025
There are currently issues with CI builds for x86_64-pc-windows-gnu (see
serialport#267) and the
windows-2019 runner is about to be deprecated next month anyways.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant