[INFO] cloning repository https://github.com/rklaehn/rust-nursery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rklaehn/rust-nursery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frklaehn%2Frust-nursery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frklaehn%2Frust-nursery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d9cabeafe1b0bb90ccbf54d168bc0376e23c658 [INFO] checking rklaehn/rust-nursery against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frklaehn%2Frust-nursery" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rklaehn/rust-nursery [INFO] finished tweaking git repo https://github.com/rklaehn/rust-nursery [INFO] tweaked toml for git repo https://github.com/rklaehn/rust-nursery written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rklaehn/rust-nursery on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rklaehn/rust-nursery already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79fda63c612982a20a864fb3c04b2651974862c1f96b41f1260a7370ff45a95f [INFO] running `Command { std: "docker" "start" "-a" "79fda63c612982a20a864fb3c04b2651974862c1f96b41f1260a7370ff45a95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79fda63c612982a20a864fb3c04b2651974862c1f96b41f1260a7370ff45a95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79fda63c612982a20a864fb3c04b2651974862c1f96b41f1260a7370ff45a95f", kill_on_drop: false }` [INFO] [stdout] 79fda63c612982a20a864fb3c04b2651974862c1f96b41f1260a7370ff45a95f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc0f34735c9a5bf34ce10ba48c776c35b20adf35a5af6ce6e626b244fd70ac07 [INFO] running `Command { std: "docker" "start" "-a" "cc0f34735c9a5bf34ce10ba48c776c35b20adf35a5af6ce6e626b244fd70ac07", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking sorted-iter v0.1.5 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Checking testdrop v0.1.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling quickcheck_macros v0.8.0 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking vec-collections v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/radix_tree.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecSet` [INFO] [stdout] --> src/total_vec_set.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{VecSet, VecSet2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnsafeSliceMergeState` [INFO] [stdout] --> src/vec_set.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | UnsafeInPlaceMergeState, UnsafeSliceMergeState, VecMergeState, SmallVecInPlaceMergeState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/flip_buffer/small_vec_builder.rs:177:67 [INFO] [stdout] | [INFO] [stdout] 177 | let v = std::mem::replace(&mut self.v, unsafe { std::mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge` is never used [INFO] [stdout] --> src/merge_state.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a, A: Array, B: Array> SmallVecInPlaceMergeState { [INFO] [stdout] | ------------------------------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn merge>(a: &mut SmallVec, b: SmallVec, o: O) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge` is never used [INFO] [stdout] --> src/merge_state.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 320 | impl<'a, A, B, Arr: Array> SmallVecMergeState<'a, A, B, Arr> { [INFO] [stdout] | ------------------------------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn merge>(a: &'a [A], b: &'a [B], o: O) -> SmallVec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnsafeSliceMergeState` is never constructed [INFO] [stdout] --> src/merge_state.rs:466:19 [INFO] [stdout] | [INFO] [stdout] 466 | pub(crate) struct UnsafeSliceMergeState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge` is never used [INFO] [stdout] --> src/merge_state.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 475 | impl UnsafeSliceMergeState { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 476 | pub fn merge>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dedup` is never used [INFO] [stdout] --> src/dedup.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn dedup(d: &mut [T], keep: Keep) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `single` and `filter_map_values` are never used [INFO] [stdout] --> src/radix_tree.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl TagTree { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | fn single(key: Vec, value: V) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn filter_map_values(self, f: &impl Fn(V) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner_join_with` is never used [INFO] [stdout] --> src/radix_tree.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl TagTree { [INFO] [stdout] | -------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | fn inner_join_with(&self, that: &Self, f: &impl Fn(&V, &V) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `min` and `max` are never used [INFO] [stdout] --> src/radix_tree.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 163 | impl TagTree { [INFO] [stdout] | --------------------------------------------------------- methods in this implementation [INFO] [stdout] 164 | fn min(&self, that: &Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn max(&self, that: &Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_range_bounds` is never used [INFO] [stdout] --> src/range_set.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 174 | impl RangeSet { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 175 | fn from_range_bounds>(r: R) -> std::result::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SmallVec` does not permit being left uninitialized [INFO] [stdout] --> src/flip_buffer/small_vec_builder.rs:177:57 [INFO] [stdout] | [INFO] [stdout] 177 | let v = std::mem::replace(&mut self.v, unsafe { std::mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vec_set.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&self) -> SortedIter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&self) -> SortedIter> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vec_set.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn iter(&self) -> SortedIter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 289 | pub fn iter(&self) -> SortedIter> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vec_map.rs:235:30 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn slice_iter(&self) -> SliceIterator<(K, V)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn slice_iter(&self) -> SliceIterator<'_, (K, V)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/radix_tree.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DeserHelper` [INFO] [stdout] 44 | #[serde(untagged)] [INFO] [stdout] 45 | enum DeserHelper { [INFO] [stdout] | ----------- `DeserHelper` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/range_set.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/radix_tree.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecSet` [INFO] [stdout] --> src/total_vec_set.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{VecSet, VecSet2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/flip_buffer/small_vec_builder.rs:177:67 [INFO] [stdout] | [INFO] [stdout] 177 | let v = std::mem::replace(&mut self.v, unsafe { std::mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge` is never used [INFO] [stdout] --> src/merge_state.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a, A: Array, B: Array> SmallVecInPlaceMergeState { [INFO] [stdout] | ------------------------------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn merge>(a: &mut SmallVec, b: SmallVec, o: O) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge` is never used [INFO] [stdout] --> src/merge_state.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 320 | impl<'a, A, B, Arr: Array> SmallVecMergeState<'a, A, B, Arr> { [INFO] [stdout] | ------------------------------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn merge>(a: &'a [A], b: &'a [B], o: O) -> SmallVec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_on_failure_unary` is never used [INFO] [stdout] --> src/total_vec_set.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn print_on_failure_unary(x: E, expected: R, actual: R) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dedup` is never used [INFO] [stdout] --> src/dedup.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn dedup(d: &mut [T], keep: Keep) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `filter_map_values` is never used [INFO] [stdout] --> src/radix_tree.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl TagTree { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn filter_map_values(self, f: &impl Fn(V) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max` is never used [INFO] [stdout] --> src/radix_tree.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 163 | impl TagTree { [INFO] [stdout] | --------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | fn max(&self, that: &Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `smallvec::SmallVec` does not permit being left uninitialized [INFO] [stdout] --> src/flip_buffer/small_vec_builder.rs:177:57 [INFO] [stdout] | [INFO] [stdout] 177 | let v = std::mem::replace(&mut self.v, unsafe { std::mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vec_set.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&self) -> SortedIter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&self) -> SortedIter> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vec_set.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn iter(&self) -> SortedIter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 289 | pub fn iter(&self) -> SortedIter> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vec_map.rs:235:30 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn slice_iter(&self) -> SliceIterator<(K, V)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn slice_iter(&self) -> SliceIterator<'_, (K, V)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/radix_tree.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DeserHelper` [INFO] [stdout] 44 | #[serde(untagged)] [INFO] [stdout] 45 | enum DeserHelper { [INFO] [stdout] | ----------- `DeserHelper` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/range_set.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.01s [INFO] running `Command { std: "docker" "inspect" "cc0f34735c9a5bf34ce10ba48c776c35b20adf35a5af6ce6e626b244fd70ac07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc0f34735c9a5bf34ce10ba48c776c35b20adf35a5af6ce6e626b244fd70ac07", kill_on_drop: false }` [INFO] [stdout] cc0f34735c9a5bf34ce10ba48c776c35b20adf35a5af6ce6e626b244fd70ac07