[INFO] fetching crate game_kernel_utils 0.1.0... [INFO] testing game_kernel_utils-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate game_kernel_utils 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate game_kernel_utils 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ecf91a5c8394b10ee8536f8d1f588309f5ada26aed96f54da20f01bcf07c602 [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" "0ecf91a5c8394b10ee8536f8d1f588309f5ada26aed96f54da20f01bcf07c602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ecf91a5c8394b10ee8536f8d1f588309f5ada26aed96f54da20f01bcf07c602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ecf91a5c8394b10ee8536f8d1f588309f5ada26aed96f54da20f01bcf07c602", kill_on_drop: false }` [INFO] [stdout] 0ecf91a5c8394b10ee8536f8d1f588309f5ada26aed96f54da20f01bcf07c602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 79bc6cfed7cdbf796ede73db730a9bf65fa2b4d1d198031447135bf7c4947043 [INFO] running `Command { std: "docker" "start" "-a" "79bc6cfed7cdbf796ede73db730a9bf65fa2b4d1d198031447135bf7c4947043", kill_on_drop: false }` [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling hashbag v0.1.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling evmap v10.0.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pre_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] 116 + pre_op: Option<&dyn Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - post_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] 117 + post_op: Option<&dyn Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 - on_removed: &Fn(&Keytype), [INFO] [stdout] 149 + on_removed: &dyn Fn(&Keytype), [INFO] [stdout] | [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: field is never read: `current_index` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | current_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AutoIndexMap` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.10s [INFO] running `Command { std: "docker" "inspect" "79bc6cfed7cdbf796ede73db730a9bf65fa2b4d1d198031447135bf7c4947043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79bc6cfed7cdbf796ede73db730a9bf65fa2b4d1d198031447135bf7c4947043", kill_on_drop: false }` [INFO] [stdout] 79bc6cfed7cdbf796ede73db730a9bf65fa2b4d1d198031447135bf7c4947043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f32e391c952c8d958694facaae3f6bca57a3acc38698d106815153e2653aa660 [INFO] running `Command { std: "docker" "start" "-a" "f32e391c952c8d958694facaae3f6bca57a3acc38698d106815153e2653aa660", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pre_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] 116 + pre_op: Option<&dyn Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - post_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] 117 + post_op: Option<&dyn Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 - on_removed: &Fn(&Keytype), [INFO] [stdout] 149 + on_removed: &dyn Fn(&Keytype), [INFO] [stdout] | [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: field is never read: `current_index` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | current_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AutoIndexMap` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 9 warnings emitted [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pre_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] 116 + pre_op: Option<&dyn Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - post_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] 117 + post_op: Option<&dyn Fn(&Keytype) -> Result<(), E>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 - on_removed: &Fn(&Keytype), [INFO] [stdout] 149 + on_removed: &dyn Fn(&Keytype), [INFO] [stdout] | [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: field is never read: `current_index` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | current_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AutoIndexMap` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "f32e391c952c8d958694facaae3f6bca57a3acc38698d106815153e2653aa660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32e391c952c8d958694facaae3f6bca57a3acc38698d106815153e2653aa660", kill_on_drop: false }` [INFO] [stdout] f32e391c952c8d958694facaae3f6bca57a3acc38698d106815153e2653aa660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6235c81af76750736df31c3dba0180da73cfa01ea05a12fff3acb72bd9442d50 [INFO] running `Command { std: "docker" "start" "-a" "6235c81af76750736df31c3dba0180da73cfa01ea05a12fff3acb72bd9442d50", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self::evmap::ShallowCopy` [INFO] [stderr] --> src/hierarchy.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use self::evmap::ShallowCopy; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hierarchy.rs:116:25 [INFO] [stderr] | [INFO] [stderr] 116 | pre_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 116 - pre_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stderr] 116 + pre_op: Option<&dyn Fn(&Keytype) -> Result<(), E>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hierarchy.rs:117:26 [INFO] [stderr] | [INFO] [stderr] 117 | post_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 117 - post_op: Option<&Fn(&Keytype) -> Result<(), E>>, [INFO] [stderr] 117 + post_op: Option<&dyn Fn(&Keytype) -> Result<(), E>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hierarchy.rs:149:22 [INFO] [stderr] | [INFO] [stderr] 149 | on_removed: &Fn(&Keytype), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 149 - on_removed: &Fn(&Keytype), [INFO] [stderr] 149 + on_removed: &dyn Fn(&Keytype), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/hierarchy.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | let (r, mut w) = evmap::new(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> src/lib.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | / fn get(&self, k: &Q) -> Option<&V> [INFO] [stderr] 83 | | where [INFO] [stderr] 84 | | Self: Sized, [INFO] [stderr] 85 | | { [INFO] [stderr] 86 | | self.get(k) [INFO] [stderr] | | ----------- recursive call site [INFO] [stderr] 87 | | } [INFO] [stderr] | |_____^ cannot return without recursing [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> src/lib.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / fn get_mut(&mut self, k: &Q) -> Option<&mut V> [INFO] [stderr] 90 | | where [INFO] [stderr] 91 | | Self: Sized, [INFO] [stderr] 92 | | { [INFO] [stderr] 93 | | self.get_mut(k) [INFO] [stderr] | | --------------- recursive call site [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____^ cannot return without recursing [INFO] [stderr] | [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: field is never read: `current_index` [INFO] [stderr] --> src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | current_index: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `AutoIndexMap` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/hierarchy.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | recursive_op(hierarchy, child, pre_op, post_op); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `game_kernel_utils` (lib) generated 9 warnings [INFO] [stderr] warning: `game_kernel_utils` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/game_kernel_utils-5f409ea87e80a005) [INFO] [stdout] [INFO] [stderr] Doc-tests game_kernel_utils [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6235c81af76750736df31c3dba0180da73cfa01ea05a12fff3acb72bd9442d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6235c81af76750736df31c3dba0180da73cfa01ea05a12fff3acb72bd9442d50", kill_on_drop: false }` [INFO] [stdout] 6235c81af76750736df31c3dba0180da73cfa01ea05a12fff3acb72bd9442d50