[INFO] cloning repository https://github.com/RiderSargent/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/RiderSargent/Advent-of-Code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiderSargent%2FAdvent-of-Code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiderSargent%2FAdvent-of-Code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9fc7f5f4bb11edf32fc98b1d5bc664e081952b2 [INFO] building RiderSargent/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%2FRiderSargent%2FAdvent-of-Code-2019" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RiderSargent/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] started tweaking git repo https://github.com/RiderSargent/Advent-of-Code-2019 [INFO] finished tweaking git repo https://github.com/RiderSargent/Advent-of-Code-2019 [INFO] tweaked toml for git repo https://github.com/RiderSargent/Advent-of-Code-2019 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RiderSargent/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e0bca084f3131c342250defbea27a665b598ca8314db1ff9ed4f595edc09f641 [INFO] running `Command { std: "docker" "start" "-a" "e0bca084f3131c342250defbea27a665b598ca8314db1ff9ed4f595edc09f641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0bca084f3131c342250defbea27a665b598ca8314db1ff9ed4f595edc09f641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0bca084f3131c342250defbea27a665b598ca8314db1ff9ed4f595edc09f641", kill_on_drop: false }` [INFO] [stdout] e0bca084f3131c342250defbea27a665b598ca8314db1ff9ed4f595edc09f641 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] bfa63cceb846c1452ec4d5efb44d8e4faf5ea3420426da61f98f82f093a1a7f6 [INFO] running `Command { std: "docker" "start" "-a" "bfa63cceb846c1452ec4d5efb44d8e4faf5ea3420426da61f98f82f093a1a7f6", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling advent_of_code_2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day_02.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | 'inner: for j in 0..100 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day_08.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | 'decoded_loop: for i in 0..length { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_1` is never used [INFO] [stdout] --> src/day_01.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn exercise_1() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_2` is never used [INFO] [stdout] --> src/day_01.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn exercise_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_fuel_for` is never used [INFO] [stdout] --> src/day_01.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn calculate_fuel_for(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recursively_calculate_fuel_for` is never used [INFO] [stdout] --> src/day_01.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn recursively_calculate_fuel_for(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_1` is never used [INFO] [stdout] --> src/day_02.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exercise_1() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_2` is never used [INFO] [stdout] --> src/day_02.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn exercise_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Intcode` is never used [INFO] [stdout] --> src/day_02.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | enum Intcode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/day_02.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Intcode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 42 | fn from(n: i32) -> Intcode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/day_02.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn get(program: &Vec, index: usize, mode: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set` is never used [INFO] [stdout] --> src/day_02.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn set(program: &mut Vec, index: usize, value: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/day_02.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_from_file`, and `run` are never used [INFO] [stdout] --> src/day_02.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 77 | pub fn new(memory: Vec) -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn new_from_file(filename: &str) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_1` is never used [INFO] [stdout] --> src/day_03.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exercise_1() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_2` is never used [INFO] [stdout] --> src/day_03.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn exercise_2() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day_03.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_routes` is never used [INFO] [stdout] --> src/day_03.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_routes() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_points` is never used [INFO] [stdout] --> src/day_03.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn get_points(route: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_1` is never used [INFO] [stdout] --> src/day_04.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn exercise_1() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_2` is never used [INFO] [stdout] --> src/day_04.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn exercise_2() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_candidates_1` is never used [INFO] [stdout] --> src/day_04.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_candidates_1(start: u32, end: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `password_filter_1` is never used [INFO] [stdout] --> src/day_04.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn password_filter_1(pw: &u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_candidates_2` is never used [INFO] [stdout] --> src/day_04.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_candidates_2(start: u32, end: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `password_filter_2` is never used [INFO] [stdout] --> src/day_04.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn password_filter_2(pw: &u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_1` is never used [INFO] [stdout] --> src/day_05.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn exercise_1() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_2` is never used [INFO] [stdout] --> src/day_05.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn exercise_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/day_05.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get(program: &Vec, index: usize, mode: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set` is never used [INFO] [stdout] --> src/day_05.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn set(program: &mut Vec, index: usize, value: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Intcode` is never used [INFO] [stdout] --> src/day_05.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum Intcode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/day_05.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Intcode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 43 | fn from(n: i32) -> Intcode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/day_05.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_from_file`, and `run` are never used [INFO] [stdout] --> src/day_05.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 69 | pub fn new(program: Vec) -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn new_from_file(filename: &str) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn run(&mut self, mut input: Option, signal: i32) -> Vec> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_1` is never used [INFO] [stdout] --> src/day_06.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exercise_1() -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_2` is never used [INFO] [stdout] --> src/day_06.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn exercise_2() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_parents` is never used [INFO] [stdout] --> src/day_06.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_parents(objects: &HashMap>, current_object: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_orbits` is never used [INFO] [stdout] --> src/day_06.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn count_orbits(objects: &HashMap>, current_object: String) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_input` is never used [INFO] [stdout] --> src/day_06.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn load_input(filename: &str) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_1` is never used [INFO] [stdout] --> src/day_07.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn exercise_1() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_2` is never used [INFO] [stdout] --> src/day_07.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn exercise_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_amps_1` is never used [INFO] [stdout] --> src/day_07.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn run_amps_1(phase_settings: &Vec, amp: Program) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_amps_2` is never used [INFO] [stdout] --> src/day_07.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn run_amps_2(phase_settings: &Vec, master_amp: Program) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/day_07.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn get(program: &Vec, index: usize, mode: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set` is never used [INFO] [stdout] --> src/day_07.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn set(program: &mut Vec, index: usize, value: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Intcode` is never used [INFO] [stdout] --> src/day_07.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | enum Intcode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/day_07.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl Intcode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 97 | fn from(n: i32) -> Intcode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/day_07.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_from_file`, and `run` are never used [INFO] [stdout] --> src/day_07.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 123 | pub fn new(program: Vec) -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn new_from_file(filename: &str) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn run(&mut self, mut input: Option, signal: i32) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIDTH` is never used [INFO] [stdout] --> src/day_08.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const WIDTH: usize = 25; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT` is never used [INFO] [stdout] --> src/day_08.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const HEIGHT: usize = 6; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_1` is never used [INFO] [stdout] --> src/day_08.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn exercise_1() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_2` is never used [INFO] [stdout] --> src/day_08.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn exercise_2() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_layers` is never used [INFO] [stdout] --> src/day_08.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_layers() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/day_08.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_data() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Star` is never constructed [INFO] [stdout] --> src/day_10.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Star { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_visible` are never used [INFO] [stdout] --> src/day_10.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Star { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 12 | fn new(r: i32, c: i32, i: usize) -> Star { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn set_visible(&mut self, v: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Direction` is never constructed [INFO] [stdout] --> src/day_10.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Half` is never used [INFO] [stdout] --> src/day_10.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | enum Half { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_1` is never used [INFO] [stdout] --> src/day_10.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn exercise_1() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/day_10.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_data() -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_stars_from_data` is never used [INFO] [stdout] --> src/day_10.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_stars_from_data(data: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_visibles` is never used [INFO] [stdout] --> src/day_10.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn get_visibles(stars: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_max_visible` is never used [INFO] [stdout] --> src/day_10.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn get_max_visible(stars: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simplify_fraction` is never used [INFO] [stdout] --> src/day_10.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn simplify_fraction(numerator: i32, denominator: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/day_10.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn gcd(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "bfa63cceb846c1452ec4d5efb44d8e4faf5ea3420426da61f98f82f093a1a7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa63cceb846c1452ec4d5efb44d8e4faf5ea3420426da61f98f82f093a1a7f6", kill_on_drop: false }` [INFO] [stdout] bfa63cceb846c1452ec4d5efb44d8e4faf5ea3420426da61f98f82f093a1a7f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8699c88641bb497f308bd057cd7e48c7c76c81361cf5aaf2915082db185b5eff [INFO] running `Command { std: "docker" "start" "-a" "8699c88641bb497f308bd057cd7e48c7c76c81361cf5aaf2915082db185b5eff", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code_2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day_02.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | 'inner: for j in 0..100 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day_08.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | 'decoded_loop: for i in 0..length { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pointer` is never read [INFO] [stdout] --> src/day_02.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 72 | pub memory: Vec, [INFO] [stdout] 73 | pub pointer: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "8699c88641bb497f308bd057cd7e48c7c76c81361cf5aaf2915082db185b5eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8699c88641bb497f308bd057cd7e48c7c76c81361cf5aaf2915082db185b5eff", kill_on_drop: false }` [INFO] [stdout] 8699c88641bb497f308bd057cd7e48c7c76c81361cf5aaf2915082db185b5eff