[INFO] cloning repository https://github.com/Twirr/AOC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Twirr/AOC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwirr%2FAOC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwirr%2FAOC2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf5337bd748635e65e25b8ea2d18485ce3b34262 [INFO] checking Twirr/AOC2022 against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwirr%2FAOC2022" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Twirr/AOC2022 [INFO] finished tweaking git repo https://github.com/Twirr/AOC2022 [INFO] tweaked toml for git repo https://github.com/Twirr/AOC2022 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Twirr/AOC2022 on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Twirr/AOC2022 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queues v1.1.0 [INFO] [stderr] Downloaded priority-queue v1.3.0 [INFO] [stderr] Downloaded reikna v0.12.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8350e0e8c388c688490deb6c19512eb8ff20f00cbd3d9a42ea92b34333e7b0e3 [INFO] running `Command { std: "docker" "start" "-a" "8350e0e8c388c688490deb6c19512eb8ff20f00cbd3d9a42ea92b34333e7b0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8350e0e8c388c688490deb6c19512eb8ff20f00cbd3d9a42ea92b34333e7b0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8350e0e8c388c688490deb6c19512eb8ff20f00cbd3d9a42ea92b34333e7b0e3", kill_on_drop: false }` [INFO] [stdout] 8350e0e8c388c688490deb6c19512eb8ff20f00cbd3d9a42ea92b34333e7b0e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feada93d9bd48054d2e4e9fad34faa4055c7fb4a84ef4d82b15ad6ac83057f77 [INFO] running `Command { std: "docker" "start" "-a" "feada93d9bd48054d2e4e9fad34faa4055c7fb4a84ef4d82b15ad6ac83057f77", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling priority-queue v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking reikna v0.12.3 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking aoc2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/day16.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | best_result = current_flow;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/bin/day7.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{ HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | let diff_from_target = size-target; [INFO] [stdout] | ^^^^^^ expected `u64`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/bin/day7.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{ HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `i64` from `u64` [INFO] [stdout] --> src/bin/day7.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | let diff_from_target = size-target; [INFO] [stdout] | ^ no implementation for `u64 - i64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u64` [INFO] [stdout] help: the following other types implement trait `Sub` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/core/src/ops/arith.rs:227:0 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `Sub` [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `Sub` [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `Sub<&u64>` [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `Sub` [INFO] [stdout] = note: this error originates in the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | let diff_from_target = size-target; [INFO] [stdout] | ^^^^^^ expected `u64`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | if diff_from_target >= 0 && diff_from_target < folder_closests_to_target_diff{ [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `i64` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | if diff_from_target >= 0 && diff_from_target < folder_closests_to_target_diff.try_into().unwrap(){ [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `i64` from `u64` [INFO] [stdout] --> src/bin/day7.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | let diff_from_target = size-target; [INFO] [stdout] | ^ no implementation for `u64 - i64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u64` [INFO] [stdout] help: the following other types implement trait `Sub` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/core/src/ops/arith.rs:227:0 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `Sub` [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `Sub` [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `Sub<&u64>` [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `Sub` [INFO] [stdout] = note: this error originates in the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 30 | let mut folder_closests_to_target_diff = i64::max_value(); [INFO] [stdout] | ---------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 52 | folder_closests_to_target_diff = diff_from_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | let diff_from_target = size-target; [INFO] [stdout] | ^^^^^^ expected `u64`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `i64` from `u64` [INFO] [stdout] --> src/bin/day7.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | let diff_from_target = size-target; [INFO] [stdout] | ^ no implementation for `u64 - i64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u64` [INFO] [stdout] help: the following other types implement trait `Sub` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/core/src/ops/arith.rs:227:0 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `Sub` [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `Sub` [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `Sub<&u64>` [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `Sub` [INFO] [stdout] = note: this error originates in the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | if diff_from_target >= 0 && diff_from_target < folder_closests_to_target_diff{ [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `i64` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 72 | if diff_from_target >= 0 && diff_from_target < folder_closests_to_target_diff.try_into().unwrap(){ [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:74:46 [INFO] [stdout] | [INFO] [stdout] 30 | let mut folder_closests_to_target_diff = i64::max_value(); [INFO] [stdout] | ---------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 74 | folder_closests_to_target_diff = diff_from_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | if diff_from_target >= 0 && diff_from_target < folder_closests_to_target_diff{ [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `i64` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | if diff_from_target >= 0 && diff_from_target < folder_closests_to_target_diff.try_into().unwrap(){ [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 30 | let mut folder_closests_to_target_diff = i64::max_value(); [INFO] [stdout] | ---------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 52 | folder_closests_to_target_diff = diff_from_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | let diff_from_target = size-target; [INFO] [stdout] | ^^^^^^ expected `u64`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `i64` from `u64` [INFO] [stdout] --> src/bin/day7.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | let diff_from_target = size-target; [INFO] [stdout] | ^ no implementation for `u64 - i64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u64` [INFO] [stdout] help: the following other types implement trait `Sub` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/core/src/ops/arith.rs:227:0 [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `Sub` [INFO] [stdout] | [INFO] [stdout] = note: `&u64` implements `Sub` [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `Sub<&u64>` [INFO] [stdout] | [INFO] [stdout] = note: `u64` implements `Sub` [INFO] [stdout] = note: this error originates in the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/bin/day16.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn part2(input: HashMap,u64)>){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | if diff_from_target >= 0 && diff_from_target < folder_closests_to_target_diff{ [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `i64` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 72 | if diff_from_target >= 0 && diff_from_target < folder_closests_to_target_diff.try_into().unwrap(){ [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:74:46 [INFO] [stdout] | [INFO] [stdout] 30 | let mut folder_closests_to_target_diff = i64::max_value(); [INFO] [stdout] | ---------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 74 | folder_closests_to_target_diff = diff_from_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/day16.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | best_result = current_flow;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2022` (bin "day7" test) due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2022` (bin "day7") due to 8 previous errors; 1 warning emitted [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/bin/day16.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn part2(input: HashMap,u64)>){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "feada93d9bd48054d2e4e9fad34faa4055c7fb4a84ef4d82b15ad6ac83057f77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feada93d9bd48054d2e4e9fad34faa4055c7fb4a84ef4d82b15ad6ac83057f77", kill_on_drop: false }` [INFO] [stdout] feada93d9bd48054d2e4e9fad34faa4055c7fb4a84ef4d82b15ad6ac83057f77