[INFO] cloning repository https://github.com/calebhiebert/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/calebhiebert/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebhiebert%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebhiebert%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e2e4186faac9b746dce117237885c485c5493d5 [INFO] checking calebhiebert/aoc2020 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebhiebert%2Faoc2020" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/calebhiebert/aoc2020 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/calebhiebert/aoc2020 [INFO] finished tweaking git repo https://github.com/calebhiebert/aoc2020 [INFO] tweaked toml for git repo https://github.com/calebhiebert/aoc2020 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/calebhiebert/aoc2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ecf54c33b98ac33a2b5425b2330601683bd31e071701775426115b289732b00 [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" "2ecf54c33b98ac33a2b5425b2330601683bd31e071701775426115b289732b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ecf54c33b98ac33a2b5425b2330601683bd31e071701775426115b289732b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ecf54c33b98ac33a2b5425b2330601683bd31e071701775426115b289732b00", kill_on_drop: false }` [INFO] [stdout] 2ecf54c33b98ac33a2b5425b2330601683bd31e071701775426115b289732b00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a30de4fe1b7d84efc68551c6db8b2577a316a6f625e3ab35af72f9df2058daec [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" "a30de4fe1b7d84efc68551c6db8b2577a316a6f625e3ab35af72f9df2058daec", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate prettytable; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate prettytable; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day13.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|(i, arr)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day13.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|(i, arr)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / const TEST_DATA: &str = " [INFO] [stdout] 2 | | 1782 [INFO] [stdout] 3 | | 1344 [INFO] [stdout] 4 | | 1974 [INFO] [stdout] ... | [INFO] [stdout] 201 | | 1669 [INFO] [stdout] 202 | | "; [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_1_a` [INFO] [stdout] --> src/day1.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn day_1_a(nums: &str, target: i32) -> Result<(i32, i32, i32), &'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_1_b` [INFO] [stdout] --> src/day1.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn day_1_b(nums: &str, target: i32) -> Result<(i32, i32, i32, i32), &'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day2.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / const TEST_DATA: &str = "6-10 p: ctpppjmdpppppp [INFO] [stdout] 4 | | 17-19 l: llllllllllllllllllll [INFO] [stdout] 5 | | 14-19 z: zrzzzzzztzzzzwzzzzk [INFO] [stdout] 6 | | 1-8 k: qkkkkkkxkkkkkkkkk [INFO] [stdout] ... | [INFO] [stdout] 1001 | | 3-4 v: vvxxv [INFO] [stdout] 1002 | | 8-11 t: tttttttcttm"; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Entry` [INFO] [stdout] --> src/day2.rs:1004:8 [INFO] [stdout] | [INFO] [stdout] 1004 | struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid` [INFO] [stdout] --> src/day2.rs:1012:8 [INFO] [stdout] | [INFO] [stdout] 1012 | fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid_b` [INFO] [stdout] --> src/day2.rs:1018:8 [INFO] [stdout] | [INFO] [stdout] 1018 | fn valid_b(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_2_a` [INFO] [stdout] --> src/day2.rs:1027:4 [INFO] [stdout] | [INFO] [stdout] 1027 | fn day_2_a(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_2_b` [INFO] [stdout] --> src/day2.rs:1049:4 [INFO] [stdout] | [INFO] [stdout] 1049 | fn day_2_b(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day3.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / const TEST_DATA: &str = ".#......##..#.....#....#.#.#... [INFO] [stdout] 2 | | .#.#...#.##.#..........#...##.. [INFO] [stdout] 3 | | .........#.....#.####........#. [INFO] [stdout] 4 | | .......#.#...#.#............... [INFO] [stdout] ... | [INFO] [stdout] 322 | | .##..#..#......###.....#..#.... [INFO] [stdout] 323 | | .....#..#.##..........#.#..#..."; [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/day3.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tree` [INFO] [stdout] --> src/day3.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_map_tile` [INFO] [stdout] --> src/day3.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn get_map_tile(map: &Vec>, x: usize, y: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_trees_for_slope` [INFO] [stdout] --> src/day3.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn find_trees_for_slope(map: &Vec>, slope: (i32, i32)) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_3_a` [INFO] [stdout] --> src/day3.rs:354:4 [INFO] [stdout] | [INFO] [stdout] 354 | fn day_3_a(input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_3_b` [INFO] [stdout] --> src/day3.rs:376:4 [INFO] [stdout] | [INFO] [stdout] 376 | fn day_3_b(input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day4.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / const TEST_DATA: &str = "iyr:2010 ecl:gry hgt:181cm [INFO] [stdout] 4 | | pid:591597745 byr:1920 hcl:#6b5442 eyr:2029 cid:123 [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | cid:223 byr:1927 [INFO] [stdout] ... | [INFO] [stdout] 1160 | | cid:127 pid:701862616 [INFO] [stdout] 1161 | | hgt:161cm"; [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Height` [INFO] [stdout] --> src/day4.rs:1163:6 [INFO] [stdout] | [INFO] [stdout] 1163 | enum Height { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/day4.rs:1169:8 [INFO] [stdout] | [INFO] [stdout] 1169 | fn parse(input: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract` [INFO] [stdout] --> src/day4.rs:1193:8 [INFO] [stdout] | [INFO] [stdout] 1193 | fn extract(ln: &str) -> Passport { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multi_extract` [INFO] [stdout] --> src/day4.rs:1249:8 [INFO] [stdout] | [INFO] [stdout] 1249 | fn multi_extract(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid` [INFO] [stdout] --> src/day4.rs:1256:8 [INFO] [stdout] | [INFO] [stdout] 1256 | fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `strict_valid` [INFO] [stdout] --> src/day4.rs:1263:8 [INFO] [stdout] | [INFO] [stdout] 1263 | fn strict_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_4_a` [INFO] [stdout] --> src/day4.rs:1302:4 [INFO] [stdout] | [INFO] [stdout] 1302 | fn day_4_a(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_4_b` [INFO] [stdout] --> src/day4.rs:1309:4 [INFO] [stdout] | [INFO] [stdout] 1309 | fn day_4_b(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day5.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / const TEST_DATA: &str = "BBFFFFBRLL [INFO] [stdout] 4 | | BFBBBBFLLL [INFO] [stdout] 5 | | FBBBFBFLLR [INFO] [stdout] 6 | | BFBBBFBLRR [INFO] [stdout] ... | [INFO] [stdout] 799 | | FBFBFFBRLR [INFO] [stdout] 800 | | FFBBBBFRLL"; [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_bsp` [INFO] [stdout] --> src/day5.rs:802:4 [INFO] [stdout] | [INFO] [stdout] 802 | fn parse_bsp(bsp: &str, start_low: i8, start_high: i8) -> i8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_seat` [INFO] [stdout] --> src/day5.rs:817:4 [INFO] [stdout] | [INFO] [stdout] 817 | fn parse_seat(bsp: &str) -> (i8, i8, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_5_a` [INFO] [stdout] --> src/day5.rs:827:4 [INFO] [stdout] | [INFO] [stdout] 827 | fn day_5_a(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_5_b` [INFO] [stdout] --> src/day5.rs:835:4 [INFO] [stdout] | [INFO] [stdout] 835 | fn day_5_b(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day6.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / const TEST_DATA: &str = "edmzkxfoprcnhijtyvl [INFO] [stdout] 4 | | adxntojykfcvzermplh [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | jbhpksufcaty [INFO] [stdout] ... | [INFO] [stdout] 2227 | | al [INFO] [stdout] 2228 | | daevb"; [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_6_a` [INFO] [stdout] --> src/day6.rs:2230:4 [INFO] [stdout] | [INFO] [stdout] 2230 | fn day_6_a(input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_6_b` [INFO] [stdout] --> src/day6.rs:2256:4 [INFO] [stdout] | [INFO] [stdout] 2256 | fn day_6_b(input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day7.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / const TEST_DATA: &str = "light gold bags contain 2 light lime bags, 1 faded green bag, 3 clear olive bags, 2 dim bronze bags. [INFO] [stdout] 6 | | muted beige bags contain 3 clear lime bags, 5 dark salmon bags, 1 pale olive bag. [INFO] [stdout] 7 | | vibrant violet bags contain 3 dark tomato bags, 3 muted indigo bags, 3 plaid turquoise bags, 3 light silver bags. [INFO] [stdout] 8 | | dull purple bags contain 2 wavy turquoise bags. [INFO] [stdout] ... | [INFO] [stdout] 597 | | posh violet bags contain 5 wavy white bags. [INFO] [stdout] 598 | | clear brown bags contain no other bags."; [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_bags` [INFO] [stdout] --> src/day7.rs:613:8 [INFO] [stdout] | [INFO] [stdout] 613 | fn inner_bags(&self, bags: &HashMap, count_root: bool) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_contained` [INFO] [stdout] --> src/day7.rs:645:4 [INFO] [stdout] | [INFO] [stdout] 645 | fn parse_contained(ln: &str) -> Vec<(String, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_col` [INFO] [stdout] --> src/day7.rs:652:4 [INFO] [stdout] | [INFO] [stdout] 652 | fn parse_col(ln: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_bag_tree` [INFO] [stdout] --> src/day7.rs:658:4 [INFO] [stdout] | [INFO] [stdout] 658 | fn parse_bag_tree(input: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_7_a` [INFO] [stdout] --> src/day7.rs:702:4 [INFO] [stdout] | [INFO] [stdout] 702 | fn day_7_a(input: &str, start_color: &str) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_7_b` [INFO] [stdout] --> src/day7.rs:726:4 [INFO] [stdout] | [INFO] [stdout] 726 | fn day_7_b(input: &str, start_color: &str) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day8.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / const TEST_DATA: &str = "acc +50 [INFO] [stdout] 7 | | acc -11 [INFO] [stdout] 8 | | nop +378 [INFO] [stdout] 9 | | acc +15 [INFO] [stdout] ... | [INFO] [stdout] 658 | | acc +12 [INFO] [stdout] 659 | | jmp +1"; [INFO] [stdout] | |________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> src/day8.rs:683:4 [INFO] [stdout] | [INFO] [stdout] 683 | fn execute (operations: Vec) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute_b` [INFO] [stdout] --> src/day8.rs:715:4 [INFO] [stdout] | [INFO] [stdout] 715 | fn execute_b (operations: Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_8_a` [INFO] [stdout] --> src/day8.rs:751:4 [INFO] [stdout] | [INFO] [stdout] 751 | fn day_8_a(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_8_b` [INFO] [stdout] --> src/day8.rs:769:4 [INFO] [stdout] | [INFO] [stdout] 769 | fn day_8_b(input: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day9.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / const TEST_DATA: &str = "18 [INFO] [stdout] 4 | | 4 [INFO] [stdout] 5 | | 30 [INFO] [stdout] 6 | | 21 [INFO] [stdout] ... | [INFO] [stdout] 1001 | | 52253347246405 [INFO] [stdout] 1002 | | 49850736551519"; [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_9_a` [INFO] [stdout] --> src/day9.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] 1004 | fn day_9_a(input: &str, preamble_size: usize) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_range` [INFO] [stdout] --> src/day9.rs:1033:4 [INFO] [stdout] | [INFO] [stdout] 1033 | fn get_range(nums: &Vec, searching_for: i64) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_9_b` [INFO] [stdout] --> src/day9.rs:1049:4 [INFO] [stdout] | [INFO] [stdout] 1049 | fn day_9_b(input: &str, searching_for: i64) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day10.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / const TEST_DATA: &str = "147 [INFO] [stdout] 4 | | 174 [INFO] [stdout] 5 | | 118 [INFO] [stdout] 6 | | 103 [INFO] [stdout] ... | [INFO] [stdout] 109 | | 60 [INFO] [stdout] 110 | | 141"; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_10_a` [INFO] [stdout] --> src/day10.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn day_10_a(input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_10_b` [INFO] [stdout] --> src/day10.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn day_10_b(input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day11.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / const TEST_DATA: &str = "LLLLLL.LL.LLLLLL.LLLLLLL.LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLL.LLLL.L.LLL.LLLLLLLL.LLLLLLLL.LLLLL [INFO] [stdout] 2 | | LLLLLL.L.LL.LLLL.L.LLLL.LLLLLLL.LLLLL.LLLLLLLL.LLLLLL.LLLLLLL.LLLLLLLLLLLLLL.LLLLLLLL.LLLLL [INFO] [stdout] 3 | | LLLLLL.LLLL.LLLL.LLLLLLLLLLLLLL.LLLLL.LLLL.LLLLLLLLLLL.L.LLLL.LLLLL.LLL..LLL.LLLLLLLLLLLLLL [INFO] [stdout] 4 | | LLLLLL.LLLL.LLLLLLLLLL.L.LLLLLLLLLLLLLLLLLLL.L.LLLLLLL.L.L.LL.LLLLL..LLLLLLL.LLLLLLLL.LL.LL [INFO] [stdout] ... | [INFO] [stdout] 94 | | LLLLLL.LLLLLLLLL.LLLLLLLLLLL.LLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLL.LLLLL.LLLLLL.L.LLLLLLLLLLLLLL [INFO] [stdout] 95 | | LLLLLL.LLLLLLLLL.LLLLLLLLLLLLLL.LLLLL.LLLLLLLLLL.LLLLL.LLLLLL.LLLLLLLLLLLLLL.LLLLLLLL.LLLLL"; [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/day11.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Empty(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Occupied` [INFO] [stdout] --> src/day11.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | Occupied(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Floor` [INFO] [stdout] --> src/day11.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Floor(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `North` [INFO] [stdout] --> src/day11.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `South` [INFO] [stdout] --> src/day11.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `East` [INFO] [stdout] --> src/day11.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `West` [INFO] [stdout] --> src/day11.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NorthEast` [INFO] [stdout] --> src/day11.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | NorthEast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SouthEast` [INFO] [stdout] --> src/day11.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | SouthEast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SouthWest` [INFO] [stdout] --> src/day11.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | SouthWest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NorthWest` [INFO] [stdout] --> src/day11.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | NorthWest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/day11.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | const fn value(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/day11.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn all() -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> src/day11.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn parse(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_grid` [INFO] [stdout] --> src/day11.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn print_grid(grid: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_grid_dbg` [INFO] [stdout] --> src/day11.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn print_grid_dbg(grid: &Vec>, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `safe_seat_check` [INFO] [stdout] --> src/day11.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn safe_seat_check(grid: &Vec>, x: i32, y: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first_seat` [INFO] [stdout] --> src/day11.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn first_seat(grid: &Vec>, x: i32, y: i32, direction: Direction) -> Option<(Seat, i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `occupied_neighbors` [INFO] [stdout] --> src/day11.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn occupied_neighbors(grid: &Vec>, x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `occupied_neighbors_b` [INFO] [stdout] --> src/day11.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn occupied_neighbors_b(grid: &Vec>, x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `occupied_neighbors_dbg` [INFO] [stdout] --> src/day11.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn occupied_neighbors_dbg(grid: &Vec>, x: i32, y: i32) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `step` [INFO] [stdout] --> src/day11.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn step(grid: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `step_b` [INFO] [stdout] --> src/day11.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn step_b(grid: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `grids_eq` [INFO] [stdout] --> src/day11.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | fn grids_eq(a: &Vec>, b: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_11_a` [INFO] [stdout] --> src/day11.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn day_11_a(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_11_b` [INFO] [stdout] --> src/day11.rs:375:4 [INFO] [stdout] | [INFO] [stdout] 375 | fn day_11_b(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_DATA` [INFO] [stdout] --> src/day12.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / const TEST_DATA: &str = "F10 [INFO] [stdout] 5 | | N3 [INFO] [stdout] 6 | | F7 [INFO] [stdout] 7 | | R90 [INFO] [stdout] 8 | | F11"; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/day12.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn new() -> Ship { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `turn_cw` [INFO] [stdout] --> src/day12.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn turn_cw(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `turn_ccw` [INFO] [stdout] --> src/day12.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn turn_ccw(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `turn_by` [INFO] [stdout] --> src/day12.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn turn_by(&mut self, degrees: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `turn_wp_by` [INFO] [stdout] --> src/day12.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn turn_wp_by(&mut self, degrees: i64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process_command` [INFO] [stdout] --> src/day12.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn process_command(&mut self, cmd: Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process_command_b` [INFO] [stdout] --> src/day12.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn process_command_b(&mut self, cmd: Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `manhattan_dist` [INFO] [stdout] --> src/day12.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | fn manhattan_dist(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_12_a` [INFO] [stdout] --> src/day12.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn day_12_a(input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_12_b` [INFO] [stdout] --> src/day12.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn day_12_b(input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `closest_to` [INFO] [stdout] --> src/day13.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn closest_to(&self, n: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debug` [INFO] [stdout] --> src/day13.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn print_debug(&self, n: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_13_a` [INFO] [stdout] --> src/day13.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn day_13_a(input: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 95 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_debug` [INFO] [stdout] --> src/day13.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn print_debug(&self, n: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.34s [INFO] running `Command { std: "docker" "inspect" "a30de4fe1b7d84efc68551c6db8b2577a316a6f625e3ab35af72f9df2058daec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30de4fe1b7d84efc68551c6db8b2577a316a6f625e3ab35af72f9df2058daec", kill_on_drop: false }` [INFO] [stdout] a30de4fe1b7d84efc68551c6db8b2577a316a6f625e3ab35af72f9df2058daec