[INFO] updating cached repository https://github.com/danielhamngren/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d26c27868981146617057f7bc571664d25925d36 [INFO] testing danielhamngren/aoc2019 against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhamngren%2Faoc2019" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielhamngren/aoc2019 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielhamngren/aoc2019 [INFO] finished tweaking git repo https://github.com/danielhamngren/aoc2019 [INFO] tweaked toml for git repo https://github.com/danielhamngren/aoc2019 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/danielhamngren/aoc2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", 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] 9143a80c31a377e1c252590d9f5446de350c9c1acadc3ef428f12121d93e8812 [INFO] running `Command { std: "docker" "start" "-a" "9143a80c31a377e1c252590d9f5446de350c9c1acadc3ef428f12121d93e8812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9143a80c31a377e1c252590d9f5446de350c9c1acadc3ef428f12121d93e8812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9143a80c31a377e1c252590d9f5446de350c9c1acadc3ef428f12121d93e8812", kill_on_drop: false }` [INFO] [stdout] 9143a80c31a377e1c252590d9f5446de350c9c1acadc3ef428f12121d93e8812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd7ab4e01cd5687f57100fa10da1e16e68cb9bdffbb4fd89bb449c8e538d6a2c [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" "fd7ab4e01cd5687f57100fa10da1e16e68cb9bdffbb4fd89bb449c8e538d6a2c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling permutator v0.3.3 [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day2.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | 'inner: for verb in 0..99 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day4.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if (i > 0) { [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day5.rs:158:70 [INFO] [stdout] | [INFO] [stdout] 158 | fn get_next_param(mode: &Vec, intcode: &Vec, pc: usize) -> (i32) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day7.rs:336:70 [INFO] [stdout] | [INFO] [stdout] 336 | fn get_next_param(mode: &Vec, intcode: &Vec, pc: usize) -> (i32) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day9.rs:316:92 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_next_param(mode: &Vec, intcode: &HashMap, pc: i64, rel_base: i64) -> (i64) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layers` [INFO] [stdout] --> src/day10.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let layers = preprocessing(&lines); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `program` is never read [INFO] [stdout] --> src/day2.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut program = program_input.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_address` [INFO] [stdout] --> src/day5.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let fetch_address = intcode[pc + 1] as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_address` [INFO] [stdout] --> src/day7.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let fetch_address = program.code[program.pc + 1] as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_address` [INFO] [stdout] --> src/day7.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let fetch_address = intcode[pc + 1] as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day8.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | for i in 0..layer_amount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut program = lines[0].split(",").collect::>() [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: variable does not need to be mutable [INFO] [stdout] --> src/day5.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | let mut program = lines[0] [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | let mut program = lines[0] [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day1` [INFO] [stdout] --> src/day1.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn day1() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day1.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn part1(lines: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day1.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn part2(lines: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> src/day1.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn read_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_fuel` [INFO] [stdout] --> src/day1.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn calculate_fuel(mass: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `total_fuel` [INFO] [stdout] --> src/day1.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn total_fuel(mass: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day10.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day2` [INFO] [stdout] --> src/day2.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn day2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day2.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day2.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day2.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn preprocessing(lines: &Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_initial_values` [INFO] [stdout] --> src/day2.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn set_initial_values(program: &mut Vec, noun: usize, verb: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> src/day2.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_intcode` [INFO] [stdout] --> src/day2.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn run_intcode(intcode: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day3` [INFO] [stdout] --> src/day3.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn day3() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day3.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day3.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/day3.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn run(vec1: &Vec, vec2: &Vec) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run2` [INFO] [stdout] --> src/day3.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn run2(vec1: &Vec, vec2: &Vec) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_point_set` [INFO] [stdout] --> src/day3.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn create_point_set(collection: &Vec) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_point_set2` [INFO] [stdout] --> src/day3.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn create_point_set2(collection: &Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_points2` [INFO] [stdout] --> src/day3.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn create_points2(start: &Point, coord_distance: i32, instr: &Instruction) -> Vec<(Point, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_points` [INFO] [stdout] --> src/day3.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn create_points(start: &Point, instr: &Instruction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day3.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn preprocessing(lines: &Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/day3.rs:190:3 [INFO] [stdout] | [INFO] [stdout] 190 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/day3.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/day3.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/day3.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_line` [INFO] [stdout] --> src/day3.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn parse_line(line: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day4` [INFO] [stdout] --> src/day4.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn day4() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day4.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn part1(min: u32, max: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day4.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn part2(min: u32, max: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_code` [INFO] [stdout] --> src/day4.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_valid_code(code: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_code2` [INFO] [stdout] --> src/day4.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn is_valid_code2(code: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day5` [INFO] [stdout] --> src/day5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn day5() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day5.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day5.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day5.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_intcode` [INFO] [stdout] --> src/day5.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn run_intcode(intcode: &mut Vec, input: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_next_param` [INFO] [stdout] --> src/day5.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn get_next_param(mode: &Vec, intcode: &Vec, pc: usize) -> (i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_params` [INFO] [stdout] --> src/day5.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn get_params(mode: &Vec, intcode: &Vec, pc: usize) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day6` [INFO] [stdout] --> src/day6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn day6() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day6.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day6.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day6.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn preprocessing(lines: &Vec) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `populate_graph` [INFO] [stdout] --> src/day6.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn populate_graph(pairs: Vec<(String, String)>, graph: &mut HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_of_connections_to_root_node` [INFO] [stdout] --> src/day6.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn sum_of_connections_to_root_node(key: String, graph: &HashMap) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connections_to_root_node` [INFO] [stdout] --> src/day6.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn connections_to_root_node( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_connections` [INFO] [stdout] --> src/day6.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn calculate_connections(graph: &HashMap) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_connections_between_nodes` [INFO] [stdout] --> src/day6.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn calculate_connections_between_nodes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day7` [INFO] [stdout] --> src/day7.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn day7() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day7.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day7.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_max_thuster` [INFO] [stdout] --> src/day7.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn find_max_thuster(program: &Vec, phases: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_max_thuster_feedback_loop` [INFO] [stdout] --> src/day7.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn find_max_thuster_feedback_loop(program_code: &Vec, phases: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day7.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_program` [INFO] [stdout] --> src/day7.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn run_program(program: &mut Program) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_intcode` [INFO] [stdout] --> src/day7.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn run_intcode(intcode: &mut Vec, program_input: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_next_param` [INFO] [stdout] --> src/day7.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn get_next_param(mode: &Vec, intcode: &Vec, pc: usize) -> (i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_params` [INFO] [stdout] --> src/day7.rs:347:4 [INFO] [stdout] | [INFO] [stdout] 347 | fn get_params(mode: &Vec, intcode: &Vec, pc: usize) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_permutations` [INFO] [stdout] --> src/day7.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn create_permutations(input: &Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day8` [INFO] [stdout] --> src/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn day8() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day8.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day8.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_layers` [INFO] [stdout] --> src/day8.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn collapse_layers(layers: &Vec) -> Layer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day8.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_index_with_least_zeros` [INFO] [stdout] --> src/day8.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn find_index_with_least_zeros(layers: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_number_of_element` [INFO] [stdout] --> src/day8.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn get_number_of_element(layer: &Layer, element: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day9` [INFO] [stdout] --> src/day9.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn day9() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day9.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day9.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prepare_program` [INFO] [stdout] --> src/day9.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn prepare_program(code: &Vec, inputs: &Vec) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prepare_program_i64` [INFO] [stdout] --> src/day9.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn prepare_program_i64(code: &Vec, inputs: &Vec) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_max_thuster` [INFO] [stdout] --> src/day9.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn find_max_thuster(code: &Vec, phases: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_max_thuster_feedback_loop` [INFO] [stdout] --> src/day9.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn find_max_thuster_feedback_loop(program_code: &Vec, phases: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day9.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing_i64` [INFO] [stdout] --> src/day9.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn preprocessing_i64(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_program` [INFO] [stdout] --> src/day9.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn run_program(program: &mut Program) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_next_param` [INFO] [stdout] --> src/day9.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_next_param(mode: &Vec, intcode: &HashMap, pc: i64, rel_base: i64) -> (i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_params` [INFO] [stdout] --> src/day9.rs:332:4 [INFO] [stdout] | [INFO] [stdout] 332 | fn get_params(mode: &Vec, intcode: &HashMap, pc: i64, rel_base: i64) -> (i64, i64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_permutations` [INFO] [stdout] --> src/day9.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn create_permutations(input: &Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.27s [INFO] running `Command { std: "docker" "inspect" "fd7ab4e01cd5687f57100fa10da1e16e68cb9bdffbb4fd89bb449c8e538d6a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd7ab4e01cd5687f57100fa10da1e16e68cb9bdffbb4fd89bb449c8e538d6a2c", kill_on_drop: false }` [INFO] [stdout] fd7ab4e01cd5687f57100fa10da1e16e68cb9bdffbb4fd89bb449c8e538d6a2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96648816a05388faeb509bb91acd660fbcf725856c719091d777b2d79404e9b7 [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" "96648816a05388faeb509bb91acd660fbcf725856c719091d777b2d79404e9b7", kill_on_drop: false }` [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day2.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | 'inner: for verb in 0..99 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day4.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if (i > 0) { [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day5.rs:158:70 [INFO] [stdout] | [INFO] [stdout] 158 | fn get_next_param(mode: &Vec, intcode: &Vec, pc: usize) -> (i32) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day7.rs:336:70 [INFO] [stdout] | [INFO] [stdout] 336 | fn get_next_param(mode: &Vec, intcode: &Vec, pc: usize) -> (i32) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day9.rs:316:92 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_next_param(mode: &Vec, intcode: &HashMap, pc: i64, rel_base: i64) -> (i64) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layers` [INFO] [stdout] --> src/day10.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let layers = preprocessing(&lines); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `program` is never read [INFO] [stdout] --> src/day2.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut program = program_input.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_address` [INFO] [stdout] --> src/day5.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let fetch_address = intcode[pc + 1] as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_address` [INFO] [stdout] --> src/day7.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let fetch_address = program.code[program.pc + 1] as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fetch_address` [INFO] [stdout] --> src/day7.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let fetch_address = intcode[pc + 1] as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day8.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | for i in 0..layer_amount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut program = lines[0].split(",").collect::>() [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: variable does not need to be mutable [INFO] [stdout] --> src/day5.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | let mut program = lines[0] [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | let mut program = lines[0] [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day1` [INFO] [stdout] --> src/day1.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn day1() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day1.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn part1(lines: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day1.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn part2(lines: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> src/day1.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn read_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day10.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day2` [INFO] [stdout] --> src/day2.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn day2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day2.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day2.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day2.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn preprocessing(lines: &Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_initial_values` [INFO] [stdout] --> src/day2.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn set_initial_values(program: &mut Vec, noun: usize, verb: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> src/day2.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day3` [INFO] [stdout] --> src/day3.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn day3() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day3.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day3.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day4` [INFO] [stdout] --> src/day4.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn day4() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day4.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn part1(min: u32, max: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day4.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn part2(min: u32, max: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day5` [INFO] [stdout] --> src/day5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn day5() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day5.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day5.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day5.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day6` [INFO] [stdout] --> src/day6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn day6() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day6.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day6.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day7` [INFO] [stdout] --> src/day7.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn day7() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day7.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day7.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day7.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day8` [INFO] [stdout] --> src/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn day8() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day8.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day8.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse_layers` [INFO] [stdout] --> src/day8.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn collapse_layers(layers: &Vec) -> Layer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day9` [INFO] [stdout] --> src/day9.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn day9() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/day9.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn part1(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/day9.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn part2(lines: &Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing` [INFO] [stdout] --> src/day9.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `preprocessing_i64` [INFO] [stdout] --> src/day9.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn preprocessing_i64(lines: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.09s [INFO] running `Command { std: "docker" "inspect" "96648816a05388faeb509bb91acd660fbcf725856c719091d777b2d79404e9b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96648816a05388faeb509bb91acd660fbcf725856c719091d777b2d79404e9b7", kill_on_drop: false }` [INFO] [stdout] 96648816a05388faeb509bb91acd660fbcf725856c719091d777b2d79404e9b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc941eab6882055339daab2f3190921b612291c6167db74002585f9bef431be8 [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" "fc941eab6882055339daab2f3190921b612291c6167db74002585f9bef431be8", kill_on_drop: false }` [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/day2.rs:32:7 [INFO] [stderr] | [INFO] [stderr] 32 | 'inner: for verb in 0..99 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/day4.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/day4.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | if (i > 0) { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/day5.rs:158:70 [INFO] [stderr] | [INFO] [stderr] 158 | fn get_next_param(mode: &Vec, intcode: &Vec, pc: usize) -> (i32) { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/day7.rs:336:70 [INFO] [stderr] | [INFO] [stderr] 336 | fn get_next_param(mode: &Vec, intcode: &Vec, pc: usize) -> (i32) { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/day8.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/day9.rs:316:92 [INFO] [stderr] | [INFO] [stderr] 316 | fn get_next_param(mode: &Vec, intcode: &HashMap, pc: i64, rel_base: i64) -> (i64) { [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused variable: `layers` [INFO] [stderr] --> src/day10.rs:27:7 [INFO] [stderr] | [INFO] [stderr] 27 | let layers = preprocessing(&lines); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layers` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `program` is never read [INFO] [stderr] --> src/day2.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let mut program = program_input.clone(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fetch_address` [INFO] [stderr] --> src/day5.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | let fetch_address = intcode[pc + 1] as usize; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fetch_address` [INFO] [stderr] --> src/day7.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | let fetch_address = program.code[program.pc + 1] as usize; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fetch_address` [INFO] [stderr] --> src/day7.rs:266:13 [INFO] [stderr] | [INFO] [stderr] 266 | let fetch_address = intcode[pc + 1] as usize; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fetch_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/day8.rs:73:7 [INFO] [stderr] | [INFO] [stderr] 73 | for i in 0..layer_amount { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/day2.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let mut program = lines[0].split(",").collect::>() [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: variable does not need to be mutable [INFO] [stderr] --> src/day5.rs:31:7 [INFO] [stderr] | [INFO] [stderr] 31 | let mut program = lines[0] [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/day7.rs:101:7 [INFO] [stderr] | [INFO] [stderr] 101 | let mut program = lines[0] [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day1` [INFO] [stderr] --> src/day1.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn day1() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day1.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn part1(lines: Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day1.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn part2(lines: Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_file` [INFO] [stderr] --> src/day1.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | fn read_file(filename: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day10.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn part2(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day2` [INFO] [stderr] --> src/day2.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn day2() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day2.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn part1(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day2.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn part2(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `preprocessing` [INFO] [stderr] --> src/day2.rs:47:4 [INFO] [stderr] | [INFO] [stderr] 47 | fn preprocessing(lines: &Vec) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set_initial_values` [INFO] [stderr] --> src/day2.rs:55:4 [INFO] [stderr] | [INFO] [stderr] 55 | fn set_initial_values(program: &mut Vec, noun: usize, verb: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_file` [INFO] [stderr] --> src/day2.rs:60:4 [INFO] [stderr] | [INFO] [stderr] 60 | fn read_file(filename: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day3` [INFO] [stderr] --> src/day3.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn day3() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day3.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn part1(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day3.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn part2(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day4` [INFO] [stderr] --> src/day4.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn day4() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day4.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn part1(min: u32, max: u32) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day4.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | fn part2(min: u32, max: u32) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day5` [INFO] [stderr] --> src/day5.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn day5() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day5.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn part1(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day5.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn part2(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `preprocessing` [INFO] [stderr] --> src/day5.rs:30:4 [INFO] [stderr] | [INFO] [stderr] 30 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day6` [INFO] [stderr] --> src/day6.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn day6() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day6.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn part1(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day6.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn part2(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day7` [INFO] [stderr] --> src/day7.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn day7() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day7.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn part1(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day7.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn part2(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `preprocessing` [INFO] [stderr] --> src/day7.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day8` [INFO] [stderr] --> src/day8.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn day8() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day8.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn part1(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day8.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn part2(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `collapse_layers` [INFO] [stderr] --> src/day8.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | fn collapse_layers(layers: &Vec) -> Layer { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day9` [INFO] [stderr] --> src/day9.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn day9() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part1` [INFO] [stderr] --> src/day9.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | fn part1(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `part2` [INFO] [stderr] --> src/day9.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | fn part2(lines: &Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `preprocessing` [INFO] [stderr] --> src/day9.rs:144:4 [INFO] [stderr] | [INFO] [stderr] 144 | fn preprocessing(lines: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `preprocessing_i64` [INFO] [stderr] --> src/day9.rs:155:4 [INFO] [stderr] | [INFO] [stderr] 155 | fn preprocessing_i64(lines: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 53 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/aoc2019-136e9ad1ee383536 [INFO] [stdout] [INFO] [stdout] running 109 tests [INFO] [stdout] test day1::tests::mass_is_fourteen ... ok [INFO] [stdout] test day1::tests::test_total_fuel_1 ... ok [INFO] [stdout] test day1::tests::test_total_fuel_2 ... ok [INFO] [stdout] test day10::tests::example_1 ... ok [INFO] [stdout] test day2::tests::example_3 ... ok [INFO] [stdout] test day2::tests::example_4 ... ok [INFO] [stdout] test day3::tests::example_1_part2 ... ok [INFO] [stdout] test day1::tests::mass_is_twelve ... ok [INFO] [stdout] test day1::tests::mass_test_3 ... ok [INFO] [stdout] test day1::tests::mass_test_4 ... ok [INFO] [stdout] test day3::tests::example_2_part2 ... ok [INFO] [stdout] test day3::tests::example_3 ... ok [INFO] [stdout] test day10::tests::example_2 ... ok [INFO] [stdout] test day1::tests::test_total_fuel_3 ... ok [INFO] [stdout] test day2::tests::example_1 ... ok [INFO] [stdout] test day2::tests::example_2 ... ok [INFO] [stdout] test day3::tests::example_1 ... ok [INFO] [stdout] test day4::tests::example_6 ... ok [INFO] [stdout] test day3::tests::example_3_part2 ... ok [INFO] [stdout] test day4::tests::example_4 ... ok [INFO] [stdout] test day4::tests::example_2 ... ok [INFO] [stdout] test day4::tests::example_7 ... ok [INFO] [stdout] test day5::tests::example_1 ... ok [INFO] [stdout] test day3::tests::example_2 ... ok [INFO] [stdout] test day4::tests::example_1 ... ok [INFO] [stdout] test day5::tests::equal_to_8_position_false ... ok [INFO] [stdout] test day4::tests::example_8 ... ok [INFO] [stdout] test day5::tests::equal_to_8_immediate_fale ... ok [INFO] [stdout] test day5::tests::equal_to_8_position_true ... ok [INFO] [stdout] test day5::tests::example_2 ... ok [INFO] [stdout] test day5::tests::jump_check_if_zero_immediate_true ... ok [INFO] [stdout] test day5::tests::jump_check_if_zero_position_false ... ok [INFO] [stdout] test day5::tests::large_test_above_8 ... ok [INFO] [stdout] test day4::tests::example_3 ... ok [INFO] [stdout] test day4::tests::example_5 ... ok [INFO] [stdout] test day5::tests::example_4 ... ok [INFO] [stdout] test day10::tests::example_3 ... ok [INFO] [stdout] test day5::tests::example_5 ... ok [INFO] [stdout] test day5::tests::equal_to_8_immediate_true ... ok [INFO] [stdout] test day5::tests::example_3 ... ok [INFO] [stdout] test day5::tests::jump_check_if_zero_immediate_false ... ok [INFO] [stdout] test day10::tests::example_4 ... ok [INFO] [stdout] test day5::tests::jump_check_if_zero_position_true ... ok [INFO] [stdout] test day7::tests::equal_to_8_immediate_fale ... ok [INFO] [stdout] test day7::tests::example_2 ... ok [INFO] [stdout] test day5::tests::large_test_below_8 ... ok [INFO] [stdout] test day5::tests::large_test_is_8 ... ok [INFO] [stdout] test day5::tests::less_than_8_immediate_fale ... ok [INFO] [stdout] test day5::tests::less_than_8_immediate_true ... ok [INFO] [stdout] test day5::tests::less_than_8_position_false ... ok [INFO] [stdout] test day5::tests::less_than_8_position_true ... ok [INFO] [stdout] test day7::tests::example_3 ... ok [INFO] [stdout] test day7::tests::example_4 ... ok [INFO] [stdout] test day7::tests::example_5 ... ok [INFO] [stdout] test day7::tests::jump_check_if_zero_position_false ... ok [INFO] [stdout] test day6::tests::example_1 ... ok [INFO] [stdout] test day6::tests::example_2 ... ok [INFO] [stdout] test day7::tests::equal_to_8_position_false ... ok [INFO] [stdout] test day7::tests::equal_to_8_position_true ... ok [INFO] [stdout] test day7::tests::example_1 ... ok [INFO] [stdout] test day7::tests::equal_to_8_immediate_true ... ok [INFO] [stdout] test day7::tests::jump_check_if_zero_immediate_false ... ok [INFO] [stdout] test day7::tests::jump_check_if_zero_position_true ... ok [INFO] [stdout] test day7::tests::less_than_8_position_true ... ok [INFO] [stdout] test day7::tests::less_than_8_immediate_true ... ok [INFO] [stdout] test day7::tests::large_test_below_8 ... ok [INFO] [stdout] test day7::tests::large_test_is_8 ... ok [INFO] [stdout] test day7::tests::less_than_8_immediate_fale ... ok [INFO] [stdout] test day9::tests::copy_self_to_output ... ok [INFO] [stdout] test day7::tests::large_test_above_8 ... ok [INFO] [stdout] test day7::tests::jump_check_if_zero_immediate_true ... ok [INFO] [stdout] test day7::tests::less_than_8_position_false ... ok [INFO] [stdout] test day7::tests::test_find_max_thruster2 ... ok [INFO] [stdout] test day9::tests::example_2 ... ok [INFO] [stdout] test day9::tests::example_3 ... ok [INFO] [stdout] test day9::tests::example_4 ... ok [INFO] [stdout] test day7::tests::test_find_max_thruster1 ... ok [INFO] [stdout] test day9::tests::example_5 ... ok [INFO] [stdout] test day9::tests::jump_check_if_zero_immediate_false ... ok [INFO] [stdout] test day9::tests::equal_to_8_immediate_true ... ok [INFO] [stdout] test day9::tests::equal_to_8_position_false ... ok [INFO] [stdout] test day9::tests::equal_to_8_position_true ... ok [INFO] [stdout] test day7::tests::test_find_max_thruster3 ... ok [INFO] [stdout] test day7::tests::test_permutations ... ok [INFO] [stdout] test day9::tests::jump_check_if_zero_immediate_true ... ok [INFO] [stdout] test day9::tests::example_1 ... ok [INFO] [stdout] test day9::tests::jump_check_if_zero_position_true ... ok [INFO] [stdout] test day9::tests::equal_to_8_immediate_fale ... ok [INFO] [stdout] test day9::tests::large_test_below_8 ... ok [INFO] [stdout] test day9::tests::less_than_8_position_false ... ok [INFO] [stdout] test day9::tests::less_than_8_immediate_true ... ok [INFO] [stdout] test day9::tests::less_than_8_position_true ... ok [INFO] [stdout] test day9::tests::jump_check_if_zero_position_false ... ok [INFO] [stdout] test day9::tests::large_test_above_8 ... ok [INFO] [stdout] test day9::tests::less_than_8_immediate_fale ... ok [INFO] [stdout] test day9::tests::large_test_is_8 ... ok [INFO] [stdout] test day9::tests::test_203_instruction ... ok [INFO] [stdout] test day9::tests::test_multiplication_of_large_number ... ok [INFO] [stdout] test day9::tests::test_permutations ... ok [INFO] [stdout] test day7::tests::test_find_max_thruster_feedback_loop1 ... ok [INFO] [stdout] test day9::tests::test_large_number_parameter ... ok [INFO] [stdout] test day9::tests::test_find_max_thruster1 ... ok [INFO] [stdout] test day8::tests::example_1 ... FAILED [INFO] [stdout] test day7::tests::test_find_max_thruster_feedback_loop2 ... ok [INFO] [stdout] test day9::tests::test_find_max_thruster2 ... ok [INFO] [stdout] test day9::tests::test_find_max_thruster3 ... ok [INFO] [stdout] test day9::tests::test_find_max_thruster_feedback_loop1 ... ok [INFO] [stdout] test day10::tests::example_5 ... ok [INFO] [stdout] test day9::tests::test_find_max_thruster_feedback_loop2 ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- day8::tests::example_1 stdout ---- [INFO] [stdout] len lines[0] 15000 [INFO] [stdout] layers 100 [INFO] [stdout] 9 * 134 = 1206 [INFO] [stdout] thread 'day8::tests::example_1' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `6`, [INFO] [stdout] right: `42`', src/day8.rs:122:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a40dec0eb5 - backtrace::backtrace::libunwind::trace::h5e2646fa3eddf2ea [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55a40dec0eb5 - backtrace::backtrace::trace_unsynchronized::hb95dd7f77ce47877 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55a40dec0eb5 - std::sys_common::backtrace::_print_fmt::h5e71b67af43fd70d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55a40dec0eb5 - ::fmt::hdb4a83d2b61107e5 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55a40dee8dfc - core::fmt::write::ha20e7262fa3e8a7a [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55a40de6c525 - std::io::Write::write_fmt::hd8ff364c7845d2d0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x55a40debb581 - std::io::impls::>::write_fmt::h1c057ef6e8762996 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x55a40dec3610 - std::sys_common::backtrace::_print::h9c07314cc66ba539 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55a40dec3610 - std::sys_common::backtrace::print::hd1fd65f49a2d8544 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55a40dec3610 - std::panicking::default_hook::{{closure}}::h222da46485ab36fc [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55a40dec330a - std::panicking::default_hook::hc5868949d129ed00 [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x55a40dec3c53 - std::panicking::rust_panic_with_hook::h26a6ab8b0993c0c8 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x55a40dec384b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x55a40dec37bb - std::panicking::begin_panic_fmt::h2ff295231415d4a6 [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x55a40de618e9 - aoc2019::day8::tests::example_1::h23bc9d8291e2aa8c [INFO] [stdout] at src/day8.rs:122 [INFO] [stdout] 15: 0x55a40de6143a - aoc2019::day8::tests::example_1::{{closure}}::ha8fb4d619b0bb355 [INFO] [stdout] at src/day8.rs:110 [INFO] [stdout] 16: 0x55a40de3434e - core::ops::function::FnOnce::call_once::h553ef3c655456eb8 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x55a40de93a9c - as core::ops::function::FnOnce>::call_once::h42148c33ed88c979 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x55a40de93a9c - as core::ops::function::FnOnce<()>>::call_once::h759dc0b09d774665 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x55a40de93a9c - std::panicking::try::do_call::h676ad1fc9e9badea [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x55a40de93a9c - std::panicking::try::hee36a8727a3050b0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x55a40de93a9c - std::panic::catch_unwind::hd5d426ebd89b2542 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55a40de93a9c - test::run_test_in_process::h8dacdba4dc4cbaa5 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x55a40de93a9c - test::run_test::run_test_inner::{{closure}}::hf93754afad6be40f [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x55a40de6ba16 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2c69fab544a90730 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x55a40de70aa5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hcf302fafa60d80f2 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x55a40de70aa5 - as core::ops::function::FnOnce<()>>::call_once::h39ede710608e817e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x55a40de70aa5 - std::panicking::try::do_call::hec0b4d2faa46fbf7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x55a40de70aa5 - std::panicking::try::h0144ba3f2539803d [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x55a40de70aa5 - std::panic::catch_unwind::ha03e59eb589f857b [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x55a40de70aa5 - std::thread::Builder::spawn_unchecked::{{closure}}::hdeba34620a4a7a44 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x55a40de70aa5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h552693dbb801eadd [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x55a40dec9e4a - as core::ops::function::FnOnce>::call_once::h61c24496ae624ac5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x55a40dec9e4a - as core::ops::function::FnOnce>::call_once::h89548957afa14049 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x55a40dec9e4a - std::sys::unix::thread::Thread::new::thread_start::h73903fbbff5b990e [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7ff7a33f6609 - start_thread [INFO] [stdout] 36: 0x7ff7a3302103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] day8::tests::example_1 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 108 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin aoc2019' [INFO] running `Command { std: "docker" "inspect" "fc941eab6882055339daab2f3190921b612291c6167db74002585f9bef431be8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc941eab6882055339daab2f3190921b612291c6167db74002585f9bef431be8", kill_on_drop: false }` [INFO] [stdout] fc941eab6882055339daab2f3190921b612291c6167db74002585f9bef431be8