Skip to content

Merge pull request #68 from nicoburns/malloc_size_of #97

Merge pull request #68 from nicoburns/malloc_size_of

Merge pull request #68 from nicoburns/malloc_size_of #97

Triggered via push March 11, 2025 00:55
Status Success
Total duration 2m 35s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

34 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#L3646
warning: usage of a legacy numeric method --> src/lib.rs:3646:36 | 3646 | 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 | 3646 | assert_eq!(v.len(), usize::MAX - 1); | ~~~
usage of a legacy numeric method: src/lib.rs#L3645
warning: usage of a legacy numeric method --> src/lib.rs:3645:58 | 3645 | 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 | 3645 | for _ in v.drain(usize::max_value() - 1..=usize::MAX - 1) {} | ~~~
usage of a legacy numeric method: src/lib.rs#L3645
warning: usage of a legacy numeric method --> src/lib.rs:3645:33 | 3645 | 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 | 3645 | for _ in v.drain(usize::MAX - 1..=usize::max_value() - 1) {} | ~~~
usage of a legacy numeric method: src/lib.rs#L3643
warning: usage of a legacy numeric method --> src/lib.rs:3643:30 | 3643 | 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 | 3643 | v.set_len(usize::MAX); | ~~~
usage of a legacy numeric method: src/lib.rs#L3641
warning: usage of a legacy numeric method --> src/lib.rs:3641:57 | 3641 | 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 | 3641 | let mut v = ThinVec::<()>::with_capacity(usize::MAX); | ~~~
usage of a legacy numeric method: src/lib.rs#L3639
warning: usage of a legacy numeric method --> src/lib.rs:3639:36 | 3639 | 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 | 3639 | assert_eq!(v.len(), usize::MAX - 1); | ~~~
usage of a legacy numeric method: src/lib.rs#L3638
warning: usage of a legacy numeric method --> src/lib.rs:3638:33 | 3638 | 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 | 3638 | for _ in v.drain(usize::MAX - 1..) {} | ~~~
usage of a legacy numeric method: src/lib.rs#L3636
warning: usage of a legacy numeric method --> src/lib.rs:3636:30 | 3636 | 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 | 3636 | v.set_len(usize::MAX); | ~~~
usage of a legacy numeric method: src/lib.rs#L3634
warning: usage of a legacy numeric method --> src/lib.rs:3634:57 | 3634 | 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 | 3634 | let mut v = ThinVec::<()>::with_capacity(usize::MAX); | ~~~
the following explicit lifetimes could be elided: 'a: src/lib.rs#L3063
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:3063:10 | 3063 | impl<'a> Drop for DropCounter<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3063 - impl<'a> Drop for DropCounter<'a> { 3063 + impl Drop for DropCounter<'_> { |
importing legacy numeric constants: src/lib.rs#L3057
warning: importing legacy numeric constants --> src/lib.rs:3057:9 | 3057 | 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
the following explicit lifetimes could be elided: 'a: src/lib.rs#L2511
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:2511:6 | 2511 | impl<'a, T> AsRef<[T]> for Drain<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2511 - impl<'a, T> AsRef<[T]> for Drain<'a, T> { 2511 + impl<T> AsRef<[T]> for Drain<'_, T> { |
the following explicit lifetimes could be elided: 'a: src/lib.rs#L2489
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:2489:6 | 2489 | impl<'a, T> Drain<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2489 - impl<'a, T> Drain<'a, T> { 2489 + impl<T> Drain<'_, T> { |
the following explicit lifetimes could be elided: 'a: src/lib.rs#L2462
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:2462:6 | 2462 | impl<'a, T> Drop for Drain<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2462 - impl<'a, T> Drop for Drain<'a, T> { 2462 + impl<T> Drop for Drain<'_, T> { |
the following explicit lifetimes could be elided: 'a: src/lib.rs#L2454
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:2454:6 | 2454 | impl<'a, T> ExactSizeIterator for Drain<'a, T> {} | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2454 - impl<'a, T> ExactSizeIterator for Drain<'a, T> {} 2454 + impl<T> ExactSizeIterator for Drain<'_, T> {} |
the following explicit lifetimes could be elided: 'a: src/lib.rs#L2448
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:2448:6 | 2448 | impl<'a, T> DoubleEndedIterator for Drain<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2448 - impl<'a, T> DoubleEndedIterator for Drain<'a, T> { 2448 + impl<T> DoubleEndedIterator for Drain<'_, T> { |
the following explicit lifetimes could be elided: 'a: src/lib.rs#L2437
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:2437:6 | 2437 | impl<'a, T> Iterator for Drain<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 2437 - impl<'a, T> Iterator for Drain<'a, T> { 2437 + impl<T> Iterator for Drain<'_, T> { |
field `0` is never read: src/lib.rs#L3430
warning: field `0` is never read --> src/lib.rs:3430:21 | 3430 | struct Elem(i32); | ---- ^^^ | | | field in this struct | = help: consider removing this field
field `0` is never read: src/lib.rs#L2703
warning: field `0` is never read --> src/lib.rs:2703:24 | 2703 | struct Align16(u8); | ------- ^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default
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/
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/
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/