[INFO] fetching crate game_kernel_utils 0.1.0... [INFO] checking game_kernel_utils-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate game_kernel_utils 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate game_kernel_utils 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 173c0ca2a0926d7bf65e73b3416c95ab88d464cba9525b8d5edd9523667b581f [INFO] running `Command { std: "docker" "start" "-a" "173c0ca2a0926d7bf65e73b3416c95ab88d464cba9525b8d5edd9523667b581f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "173c0ca2a0926d7bf65e73b3416c95ab88d464cba9525b8d5edd9523667b581f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "173c0ca2a0926d7bf65e73b3416c95ab88d464cba9525b8d5edd9523667b581f", kill_on_drop: false }` [INFO] [stdout] 173c0ca2a0926d7bf65e73b3416c95ab88d464cba9525b8d5edd9523667b581f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94fc804c0a5ba2b1ef53a6597d706d00f19040aa78c157c7af858b2dd4aec41a [INFO] running `Command { std: "docker" "start" "-a" "94fc804c0a5ba2b1ef53a6597d706d00f19040aa78c157c7af858b2dd4aec41a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking hashbag v0.1.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking evmap v10.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking cgmath v0.17.0 [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: 8 warnings emitted [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.93s [INFO] running `Command { std: "docker" "inspect" "94fc804c0a5ba2b1ef53a6597d706d00f19040aa78c157c7af858b2dd4aec41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94fc804c0a5ba2b1ef53a6597d706d00f19040aa78c157c7af858b2dd4aec41a", kill_on_drop: false }` [INFO] [stdout] 94fc804c0a5ba2b1ef53a6597d706d00f19040aa78c157c7af858b2dd4aec41a