[INFO] fetching crate game_kernel_utils 0.1.0... [INFO] checking game_kernel_utils-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate game_kernel_utils 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate game_kernel_utils 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate game_kernel_utils 0.1.0 [INFO] finished tweaking crates.io crate game_kernel_utils 0.1.0 [INFO] tweaked toml for crates.io crate game_kernel_utils 0.1.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4b6e241d4b68cb86313dbca921824dca53dbdc2a56e255d4619bf060ba3c25e [INFO] running `Command { std: "docker" "start" "-a" "a4b6e241d4b68cb86313dbca921824dca53dbdc2a56e255d4619bf060ba3c25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4b6e241d4b68cb86313dbca921824dca53dbdc2a56e255d4619bf060ba3c25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b6e241d4b68cb86313dbca921824dca53dbdc2a56e255d4619bf060ba3c25e", kill_on_drop: false }` [INFO] [stdout] a4b6e241d4b68cb86313dbca921824dca53dbdc2a56e255d4619bf060ba3c25e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcddf56b054ee77ab3f6b29a20c0d584c2f238b10980910b6794e97e8468cb1e [INFO] running `Command { std: "docker" "start" "-a" "bcddf56b054ee77ab3f6b29a20c0d584c2f238b10980910b6794e97e8468cb1e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking hashbag v0.1.3 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking evmap v10.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking game_kernel_utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::evmap::ShallowCopy` [INFO] [stdout] --> src/hierarchy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::evmap::ShallowCopy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hierarchy.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | pre_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Keytype) -> Result<(), E>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hierarchy.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | post_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Keytype) -> Result<(), E>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hierarchy.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | on_removed: &Fn(&Keytype), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Keytype)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::evmap::ShallowCopy` [INFO] [stdout] --> src/hierarchy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::evmap::ShallowCopy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hierarchy.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | pre_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Keytype) -> Result<(), E>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hierarchy.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | post_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Keytype) -> Result<(), E>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hierarchy.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | on_removed: &Fn(&Keytype), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Keytype)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / fn get(&self, k: &Q) -> Option<&V> [INFO] [stdout] 83 | | where [INFO] [stdout] 84 | | Self: Sized, [INFO] [stdout] 85 | | { [INFO] [stdout] 86 | | self.get(k) [INFO] [stdout] | | ----------- recursive call site [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn get_mut(&mut self, k: &Q) -> Option<&mut V> [INFO] [stdout] 90 | | where [INFO] [stdout] 91 | | Self: Sized, [INFO] [stdout] 92 | | { [INFO] [stdout] 93 | | self.get_mut(k) [INFO] [stdout] | | --------------- recursive call site [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hierarchy.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let (r, mut w) = evmap::new(); [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: unused `Result` that must be used [INFO] [stdout] --> src/hierarchy.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | recursive_op(hierarchy, child, pre_op, post_op); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / fn get(&self, k: &Q) -> Option<&V> [INFO] [stdout] 83 | | where [INFO] [stdout] 84 | | Self: Sized, [INFO] [stdout] 85 | | { [INFO] [stdout] 86 | | self.get(k) [INFO] [stdout] | | ----------- recursive call site [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn get_mut(&mut self, k: &Q) -> Option<&mut V> [INFO] [stdout] 90 | | where [INFO] [stdout] 91 | | Self: Sized, [INFO] [stdout] 92 | | { [INFO] [stdout] 93 | | self.get_mut(k) [INFO] [stdout] | | --------------- recursive call site [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hierarchy.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let (r, mut w) = evmap::new(); [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hierarchy.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | recursive_op(hierarchy, child, pre_op, post_op); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.76s [INFO] running `Command { std: "docker" "inspect" "bcddf56b054ee77ab3f6b29a20c0d584c2f238b10980910b6794e97e8468cb1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcddf56b054ee77ab3f6b29a20c0d584c2f238b10980910b6794e97e8468cb1e", kill_on_drop: false }` [INFO] [stdout] bcddf56b054ee77ab3f6b29a20c0d584c2f238b10980910b6794e97e8468cb1e