[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] building matthewsimo/aoc-2022 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewsimo%2Faoc-2022" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matthewsimo/aoc-2022 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 713cc8a9375ebefc118b6b12b5da2b29d864211ff79053f3e9309230259a5bba [INFO] running `Command { std: "docker" "start" "-a" "713cc8a9375ebefc118b6b12b5da2b29d864211ff79053f3e9309230259a5bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "713cc8a9375ebefc118b6b12b5da2b29d864211ff79053f3e9309230259a5bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "713cc8a9375ebefc118b6b12b5da2b29d864211ff79053f3e9309230259a5bba", kill_on_drop: false }` [INFO] [stdout] 713cc8a9375ebefc118b6b12b5da2b29d864211ff79053f3e9309230259a5bba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a9e4943f1f0fd17cbb37790ef2d0aabe7a90d29841fee7294da8a755fd2d3aa [INFO] running `Command { std: "docker" "start" "-a" "7a9e4943f1f0fd17cbb37790ef2d0aabe7a90d29841fee7294da8a755fd2d3aa", kill_on_drop: false }` [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir) [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: `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] 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] 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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7a9e4943f1f0fd17cbb37790ef2d0aabe7a90d29841fee7294da8a755fd2d3aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9e4943f1f0fd17cbb37790ef2d0aabe7a90d29841fee7294da8a755fd2d3aa", kill_on_drop: false }` [INFO] [stdout] 7a9e4943f1f0fd17cbb37790ef2d0aabe7a90d29841fee7294da8a755fd2d3aa