[INFO] cloning repository https://github.com/MrWint/smb-opt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrWint/smb-opt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrWint%2Fsmb-opt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrWint%2Fsmb-opt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] daa44287bc9ccab7e85b430e80bf7dff77542542 [INFO] checking MrWint/smb-opt against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrWint%2Fsmb-opt" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrWint/smb-opt on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MrWint/smb-opt [INFO] finished tweaking git repo https://github.com/MrWint/smb-opt [INFO] tweaked toml for git repo https://github.com/MrWint/smb-opt written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/MrWint/smb-opt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitpack v0.2.1 [INFO] [stderr] Downloaded typenum v1.9.0 [INFO] [stderr] Downloaded libc v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 531679cf715e2b25164877879430b6b50eda8b9708544acab67c5921ff126318 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "531679cf715e2b25164877879430b6b50eda8b9708544acab67c5921ff126318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531679cf715e2b25164877879430b6b50eda8b9708544acab67c5921ff126318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531679cf715e2b25164877879430b6b50eda8b9708544acab67c5921ff126318", kill_on_drop: false }` [INFO] [stdout] 531679cf715e2b25164877879430b6b50eda8b9708544acab67c5921ff126318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 997e894e297c1ad52e0a2937ddc2ad344f76f3c93d0dc07a166054f21dcb7c01 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "997e894e297c1ad52e0a2937ddc2ad344f76f3c93d0dc07a166054f21dcb7c01", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.9.0 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking bitpack v0.2.1 [INFO] [stderr] Checking smb-opt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/emu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub struct Input: u8 { [INFO] [stdout] 10 | | const A = 0b10000000; [INFO] [stdout] 11 | | const B = 0b01000000; [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/emu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub struct Input: u8 { [INFO] [stdout] 10 | | const A = 0b10000000; [INFO] [stdout] 11 | | const B = 0b01000000; [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/emu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub struct Input: u8 { [INFO] [stdout] 10 | | const A = 0b10000000; [INFO] [stdout] 11 | | const B = 0b01000000; [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / bitflags! { [INFO] [stdout] 28 | | pub struct Dir: u8 { [INFO] [stdout] 29 | | const LEFT = 0b00000010; [INFO] [stdout] 30 | | const RIGHT = 0b00000001; [INFO] [stdout] 31 | | const LR = Self::LEFT.bits | Self::RIGHT.bits; [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / bitflags! { [INFO] [stdout] 28 | | pub struct Dir: u8 { [INFO] [stdout] 29 | | const LEFT = 0b00000010; [INFO] [stdout] 30 | | const RIGHT = 0b00000001; [INFO] [stdout] 31 | | const LR = Self::LEFT.bits | Self::RIGHT.bits; [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / bitflags! { [INFO] [stdout] 28 | | pub struct Dir: u8 { [INFO] [stdout] 29 | | const LEFT = 0b00000010; [INFO] [stdout] 30 | | const RIGHT = 0b00000001; [INFO] [stdout] 31 | | const LR = Self::LEFT.bits | Self::RIGHT.bits; [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/case/w11.rs:214:51 [INFO] [stdout] | [INFO] [stdout] 214 | ... = { vec![(5,3),(6,3),(7,3),(8,3),(9,3),(4,5),(5,5),(6,5),(7,5),(8,5),(9,5),(10,5),(4,7),(5,7),(6,7),(7,7),(8,7),(9,7),(10,7)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/ida.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | static ref DEBUG_STATE_WATCHLIST: Vec = { vec![] }; [INFO] [stdout] | ^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/emu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub struct Input: u8 { [INFO] [stdout] 10 | | const A = 0b10000000; [INFO] [stdout] 11 | | const B = 0b01000000; [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/emu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub struct Input: u8 { [INFO] [stdout] 10 | | const A = 0b10000000; [INFO] [stdout] 11 | | const B = 0b01000000; [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/emu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub struct Input: u8 { [INFO] [stdout] 10 | | const A = 0b10000000; [INFO] [stdout] 11 | | const B = 0b01000000; [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / bitflags! { [INFO] [stdout] 28 | | pub struct Dir: u8 { [INFO] [stdout] 29 | | const LEFT = 0b00000010; [INFO] [stdout] 30 | | const RIGHT = 0b00000001; [INFO] [stdout] 31 | | const LR = Self::LEFT.bits | Self::RIGHT.bits; [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / bitflags! { [INFO] [stdout] 28 | | pub struct Dir: u8 { [INFO] [stdout] 29 | | const LEFT = 0b00000010; [INFO] [stdout] 30 | | const RIGHT = 0b00000001; [INFO] [stdout] 31 | | const LR = Self::LEFT.bits | Self::RIGHT.bits; [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/state.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / bitflags! { [INFO] [stdout] 28 | | pub struct Dir: u8 { [INFO] [stdout] 29 | | const LEFT = 0b00000010; [INFO] [stdout] 30 | | const RIGHT = 0b00000001; [INFO] [stdout] 31 | | const LR = Self::LEFT.bits | Self::RIGHT.bits; [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/case/w11.rs:214:51 [INFO] [stdout] | [INFO] [stdout] 214 | ... = { vec![(5,3),(6,3),(7,3),(8,3),(9,3),(4,5),(5,5),(6,5),(7,5),(8,5),(9,5),(10,5),(4,7),(5,7),(6,7),(7,7),(8,7),(9,7),(10,7)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/ida.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | static ref DEBUG_STATE_WATCHLIST: Vec = { vec![] }; [INFO] [stdout] | ^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/case/w11.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | / lazy_static! { [INFO] [stdout] 214 | | static ref W11_SUB_COINS: Vec<(usize, usize)> = { vec![(5,3),(6,3),(7,3),(8,3),(9,3),(4,5),(5,5),(6,5),(7,5),(8,5),(9,5),(10,5),(4,7),(... [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/case/w11.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | / lazy_static! { [INFO] [stdout] 214 | | static ref W11_SUB_COINS: Vec<(usize, usize)> = { vec![(5,3),(6,3),(7,3),(8,3),(9,3),(4,5),(5,5),(6,5),(7,5),(8,5),(9,5),(10,5),(4,7),(... [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ida.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / lazy_static! { [INFO] [stdout] 106 | | static ref DEBUG_STATE_WATCHLIST: Vec = { vec![] }; [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ida.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / lazy_static! { [INFO] [stdout] 106 | | static ref DEBUG_STATE_WATCHLIST: Vec = { vec![] }; [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/heuristics/xpos.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | let mut next_states = XPosEmu::::run_step(vec![s.clone()], ALLOW_SIDE_COLLISIONS); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/heuristics/ypos.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | let mut next_states = YPosEmu::::run_step(vec![s.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/heuristics/xpos.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | let mut next_states = XPosEmu::::run_step(vec![s.clone()], ALLOW_SIDE_COLLISIONS); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/heuristics/ypos.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | let mut next_states = YPosEmu::::run_step(vec![s.clone()]); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/store.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | ::std::mem::replace(k, key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/store.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | ::std::mem::replace(k, key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/store.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | ::std::mem::replace(&mut self.keys[probe_pos], key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/store.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | ::std::mem::replace(&mut self.values[probe_pos], value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/store.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | ::std::mem::replace(k, key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/store.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | ::std::mem::replace(k, key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/store.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | ::std::mem::replace(&mut self.keys[probe_pos], key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/store.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | ::std::mem::replace(&mut self.values[probe_pos], value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.39s [INFO] running `Command { std: "docker" "inspect" "997e894e297c1ad52e0a2937ddc2ad344f76f3c93d0dc07a166054f21dcb7c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997e894e297c1ad52e0a2937ddc2ad344f76f3c93d0dc07a166054f21dcb7c01", kill_on_drop: false }` [INFO] [stdout] 997e894e297c1ad52e0a2937ddc2ad344f76f3c93d0dc07a166054f21dcb7c01