[INFO] cloning repository https://github.com/Zeimer/aisd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zeimer/aisd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeimer%2Faisd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeimer%2Faisd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] edb8b182a47b6db64ca18a79bf1dd453737dd36d [INFO] checking Zeimer/aisd/edb8b182a47b6db64ca18a79bf1dd453737dd36d against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeimer%2Faisd" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zeimer/aisd on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Zeimer/aisd [INFO] finished tweaking git repo https://github.com/Zeimer/aisd [INFO] tweaked toml for git repo https://github.com/Zeimer/aisd written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Zeimer/aisd already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termcolor v1.0.1 [INFO] [stderr] Downloaded env_logger v0.5.11 [INFO] [stderr] Downloaded aho-corasick v0.6.6 [INFO] [stderr] Downloaded wincolor v1.0.0 [INFO] [stderr] Downloaded regex v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4e508547d117f74f2f1e82472efd4dea17fa203eb705ceaaf2b793f4073fada [INFO] running `Command { std: "docker" "start" "-a" "d4e508547d117f74f2f1e82472efd4dea17fa203eb705ceaaf2b793f4073fada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4e508547d117f74f2f1e82472efd4dea17fa203eb705ceaaf2b793f4073fada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e508547d117f74f2f1e82472efd4dea17fa203eb705ceaaf2b793f4073fada", kill_on_drop: false }` [INFO] [stdout] d4e508547d117f74f2f1e82472efd4dea17fa203eb705ceaaf2b793f4073fada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0e1fe97ba8354d4fcccb6ff41185cd3e74a5da9b8fbba83790a88cfc1b2b9e1 [INFO] running `Command { std: "docker" "start" "-a" "d0e1fe97ba8354d4fcccb6ff41185cd3e74a5da9b8fbba83790a88cfc1b2b9e1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking env_logger v0.5.11 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stderr] Checking aisd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::u32` [INFO] [stdout] --> src/depq.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map/mod.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn find(&self, &Self::Key) -> Option<&Self::Value>; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Key` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map/mod.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn ins(&mut self, Self::Key, Self::Value) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Key` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map/mod.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn ins(&mut self, Self::Key, Self::Value) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map/mod.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn del(&mut self, &Self::Key) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Key` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/depq.rs:340:29 [INFO] [stdout] | [INFO] [stdout] 340 | fn shrink(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 | fn shrink(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Tree::*` [INFO] [stdout] --> src/map/bst.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | use super::Tree::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map/mod.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn find(&self, &Self::Key) -> Option<&Self::Value>; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Key` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map/mod.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn ins(&mut self, Self::Key, Self::Value) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Key` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map/mod.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn ins(&mut self, Self::Key, Self::Value) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map/mod.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn del(&mut self, &Self::Key) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Key` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/depq.rs:340:29 [INFO] [stdout] | [INFO] [stdout] 340 | fn shrink(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 | fn shrink(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coin_change.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | for mut i in 0 .. coins.len() { [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 variable: `key` [INFO] [stdout] --> src/map/bst.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn del(&mut self, key: &K) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_heap` is never used [INFO] [stdout] --> src/depq.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl DoubleHeap { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | fn is_heap(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/map/bst.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Tree { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 18 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aisd::pq::Heap` [INFO] [stdout] --> src/bin.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use aisd::pq::Heap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aisd::depq::DEPQ` [INFO] [stdout] --> src/bin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use aisd::depq::DEPQ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aisd::depq::DoubleHeap` [INFO] [stdout] --> src/bin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use aisd::depq::DoubleHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aisd::pq::Heap` [INFO] [stdout] --> src/bin.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use aisd::pq::Heap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aisd::depq::DEPQ` [INFO] [stdout] --> src/bin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use aisd::depq::DEPQ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aisd::depq::DoubleHeap` [INFO] [stdout] --> src/bin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use aisd::depq::DoubleHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coin_change.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | for mut i in 0 .. coins.len() { [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 variable: `key` [INFO] [stdout] --> src/map/bst.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn del(&mut self, key: &K) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map/bst.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let mut t1 = t.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `Command { std: "docker" "inspect" "d0e1fe97ba8354d4fcccb6ff41185cd3e74a5da9b8fbba83790a88cfc1b2b9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e1fe97ba8354d4fcccb6ff41185cd3e74a5da9b8fbba83790a88cfc1b2b9e1", kill_on_drop: false }` [INFO] [stdout] d0e1fe97ba8354d4fcccb6ff41185cd3e74a5da9b8fbba83790a88cfc1b2b9e1