[INFO] fetching crate game_kernel_utils 0.1.0... [INFO] checking game_kernel_utils-0.1.0 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate game_kernel_utils 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate game_kernel_utils 0.1.0 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d646f65976d39f93de67b550e64a1c991622a8f621a0f25f15398877e2dfcc8c [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" "d646f65976d39f93de67b550e64a1c991622a8f621a0f25f15398877e2dfcc8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d646f65976d39f93de67b550e64a1c991622a8f621a0f25f15398877e2dfcc8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d646f65976d39f93de67b550e64a1c991622a8f621a0f25f15398877e2dfcc8c", kill_on_drop: false }` [INFO] [stdout] d646f65976d39f93de67b550e64a1c991622a8f621a0f25f15398877e2dfcc8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6887db46e6756b9a0f7f5f03af0e6b19d5fbee234cbc4932d2dd138e14ccbbc0 [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" "6887db46e6756b9a0f7f5f03af0e6b19d5fbee234cbc4932d2dd138e14ccbbc0", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking hashbag v0.1.3 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking evmap v10.0.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [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] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking approx v0.3.2 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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: 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: 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 13.33s [INFO] running `Command { std: "docker" "inspect" "6887db46e6756b9a0f7f5f03af0e6b19d5fbee234cbc4932d2dd138e14ccbbc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6887db46e6756b9a0f7f5f03af0e6b19d5fbee234cbc4932d2dd138e14ccbbc0", kill_on_drop: false }` [INFO] [stdout] 6887db46e6756b9a0f7f5f03af0e6b19d5fbee234cbc4932d2dd138e14ccbbc0