[INFO] cloning repository https://github.com/matthewsimo/aoc-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthewsimo/aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewsimo%2Faoc-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewsimo%2Faoc-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3be4736b53894a99906024c4b688dcaa24deff0a [INFO] checking matthewsimo/aoc-2022 against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewsimo%2Faoc-2022" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matthewsimo/aoc-2022 on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matthewsimo/aoc-2022 [INFO] finished tweaking git repo https://github.com/matthewsimo/aoc-2022 [INFO] tweaked toml for git repo https://github.com/matthewsimo/aoc-2022 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/matthewsimo/aoc-2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2949c7af1d49aaa8114d9292ee759ce5b4ed4af15c7ef43502a53d0d0b86fb13 [INFO] running `Command { std: "docker" "start" "-a" "2949c7af1d49aaa8114d9292ee759ce5b4ed4af15c7ef43502a53d0d0b86fb13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2949c7af1d49aaa8114d9292ee759ce5b4ed4af15c7ef43502a53d0d0b86fb13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2949c7af1d49aaa8114d9292ee759ce5b4ed4af15c7ef43502a53d0d0b86fb13", kill_on_drop: false }` [INFO] [stdout] 2949c7af1d49aaa8114d9292ee759ce5b4ed4af15c7ef43502a53d0d0b86fb13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ab65c79e718db2b2874f9a92b339bc6945d4539108354889800fe0807eb5707 [INFO] running `Command { std: "docker" "start" "-a" "0ab65c79e718db2b2874f9a92b339bc6945d4539108354889800fe0807eb5707", kill_on_drop: false }` [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `current_room` [INFO] [stdout] --> src/bin/16.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut current_room = "AA"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_room` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_mins` [INFO] [stdout] --> src/bin/16.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let max_mins = 30; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_mins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/16.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut current_room = "AA"; [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/bin/16.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut t_flows: i32 = tunnels [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | fn p2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_room` [INFO] [stdout] --> src/bin/16.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut current_room = "AA"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_room` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_mins` [INFO] [stdout] --> src/bin/16.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let max_mins = 30; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_mins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/16.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut current_room = "AA"; [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/bin/16.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut t_flows: i32 = tunnels [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | fn p2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/19.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | fn p1(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/19.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | fn p2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rock` [INFO] [stdout] --> src/bin/17.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (rock, offset, width) = get_rock(round); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bin/17.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | let (rock, offset, width) = get_rock(round); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/17.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut max_height: i32 = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/17.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | fn p2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocked_y` [INFO] [stdout] --> src/bin/15.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut blocked_y: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocked_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/15.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut blocked_y: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/15.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | fn p2(input: &str, max: i32) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/15.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut beacon_pos: (i32, i32) = (0, 0); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/bin/20.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashSet, LinkedList, VecDeque}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/19.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | fn p1(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/bin/20.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashSet, LinkedList, VecDeque}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/19.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | fn p2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LinkedList<_, _>: From>` is not satisfied [INFO] [stdout] --> src/bin/20.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let mut decrypt: LinkedList = LinkedList::from(lines.clone()); [INFO] [stdout] | ^^^^^^^^^^ the trait `From>` is not implemented for `LinkedList<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From>` is not implemented for `LinkedList<_, _>` [INFO] [stdout] but trait `From<[_; _]>` is implemented for `LinkedList<_, std::alloc::Global>` [INFO] [stdout] = help: for that trait implementation, expected `[_; _]`, found `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `LinkedList` [INFO] [stdout] --> src/bin/20.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let a = decrypt[1000 % lines.len()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `LinkedList` [INFO] [stdout] --> src/bin/20.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let b = decrypt[2000 % lines.len()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `LinkedList` [INFO] [stdout] --> src/bin/20.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let c = decrypt[3000 % lines.len()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/20.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | fn p2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocked_y` [INFO] [stdout] --> src/bin/15.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut blocked_y: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocked_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/15.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut blocked_y: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/15.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | fn p2(input: &str, max: i32) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/15.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut beacon_pos: (i32, i32) = (0, 0); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rock` [INFO] [stdout] --> src/bin/17.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (rock, offset, width) = get_rock(round); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bin/17.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | let (rock, offset, width) = get_rock(round); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/17.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut max_height: i32 = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/17.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | fn p2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "20" test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `LinkedList<_, _>: From>` is not satisfied [INFO] [stdout] --> src/bin/20.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let mut decrypt: LinkedList = LinkedList::from(lines.clone()); [INFO] [stdout] | ^^^^^^^^^^ the trait `From>` is not implemented for `LinkedList<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From>` is not implemented for `LinkedList<_, _>` [INFO] [stdout] but trait `From<[_; _]>` is implemented for `LinkedList<_, std::alloc::Global>` [INFO] [stdout] = help: for that trait implementation, expected `[_; _]`, found `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `LinkedList` [INFO] [stdout] --> src/bin/20.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let a = decrypt[1000 % lines.len()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `LinkedList` [INFO] [stdout] --> src/bin/20.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let b = decrypt[2000 % lines.len()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `LinkedList` [INFO] [stdout] --> src/bin/20.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let c = decrypt[3000 % lines.len()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/20.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | fn p2(input: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "20") due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0ab65c79e718db2b2874f9a92b339bc6945d4539108354889800fe0807eb5707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ab65c79e718db2b2874f9a92b339bc6945d4539108354889800fe0807eb5707", kill_on_drop: false }` [INFO] [stdout] 0ab65c79e718db2b2874f9a92b339bc6945d4539108354889800fe0807eb5707