[INFO] cloning repository https://github.com/Deskbot/Advent-of-Code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Deskbot/Advent-of-Code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeskbot%2FAdvent-of-Code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeskbot%2FAdvent-of-Code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97d5a7e7e7f2a57ec64a5591688d1c2f5e90617d [INFO] checking Deskbot/Advent-of-Code-2020 against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeskbot%2FAdvent-of-Code-2020" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Deskbot/Advent-of-Code-2020 on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Deskbot/Advent-of-Code-2020 [INFO] finished tweaking git repo https://github.com/Deskbot/Advent-of-Code-2020 [INFO] tweaked toml for git repo https://github.com/Deskbot/Advent-of-Code-2020 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Deskbot/Advent-of-Code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded substring v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 916549fcc25e2fe33a897e7462b0f4fbbdeefbe1febc42c5fb8c1c20120386cb [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" "916549fcc25e2fe33a897e7462b0f4fbbdeefbe1febc42c5fb8c1c20120386cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "916549fcc25e2fe33a897e7462b0f4fbbdeefbe1febc42c5fb8c1c20120386cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "916549fcc25e2fe33a897e7462b0f4fbbdeefbe1febc42c5fb8c1c20120386cb", kill_on_drop: false }` [INFO] [stdout] 916549fcc25e2fe33a897e7462b0f4fbbdeefbe1febc42c5fb8c1c20120386cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9784189c372efb6997c42bc33b691c206558fad2e81ce507d0d665e0d4d3de3c [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" "9784189c372efb6997c42bc33b691c206558fad2e81ce507d0d665e0d4d3de3c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling substring v1.4.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/day/day23.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/day/day23.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/day/day22.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | fn part2(p1: Deck, p2: Deck) -> i64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/day/day22.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn part2(p1: Deck, p2: Deck) -> i64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cups` [INFO] [stdout] --> src/day/day23.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cups = Cups::parse(input); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cups` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day/day23.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cups = Cups::parse(input); [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: field is never read: `current_cup` [INFO] [stdout] --> src/day/day23.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | current_cup: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `list` [INFO] [stdout] --> src/day/day23.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | list: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/day/day23.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/day/day22.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | fn part2(p1: Deck, p2: Deck) -> i64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/day/day22.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn part2(p1: Deck, p2: Deck) -> i64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cups` [INFO] [stdout] --> src/day/day23.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cups = Cups::parse(input); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cups` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day/day23.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cups = Cups::parse(input); [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: field is never read: `current_cup` [INFO] [stdout] --> src/day/day23.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | current_cup: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `list` [INFO] [stdout] --> src/day/day23.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | list: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/day/day23.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.67s [INFO] running `Command { std: "docker" "inspect" "9784189c372efb6997c42bc33b691c206558fad2e81ce507d0d665e0d4d3de3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9784189c372efb6997c42bc33b691c206558fad2e81ce507d0d665e0d4d3de3c", kill_on_drop: false }` [INFO] [stdout] 9784189c372efb6997c42bc33b691c206558fad2e81ce507d0d665e0d4d3de3c