Skip to content

Merge pull request #69 from Veykril/patch-1 #103

Merge pull request #69 from Veykril/patch-1

Merge pull request #69 from Veykril/patch-1 #103

Triggered via push August 19, 2025 22:24
Status Success
Total duration 1m 15s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
usage of a legacy numeric method: src/lib.rs#L3779
warning: usage of a legacy numeric method --> src/lib.rs:3779:36 | 3779 | assert_eq!(v.len(), usize::max_value() - 1); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 3779 - assert_eq!(v.len(), usize::max_value() - 1); 3779 + assert_eq!(v.len(), usize::MAX - 1); |
usage of a legacy numeric method: src/lib.rs#L3778
warning: usage of a legacy numeric method --> src/lib.rs:3778:58 | 3778 | for _ in v.drain(usize::max_value() - 1..=usize::max_value() - 1) {} | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 3778 - for _ in v.drain(usize::max_value() - 1..=usize::max_value() - 1) {} 3778 + for _ in v.drain(usize::max_value() - 1..=usize::MAX - 1) {} |
usage of a legacy numeric method: src/lib.rs#L3778
warning: usage of a legacy numeric method --> src/lib.rs:3778:33 | 3778 | for _ in v.drain(usize::max_value() - 1..=usize::max_value() - 1) {} | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 3778 - for _ in v.drain(usize::max_value() - 1..=usize::max_value() - 1) {} 3778 + for _ in v.drain(usize::MAX - 1..=usize::max_value() - 1) {} |
usage of a legacy numeric method: src/lib.rs#L3776
warning: usage of a legacy numeric method --> src/lib.rs:3776:30 | 3776 | v.set_len(usize::max_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 3776 - v.set_len(usize::max_value()); 3776 + v.set_len(usize::MAX); |
usage of a legacy numeric method: src/lib.rs#L3774
warning: usage of a legacy numeric method --> src/lib.rs:3774:57 | 3774 | let mut v = ThinVec::<()>::with_capacity(usize::max_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 3774 - let mut v = ThinVec::<()>::with_capacity(usize::max_value()); 3774 + let mut v = ThinVec::<()>::with_capacity(usize::MAX); |
usage of a legacy numeric method: src/lib.rs#L3772
warning: usage of a legacy numeric method --> src/lib.rs:3772:36 | 3772 | assert_eq!(v.len(), usize::max_value() - 1); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 3772 - assert_eq!(v.len(), usize::max_value() - 1); 3772 + assert_eq!(v.len(), usize::MAX - 1); |
usage of a legacy numeric method: src/lib.rs#L3771
warning: usage of a legacy numeric method --> src/lib.rs:3771:33 | 3771 | for _ in v.drain(usize::max_value() - 1..) {} | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 3771 - for _ in v.drain(usize::max_value() - 1..) {} 3771 + for _ in v.drain(usize::MAX - 1..) {} |
usage of a legacy numeric method: src/lib.rs#L3769
warning: usage of a legacy numeric method --> src/lib.rs:3769:30 | 3769 | v.set_len(usize::max_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 3769 - v.set_len(usize::max_value()); 3769 + v.set_len(usize::MAX); |
usage of a legacy numeric method: src/lib.rs#L3767
warning: usage of a legacy numeric method --> src/lib.rs:3767:57 | 3767 | let mut v = ThinVec::<()>::with_capacity(usize::max_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 3767 - let mut v = ThinVec::<()>::with_capacity(usize::max_value()); 3767 + let mut v = ThinVec::<()>::with_capacity(usize::MAX); |
importing legacy numeric constants: src/lib.rs#L3190
warning: importing legacy numeric constants --> src/lib.rs:3190:9 | 3190 | use core::usize; | ^^^^^^^^^^^ | = help: remove this import = note: then `usize::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default
replacing a value of type `T` with `T::default()` is better expressed using `std::mem::take`: src/lib.rs#L2333
warning: replacing a value of type `T` with `T::default()` is better expressed using `std::mem::take` --> src/lib.rs:2333:31 | 2333 | let mut vec = mem::replace(&mut this.vec, ThinVec::new()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::mem::take(&mut this.vec)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default = note: `#[warn(clippy::mem_replace_with_default)]` on by default
field `0` is never read: src/lib.rs#L3563
warning: field `0` is never read --> src/lib.rs:3563:21 | 3563 | struct Elem(i32); | ---- ^^^ | | | field in this struct | = help: consider removing this field
field `0` is never read: src/lib.rs#L2836
warning: field `0` is never read --> src/lib.rs:2836:24 | 2836 | struct Align16(u8); | ------- ^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default
docs
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0o/mkaAAAAAC5Stgk6/+dTK/IOQZTQjmHQkwyQUEyMDMwMTEwMDUzAEVkZ2U=
docs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
docs
Failed to restore: Cache service responded with 400
docs
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
docs
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
docs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
docs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
docs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
docs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/