[INFO] cloning repository https://github.com/Dunklas/aoc-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dunklas/aoc-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDunklas%2Faoc-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDunklas%2Faoc-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf53ba69c50cd72b5baa561ed379772e3d0b53a6 [INFO] checking Dunklas/aoc-2020 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDunklas%2Faoc-2020" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dunklas/aoc-2020 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dunklas/aoc-2020 [INFO] finished tweaking git repo https://github.com/Dunklas/aoc-2020 [INFO] tweaked toml for git repo https://github.com/Dunklas/aoc-2020 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Dunklas/aoc-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef588690ececc8e115ea011f078dbabc103192eb8a03ffef11b5112123daa948 [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" "ef588690ececc8e115ea011f078dbabc103192eb8a03ffef11b5112123daa948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef588690ececc8e115ea011f078dbabc103192eb8a03ffef11b5112123daa948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef588690ececc8e115ea011f078dbabc103192eb8a03ffef11b5112123daa948", kill_on_drop: false }` [INFO] [stdout] ef588690ececc8e115ea011f078dbabc103192eb8a03ffef11b5112123daa948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a9b1d4f01da656c37313d1561b6f6550a5380b89a69ab428c8121cd1455dedb [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" "1a9b1d4f01da656c37313d1561b6f6550a5380b89a69ab428c8121cd1455dedb", kill_on_drop: false }` [INFO] [stderr] Checking aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `joltage_ratings` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/solutions/day10.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | let max = joltage_ratings.iter().max().unwrap(); [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 27 | joltage_ratings.push(max + 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `joltage_ratings` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/solutions/day10.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | let max = joltage_ratings.iter().max().unwrap(); [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 27 | joltage_ratings.push(max + 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day12.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day12.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_2_test` [INFO] [stdout] --> src/solutions/day17.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn part_2_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day12.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day12.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `Command { std: "docker" "inspect" "1a9b1d4f01da656c37313d1561b6f6550a5380b89a69ab428c8121cd1455dedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9b1d4f01da656c37313d1561b6f6550a5380b89a69ab428c8121cd1455dedb", kill_on_drop: false }` [INFO] [stdout] 1a9b1d4f01da656c37313d1561b6f6550a5380b89a69ab428c8121cd1455dedb