[INFO] cloning repository https://github.com/RichoDemus/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RichoDemus/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichoDemus%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichoDemus%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dc90f4628a049aa6e8bfb9029f242e8bdc5c71b [INFO] building RichoDemus/advent-of-code-2019 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichoDemus%2Fadvent-of-code-2019" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RichoDemus/advent-of-code-2019 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/RichoDemus/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/RichoDemus/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/RichoDemus/advent-of-code-2019 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RichoDemus/advent-of-code-2019 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float-cmp v0.6.0 [INFO] [stderr] Downloaded num-bigint v0.2.5 [INFO] [stderr] Downloaded array_tool v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4ecbeb701a5a99556a3aad053b1d614859a4cbec900fd1cfc23e43c06f2643e [INFO] running `Command { std: "docker" "start" "-a" "b4ecbeb701a5a99556a3aad053b1d614859a4cbec900fd1cfc23e43c06f2643e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4ecbeb701a5a99556a3aad053b1d614859a4cbec900fd1cfc23e43c06f2643e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ecbeb701a5a99556a3aad053b1d614859a4cbec900fd1cfc23e43c06f2643e", kill_on_drop: false }` [INFO] [stdout] b4ecbeb701a5a99556a3aad053b1d614859a4cbec900fd1cfc23e43c06f2643e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 696867cb05f5153fbb0cf480a00a8c196dd6559996e1b46e0f1adb8ff0d89f2e [INFO] running `Command { std: "docker" "start" "-a" "696867cb05f5153fbb0cf480a00a8c196dd6559996e1b46e0f1adb8ff0d89f2e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling array_tool v0.4.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.5 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `split` [INFO] [stdout] --> src/twelve.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let split: Vec<&str> = s.split_ascii_whitespace().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_split` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outputs` is never read [INFO] [stdout] --> src/intputer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct Intputer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Intputer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x_max` and `y_max` are never read [INFO] [stdout] --> src/ten.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 160 | struct AsteroidField { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 161 | x_max: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 162 | y_max: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_max_laser_length` is never used [INFO] [stdout] --> src/ten.rs:270:4 [INFO] [stdout] | [INFO] [stdout] 270 | fn calculate_max_laser_length(field: &AsteroidField, station: &Point) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/eleven.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 183 | impl Robot { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 184 | fn from(y: i32, x: i32, direction: Direction) -> Robot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Body` is never constructed [INFO] [stdout] --> src/twelve.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Body { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/twelve.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Body { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 16 | fn from(s: &str) -> Body { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Space` is never constructed [INFO] [stdout] --> src/twelve.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct Space { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse`, `parse_str`, and `tick` are never used [INFO] [stdout] --> src/twelve.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl Space { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 96 | fn parse(input: Vec) -> Space { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn parse_str(input: Vec<&str>) -> Space { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/twelve.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&six::Body` instead of cloning the inner type [INFO] [stdout] --> src/six.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | current = parent.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intputer.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | _ => panic!(format!("Unknown mode {}", mode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 237 - _ => panic!(format!("Unknown mode {}", mode)), [INFO] [stdout] 237 + _ => panic!("Unknown mode {}", mode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/eight.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | std::mem::replace(&mut row[index], cell); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = std::mem::replace(&mut row[index], cell); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.69s [INFO] running `Command { std: "docker" "inspect" "696867cb05f5153fbb0cf480a00a8c196dd6559996e1b46e0f1adb8ff0d89f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "696867cb05f5153fbb0cf480a00a8c196dd6559996e1b46e0f1adb8ff0d89f2e", kill_on_drop: false }` [INFO] [stdout] 696867cb05f5153fbb0cf480a00a8c196dd6559996e1b46e0f1adb8ff0d89f2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d67cb12883c90138d09e7757538baaa4613f5eb76a975cca939dc81d1a5d593f [INFO] running `Command { std: "docker" "start" "-a" "d67cb12883c90138d09e7757538baaa4613f5eb76a975cca939dc81d1a5d593f", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `split` [INFO] [stdout] --> src/twelve.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let split: Vec<&str> = s.split_ascii_whitespace().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_split` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outputs` is never read [INFO] [stdout] --> src/intputer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct Intputer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Intputer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&six::Body` instead of cloning the inner type [INFO] [stdout] --> src/six.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | current = parent.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intputer.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | _ => panic!(format!("Unknown mode {}", mode)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 237 - _ => panic!(format!("Unknown mode {}", mode)), [INFO] [stdout] 237 + _ => panic!("Unknown mode {}", mode), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/eight.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | std::mem::replace(&mut row[index], cell); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = std::mem::replace(&mut row[index], cell); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "d67cb12883c90138d09e7757538baaa4613f5eb76a975cca939dc81d1a5d593f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d67cb12883c90138d09e7757538baaa4613f5eb76a975cca939dc81d1a5d593f", kill_on_drop: false }` [INFO] [stdout] d67cb12883c90138d09e7757538baaa4613f5eb76a975cca939dc81d1a5d593f