[INFO] cloning repository https://github.com/miketzian/adventofcode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miketzian/adventofcode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiketzian%2Fadventofcode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiketzian%2Fadventofcode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a572d0055cc5ea2475d86ad9dd72f12f86044c02 [INFO] checking miketzian/adventofcode2021 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiketzian%2Fadventofcode2021" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miketzian/adventofcode2021 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miketzian/adventofcode2021 [INFO] finished tweaking git repo https://github.com/miketzian/adventofcode2021 [INFO] tweaked toml for git repo https://github.com/miketzian/adventofcode2021 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/miketzian/adventofcode2021 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1da47d9fa63e7b2f4db95205698930373ef5dca5509c355b959ac92df9b4e44 [INFO] running `Command { std: "docker" "start" "-a" "a1da47d9fa63e7b2f4db95205698930373ef5dca5509c355b959ac92df9b4e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1da47d9fa63e7b2f4db95205698930373ef5dca5509c355b959ac92df9b4e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1da47d9fa63e7b2f4db95205698930373ef5dca5509c355b959ac92df9b4e44", kill_on_drop: false }` [INFO] [stdout] a1da47d9fa63e7b2f4db95205698930373ef5dca5509c355b959ac92df9b4e44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c8ea9c93e1699097caa414d8bc03982af8853972d63cf25959561e1d8cf5023 [INFO] running `Command { std: "docker" "start" "-a" "4c8ea9c93e1699097caa414d8bc03982af8853972d63cf25959561e1d8cf5023", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(test, macro_use)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `file_path` does not live long enough [INFO] [stdout] --> src/util.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 22 | let file_path = if for_test { [INFO] [stdout] | --------- binding `file_path` declared here [INFO] [stdout] ... [INFO] [stdout] 27 | read_file(file_path.as_str()) [INFO] [stdout] | ----------^^^^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `file_path` is borrowed for `'static` [INFO] [stdout] 28 | } [INFO] [stdout] | - `file_path` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `file_path` does not live long enough [INFO] [stdout] --> src/util.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 22 | let file_path = if for_test { [INFO] [stdout] | --------- binding `file_path` declared here [INFO] [stdout] ... [INFO] [stdout] 27 | read_file(file_path.as_str()) [INFO] [stdout] | ----------^^^^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `file_path` is borrowed for `'static` [INFO] [stdout] 28 | } [INFO] [stdout] | - `file_path` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `source` does not live long enough [INFO] [stdout] --> src/day12.rs:198:39 [INFO] [stdout] | [INFO] [stdout] 197 | let source = format!("data/day{}_test_{}.txt", 12, case); [INFO] [stdout] | ------ binding `source` declared here [INFO] [stdout] 198 | super::super::util::read_file(source.as_str()) [INFO] [stdout] | ------------------------------^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `source` is borrowed for `'static` [INFO] [stdout] 199 | } [INFO] [stdout] | - `source` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4c8ea9c93e1699097caa414d8bc03982af8853972d63cf25959561e1d8cf5023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8ea9c93e1699097caa414d8bc03982af8853972d63cf25959561e1d8cf5023", kill_on_drop: false }` [INFO] [stdout] 4c8ea9c93e1699097caa414d8bc03982af8853972d63cf25959561e1d8cf5023