Skip to content

Commit 75529ea

Browse files
authored
chore(rust): bump nightly version used for checking unused deps (#5918)
This version was a few months old and started throwing errors about features that stabilized since then. e.g. https://github.com/firezone/firezone/actions/runs/10011089436/job/27673759249 ``` error[E0658]: use of unstable library feature 'proc_macro_byte_character' --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.86/src/wrapper.rs:871:21 | 871 | proc_macro::Literal::byte_character(byte) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #115268 <rust-lang/rust#115268> for more information = help: add `#![feature(proc_macro_byte_character)]` to the crate attributes to enable = note: this compiler was built on 2024-03-25; consider upgrading it if it is out of date error[E0658]: use of unstable library feature 'proc_macro_c_str_literals' --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.86/src/wrapper.rs:898:21 | 898 | proc_macro::Literal::c_string(string) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #119750 <rust-lang/rust#119750> for more information = help: add `#![feature(proc_macro_c_str_literals)]` to the crate attributes to enable = note: this compiler was built on 2024-03-25; consider upgrading it if it is out of date For more information about this error, try `rustc --explain E0658`. error: could not compile `proc-macro2` (lib) due to 2 previous errors ```
1 parent 4f1a17b commit 75529ea

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/_rust.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656
timeout-minutes: 5
5757
- uses: taiki-e/install-action@cargo-udeps
5858
- run: |
59-
rustup install --no-self-update nightly-2024-03-26 --profile minimal # The exact nightly version doesn't matter, just pin a random one.
60-
cargo +nightly-2024-03-26 udeps --all-targets --all-features ${{ steps.setup-rust.outputs.packages }}
59+
rustup install --no-self-update nightly-2024-06-01 --profile minimal # The exact nightly version doesn't matter, just pin a random one.
60+
cargo +nightly-2024-06-01 udeps --all-targets --all-features ${{ steps.setup-rust.outputs.packages }}
6161
name: Check for unused dependencies
6262
- run: cargo fmt -- --check
6363
- run: cargo doc --all-features --no-deps --document-private-items ${{ steps.setup-rust.outputs.packages }}

rust/Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/gui-smoke-test/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ edition = "2021"
55

66
[dependencies]
77
anyhow = { version = "1.0" }
8-
libc = "0.2.155"
98
subprocess = "0.2.9"
109
tracing = { workspace = true }
1110
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }

0 commit comments

Comments
 (0)