veeso / ssh2-config

a ssh config parser for ssh2-rs
MIT License
10 stars 8 forks source link

[BUG] - `actions-rs/cargo` is unmaintained and must be replaced #17

Open LeoniePhiline opened 1 week ago

LeoniePhiline commented 1 week ago

Description

actions-rs/cargo is unmaintained and must be replaced.

The respository has been set to read-only.

It must be replaced, as CI, run by actions-rs/cargo@v1, fails with outdated rustc command line options:

error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc - --crate-name ___ --print=file-names -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
  --- stderr
  warning: the `-Cinline-threshold` flag is deprecated and does nothing (consider using `-Cllvm-args=--inline-threshold=...`)

  error: unknown unstable option: `profile`

Steps to reproduce

  1. Check https://github.com/actions-rs/cargo and find it being archived.
  2. Check https://github.com/veeso/ssh2-config/actions/runs/11957708622/job/33335511680?pr=15 and see CI failing, as actions-rs/cargo uses outdated rustc CLI options.

Expected behaviour

CI works, CI dependencies are well maintained.

Environment

Additional information

This is a blocker for #15.

LeoniePhiline commented 1 week ago

Consider switching to dtolnay/rust-toolchain.

See also: