[INFO] fetching crate moving_gc_arena 0.4.0... [INFO] testing moving_gc_arena-0.4.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate moving_gc_arena 0.4.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate moving_gc_arena 0.4.0 [INFO] finished tweaking crates.io crate moving_gc_arena 0.4.0 [INFO] tweaked toml for crates.io crate moving_gc_arena 0.4.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate moving_gc_arena 0.4.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate moving_gc_arena 0.4.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f61e7ffef4f62c14811657f6e2bcb7796f6c93dd65281d99c95a835d7b97cea0 [INFO] running `Command { std: "docker" "start" "-a" "f61e7ffef4f62c14811657f6e2bcb7796f6c93dd65281d99c95a835d7b97cea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f61e7ffef4f62c14811657f6e2bcb7796f6c93dd65281d99c95a835d7b97cea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f61e7ffef4f62c14811657f6e2bcb7796f6c93dd65281d99c95a835d7b97cea0", kill_on_drop: false }` [INFO] [stdout] f61e7ffef4f62c14811657f6e2bcb7796f6c93dd65281d99c95a835d7b97cea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42ebe8ee5fcd98ac5eaf21745d200a578338bcf4b31d28de9dc960993440309d [INFO] running `Command { std: "docker" "start" "-a" "42ebe8ee5fcd98ac5eaf21745d200a578338bcf4b31d28de9dc960993440309d", kill_on_drop: false }` [INFO] [stderr] Compiling moving_gc_arena v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `rc` [INFO] [stdout] --> src/entry/unsafe_entry.rs:343:42 [INFO] [stdout] | [INFO] [stdout] 343 | TaggedHeader::Present(_, rc) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entry/unsafe_entry.rs:397:62 [INFO] [stdout] | [INFO] [stdout] 397 | pub(crate) unsafe fn recover_kept(&mut self, mark: bool, mut dest_header: MutPresent) { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entry/unsafe_entry.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | let value = if let Some(mut e) = self.get_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | unsafe { Header::weak(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | unsafe { Header::root(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entry/unsafe_entry.rs:523:20 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn get_mut(mut self) -> &'a mut T { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | unsafe { Header::weak(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | unsafe { Header::root(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/region/collect.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | mut do_clone: F, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_weaked` is never used [INFO] [stdout] --> src/lib.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 184 | impl Root { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub(crate) fn is_weaked(&self) -> bool { [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 items `header_as_ix` and `get_mut_from_raw` are never used [INFO] [stdout] --> src/entry/unsafe_entry.rs:358:26 [INFO] [stdout] | [INFO] [stdout] 295 | impl Spot { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 358 | pub(crate) unsafe fn header_as_ix(&mut self) -> &mut Ix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub(crate) unsafe fn get_mut_from_raw<'a>(this: *mut Self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_to_keep` is never used [INFO] [stdout] --> src/entry/unsafe_entry.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 425 | impl Spot { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 426 | pub(crate) fn move_to_keep(&mut self, other: Ix) -> Spot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_spot_mut` and `check_clear_rc` are never used [INFO] [stdout] --> src/entry/unsafe_entry.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 459 | impl<'a, T> MutPresent<'a, T> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 470 | pub(crate) fn as_spot_mut(&mut self) -> &mut Spot { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | pub(crate) fn check_clear_rc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | pub(crate) fn get(&self) -> Option> { [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] 312 | pub(crate) fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | pub(crate) fn get_mut(&mut self) -> Option> { [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] 320 | pub(crate) fn get_mut(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | pub(crate) fn variant(&mut self) -> SpotVariant, T> { [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] 340 | pub(crate) fn variant(&mut self) -> SpotVariant, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn reborrow(&mut self) -> MutPresent { [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] 528 | pub fn reborrow(&mut self) -> MutPresent<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn entry_raw_mut(&mut self, ix: Ix) -> Entry { [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] 62 | pub(crate) fn entry_raw_mut(&mut self, ix: Ix) -> Entry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/mod.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn entry(&self, ix: Ix) -> Result, Error> { [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] 71 | pub(crate) fn entry(&self, ix: Ix) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/mod.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn alloc(&mut self, make_t: F) -> Entry [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] 169 | pub fn alloc(&mut self, make_t: F) -> Entry<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/types.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn reborrow(&mut self) -> Entry { [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] 136 | pub fn reborrow(&mut self) -> Entry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/types.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn reborrow(&mut self) -> MovingEntry { [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] 210 | pub fn reborrow(&mut self) -> MovingEntry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "42ebe8ee5fcd98ac5eaf21745d200a578338bcf4b31d28de9dc960993440309d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ebe8ee5fcd98ac5eaf21745d200a578338bcf4b31d28de9dc960993440309d", kill_on_drop: false }` [INFO] [stdout] 42ebe8ee5fcd98ac5eaf21745d200a578338bcf4b31d28de9dc960993440309d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c76c2058bc7caf27298ebc17f824b6830e8b35d8773ce4fc111e1041821da25a [INFO] running `Command { std: "docker" "start" "-a" "c76c2058bc7caf27298ebc17f824b6830e8b35d8773ce4fc111e1041821da25a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stdout] warning: unused variable: `rc` [INFO] [stdout] --> src/entry/unsafe_entry.rs:343:42 [INFO] [stdout] | [INFO] [stdout] 343 | TaggedHeader::Present(_, rc) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entry/unsafe_entry.rs:397:62 [INFO] [stdout] | [INFO] [stdout] 397 | pub(crate) unsafe fn recover_kept(&mut self, mark: bool, mut dest_header: MutPresent) { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entry/unsafe_entry.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | let value = if let Some(mut e) = self.get_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | unsafe { Header::weak(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | unsafe { Header::root(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entry/unsafe_entry.rs:523:20 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn get_mut(mut self) -> &'a mut T { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | unsafe { Header::weak(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | unsafe { Header::root(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/region/collect.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | mut do_clone: F, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_weaked` is never used [INFO] [stdout] --> src/lib.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 184 | impl Root { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub(crate) fn is_weaked(&self) -> bool { [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 items `header_as_ix` and `get_mut_from_raw` are never used [INFO] [stdout] --> src/entry/unsafe_entry.rs:358:26 [INFO] [stdout] | [INFO] [stdout] 295 | impl Spot { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 358 | pub(crate) unsafe fn header_as_ix(&mut self) -> &mut Ix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub(crate) unsafe fn get_mut_from_raw<'a>(this: *mut Self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_to_keep` is never used [INFO] [stdout] --> src/entry/unsafe_entry.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 425 | impl Spot { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 426 | pub(crate) fn move_to_keep(&mut self, other: Ix) -> Spot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_spot_mut` and `check_clear_rc` are never used [INFO] [stdout] --> src/entry/unsafe_entry.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 459 | impl<'a, T> MutPresent<'a, T> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 470 | pub(crate) fn as_spot_mut(&mut self) -> &mut Spot { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | pub(crate) fn check_clear_rc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | pub(crate) fn get(&self) -> Option> { [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] 312 | pub(crate) fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | pub(crate) fn get_mut(&mut self) -> Option> { [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] 320 | pub(crate) fn get_mut(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | pub(crate) fn variant(&mut self) -> SpotVariant, T> { [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] 340 | pub(crate) fn variant(&mut self) -> SpotVariant, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn reborrow(&mut self) -> MutPresent { [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] 528 | pub fn reborrow(&mut self) -> MutPresent<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn entry_raw_mut(&mut self, ix: Ix) -> Entry { [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] 62 | pub(crate) fn entry_raw_mut(&mut self, ix: Ix) -> Entry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/mod.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn entry(&self, ix: Ix) -> Result, Error> { [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] 71 | pub(crate) fn entry(&self, ix: Ix) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/mod.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn alloc(&mut self, make_t: F) -> Entry [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] 169 | pub fn alloc(&mut self, make_t: F) -> Entry<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/types.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn reborrow(&mut self) -> Entry { [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] 136 | pub fn reborrow(&mut self) -> Entry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/types.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn reborrow(&mut self) -> MovingEntry { [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] 210 | pub fn reborrow(&mut self) -> MovingEntry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling moving_gc_arena v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `packed-headers` [INFO] [stdout] --> src/lib.rs:607:15 [INFO] [stdout] | [INFO] [stdout] 607 | #[cfg(all(feature = "packed-headers", not(feature = "debug-arena")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug-arena` [INFO] [stdout] = help: consider adding `packed-headers` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1023:66 [INFO] [stdout] | [INFO] [stdout] 1023 | let mut handle = |mut s: Entry| -> Option<(Entry)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1023 - let mut handle = |mut s: Entry| -> Option<(Entry)> { [INFO] [stdout] 1023 + let mut handle = |mut s: Entry| -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rc` [INFO] [stdout] --> src/entry/unsafe_entry.rs:343:42 [INFO] [stdout] | [INFO] [stdout] 343 | TaggedHeader::Present(_, rc) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entry/unsafe_entry.rs:397:62 [INFO] [stdout] | [INFO] [stdout] 397 | pub(crate) unsafe fn recover_kept(&mut self, mark: bool, mut dest_header: MutPresent) { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entry/unsafe_entry.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | let value = if let Some(mut e) = self.get_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | unsafe { Header::weak(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | unsafe { Header::root(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entry/unsafe_entry.rs:523:20 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn get_mut(mut self) -> &'a mut T { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | unsafe { Header::weak(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/entry/unsafe_entry.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | unsafe { Header::root(self.header, ix) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/region/collect.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | mut do_clone: F, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:753:13 [INFO] [stdout] | [INFO] [stdout] 753 | let mut rt2 = rt1.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:799:21 [INFO] [stdout] | [INFO] [stdout] 799 | let mut e1 = e.get().clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_new` [INFO] [stdout] --> src/lib.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | let x_new = r.deep_clone_with(x1.clone(), |mut e| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_elems` [INFO] [stdout] --> src/lib.rs:859:17 [INFO] [stdout] | [INFO] [stdout] 859 | let num_elems = initial_elems.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_elems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:867:17 [INFO] [stdout] | [INFO] [stdout] 867 | let v: Vec<_> = kept_elems.into_iter().map(|elem| r.alloc(|_| elem).root()).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1098:13 [INFO] [stdout] | [INFO] [stdout] 1098 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_weaked` is never used [INFO] [stdout] --> src/lib.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 184 | impl Root { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub(crate) fn is_weaked(&self) -> bool { [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 items `header_as_ix` and `get_mut_from_raw` are never used [INFO] [stdout] --> src/entry/unsafe_entry.rs:358:26 [INFO] [stdout] | [INFO] [stdout] 295 | impl Spot { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 358 | pub(crate) unsafe fn header_as_ix(&mut self) -> &mut Ix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub(crate) unsafe fn get_mut_from_raw<'a>(this: *mut Self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_to_keep` is never used [INFO] [stdout] --> src/entry/unsafe_entry.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 425 | impl Spot { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 426 | pub(crate) fn move_to_keep(&mut self, other: Ix) -> Spot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_spot_mut` and `check_clear_rc` are never used [INFO] [stdout] --> src/entry/unsafe_entry.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 459 | impl<'a, T> MutPresent<'a, T> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 470 | pub(crate) fn as_spot_mut(&mut self) -> &mut Spot { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | pub(crate) fn check_clear_rc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blob` is never used [INFO] [stdout] --> src/lib.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 354 | impl Elem { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn blob(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:1065:29 [INFO] [stdout] | [INFO] [stdout] 1065 | struct Strategy<'a>(&'a u64); [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | pub(crate) fn get(&self) -> Option> { [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] 312 | pub(crate) fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | pub(crate) fn get_mut(&mut self) -> Option> { [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] 320 | pub(crate) fn get_mut(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | pub(crate) fn variant(&mut self) -> SpotVariant, T> { [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] 340 | pub(crate) fn variant(&mut self) -> SpotVariant, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry/unsafe_entry.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn reborrow(&mut self) -> MutPresent { [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] 528 | pub fn reborrow(&mut self) -> MutPresent<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn entry_raw_mut(&mut self, ix: Ix) -> Entry { [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] 62 | pub(crate) fn entry_raw_mut(&mut self, ix: Ix) -> Entry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/mod.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn entry(&self, ix: Ix) -> Result, Error> { [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] 71 | pub(crate) fn entry(&self, ix: Ix) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/mod.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn alloc(&mut self, make_t: F) -> Entry [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] 169 | pub fn alloc(&mut self, make_t: F) -> Entry<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/types.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn reborrow(&mut self) -> Entry { [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] 136 | pub fn reborrow(&mut self) -> Entry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/region/types.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn reborrow(&mut self) -> MovingEntry { [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] 210 | pub fn reborrow(&mut self) -> MovingEntry<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.51s [INFO] running `Command { std: "docker" "inspect" "c76c2058bc7caf27298ebc17f824b6830e8b35d8773ce4fc111e1041821da25a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76c2058bc7caf27298ebc17f824b6830e8b35d8773ce4fc111e1041821da25a", kill_on_drop: false }` [INFO] [stdout] c76c2058bc7caf27298ebc17f824b6830e8b35d8773ce4fc111e1041821da25a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e0dc5778f610a848a85fc8fddd87906a53d235c5bd0c5d2264150671f672a91 [INFO] running `Command { std: "docker" "start" "-a" "3e0dc5778f610a848a85fc8fddd87906a53d235c5bd0c5d2264150671f672a91", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `rc` [INFO] [stderr] --> src/entry/unsafe_entry.rs:343:42 [INFO] [stderr] | [INFO] [stderr] 343 | TaggedHeader::Present(_, rc) => { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/entry/unsafe_entry.rs:397:62 [INFO] [stderr] | [INFO] [stderr] 397 | pub(crate) unsafe fn recover_kept(&mut self, mark: bool, mut dest_header: MutPresent) { [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/entry/unsafe_entry.rs:410:33 [INFO] [stderr] | [INFO] [stderr] 410 | let value = if let Some(mut e) = self.get_mut() { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/entry/unsafe_entry.rs:510:9 [INFO] [stderr] | [INFO] [stderr] 510 | unsafe { Header::weak(self.header, ix) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/entry/unsafe_entry.rs:514:9 [INFO] [stderr] | [INFO] [stderr] 514 | unsafe { Header::root(self.header, ix) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/entry/unsafe_entry.rs:523:20 [INFO] [stderr] | [INFO] [stderr] 523 | pub fn get_mut(mut self) -> &'a mut T { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/entry/unsafe_entry.rs:555:9 [INFO] [stderr] | [INFO] [stderr] 555 | unsafe { Header::weak(self.header, ix) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/entry/unsafe_entry.rs:559:9 [INFO] [stderr] | [INFO] [stderr] 559 | unsafe { Header::root(self.header, ix) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/region/collect.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | mut do_clone: F, [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method `is_weaked` is never used [INFO] [stderr] --> src/lib.rs:198:19 [INFO] [stderr] | [INFO] [stderr] 184 | impl Root { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 198 | pub(crate) fn is_weaked(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `header_as_ix` and `get_mut_from_raw` are never used [INFO] [stderr] --> src/entry/unsafe_entry.rs:358:26 [INFO] [stderr] | [INFO] [stderr] 295 | impl Spot { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 358 | pub(crate) unsafe fn header_as_ix(&mut self) -> &mut Ix { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 388 | pub(crate) unsafe fn get_mut_from_raw<'a>(this: *mut Self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `move_to_keep` is never used [INFO] [stderr] --> src/entry/unsafe_entry.rs:426:19 [INFO] [stderr] | [INFO] [stderr] 425 | impl Spot { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 426 | pub(crate) fn move_to_keep(&mut self, other: Ix) -> Spot { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `as_spot_mut` and `check_clear_rc` are never used [INFO] [stderr] --> src/entry/unsafe_entry.rs:470:19 [INFO] [stderr] | [INFO] [stderr] 459 | impl<'a, T> MutPresent<'a, T> { [INFO] [stderr] | ----------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 470 | pub(crate) fn as_spot_mut(&mut self) -> &mut Spot { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 487 | pub(crate) fn check_clear_rc(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entry/unsafe_entry.rs:312:23 [INFO] [stderr] | [INFO] [stderr] 312 | pub(crate) fn get(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 312 | pub(crate) fn get(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entry/unsafe_entry.rs:320:27 [INFO] [stderr] | [INFO] [stderr] 320 | pub(crate) fn get_mut(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 320 | pub(crate) fn get_mut(&mut self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entry/unsafe_entry.rs:340:27 [INFO] [stderr] | [INFO] [stderr] 340 | pub(crate) fn variant(&mut self) -> SpotVariant, T> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 340 | pub(crate) fn variant(&mut self) -> SpotVariant, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entry/unsafe_entry.rs:528:21 [INFO] [stderr] | [INFO] [stderr] 528 | pub fn reborrow(&mut self) -> MutPresent { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 528 | pub fn reborrow(&mut self) -> MutPresent<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/region/mod.rs:62:33 [INFO] [stderr] | [INFO] [stderr] 62 | pub(crate) fn entry_raw_mut(&mut self, ix: Ix) -> Entry { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | pub(crate) fn entry_raw_mut(&mut self, ix: Ix) -> Entry<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/region/mod.rs:71:25 [INFO] [stderr] | [INFO] [stderr] 71 | pub(crate) fn entry(&self, ix: Ix) -> Result, Error> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | pub(crate) fn entry(&self, ix: Ix) -> Result, Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/region/mod.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn alloc(&mut self, make_t: F) -> Entry [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 169 | pub fn alloc(&mut self, make_t: F) -> Entry<'_, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/region/types.rs:136:21 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn reborrow(&mut self) -> Entry { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 136 | pub fn reborrow(&mut self) -> Entry<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/region/types.rs:210:21 [INFO] [stderr] | [INFO] [stderr] 210 | pub fn reborrow(&mut self) -> MovingEntry { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 210 | pub fn reborrow(&mut self) -> MovingEntry<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `moving_gc_arena` (lib) generated 22 warnings (run `cargo fix --lib -p moving_gc_arena` to apply 14 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition value: `packed-headers` [INFO] [stderr] --> src/lib.rs:607:15 [INFO] [stderr] | [INFO] [stderr] 607 | #[cfg(all(feature = "packed-headers", not(feature = "debug-arena")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `debug-arena` [INFO] [stderr] = help: consider adding `packed-headers` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:1023:66 [INFO] [stderr] | [INFO] [stderr] 1023 | let mut handle = |mut s: Entry| -> Option<(Entry)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1023 - let mut handle = |mut s: Entry| -> Option<(Entry)> { [INFO] [stderr] 1023 + let mut handle = |mut s: Entry| -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:753:13 [INFO] [stderr] | [INFO] [stderr] 753 | let mut rt2 = rt1.clone(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:799:21 [INFO] [stderr] | [INFO] [stderr] 799 | let mut e1 = e.get().clone(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x_new` [INFO] [stderr] --> src/lib.rs:821:13 [INFO] [stderr] | [INFO] [stderr] 821 | let x_new = r.deep_clone_with(x1.clone(), |mut e| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_new` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_elems` [INFO] [stderr] --> src/lib.rs:859:17 [INFO] [stderr] | [INFO] [stderr] 859 | let num_elems = initial_elems.len(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_elems` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/lib.rs:867:17 [INFO] [stderr] | [INFO] [stderr] 867 | let v: Vec<_> = kept_elems.into_iter().map(|elem| r.alloc(|_| elem).root()).collect(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:1098:13 [INFO] [stderr] | [INFO] [stderr] 1098 | let mut i = 0; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method `blob` is never used [INFO] [stderr] --> src/lib.rs:371:16 [INFO] [stderr] | [INFO] [stderr] 354 | impl Elem { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 371 | pub fn blob(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:1065:29 [INFO] [stderr] | [INFO] [stderr] 1065 | struct Strategy<'a>(&'a u64); [INFO] [stderr] | -------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: `moving_gc_arena` (lib test) generated 32 warnings (22 duplicates) (run `cargo fix --lib -p moving_gc_arena --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/moving_gc_arena-4659fe98a4c787d1) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test tests::check_impls ... ok [INFO] [stdout] test tests::non_static_strategy ... ok [INFO] [stdout] test tests::dfs_diamond ... ok [INFO] [stdout] test tests::ix_to_root ... ok [INFO] [stdout] test tests::root_ix_roundtrip ... ok [INFO] [stdout] test tests::traverse_pre_post ... ok [INFO] [stdout] test tests::deep_clone_sound ... ok [INFO] [stdout] test tests::print_external_references ... ok [INFO] [stdout] test tests::root_weak_roundtrip ... ok [INFO] [stdout] test tests::roots_are_root ... ok [INFO] [stdout] test tests::deep_clone_backpatch ... ok [INFO] [stdout] test tests::deep_clone_into_with ... ok [INFO] [stdout] test tests::deep_clone_optional ... ok [INFO] [stdout] test tests::entry_ix_weak_commute ... ok [INFO] [stdout] test tests::prop_deep_clone_sound_for_malicious ... ok [INFO] [stdout] test tests::indirect_correct ... ok [INFO] [stdout] test tests::traverse_sound ... ok [INFO] [stdout] test tests::upgrades_well_behaved ... ok [INFO] [stdout] test tests::weak_ix_roundtrip ... ok [INFO] [stdout] test tests::weaks_are_weak ... ok [INFO] [stdout] test tests::weak_to_root ... ok [INFO] [stdout] test tests::invalid_ix_in_gc - should panic ... ok [INFO] [stdout] test tests::prop_when_gc_identity_unchanged ... ok [INFO] [stdout] test tests::simple_strategy ... ok [INFO] [stderr] Doc-tests moving_gc_arena [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/region/mod.rs - region::Region::traverse_with (line 293) ... ok [INFO] [stdout] test src/region/mod.rs - region::Region::gc (line 190) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3e0dc5778f610a848a85fc8fddd87906a53d235c5bd0c5d2264150671f672a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0dc5778f610a848a85fc8fddd87906a53d235c5bd0c5d2264150671f672a91", kill_on_drop: false }` [INFO] [stdout] 3e0dc5778f610a848a85fc8fddd87906a53d235c5bd0c5d2264150671f672a91