[INFO] cloning repository https://github.com/tahnok/advent2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tahnok/advent2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56909ab0b16daf58fbe7c5f3cb72459de9e6468f [INFO] testing tahnok/advent2018 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2018" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tahnok/advent2018 [INFO] finished tweaking git repo https://github.com/tahnok/advent2018 [INFO] tweaked toml for git repo https://github.com/tahnok/advent2018 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tahnok/advent2018 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tahnok/advent2018 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.3 [INFO] [stderr] Downloaded proc-macro-hack v0.5.3 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded libc v0.2.44 [INFO] [stderr] Downloaded indoc-impl v0.3.1 [INFO] [stderr] Downloaded indoc v0.3.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c120dae6e5a32753ad92987cdc41119bcc96d84c5fe73c928e53cce12dc43ccd [INFO] running `Command { std: "docker" "start" "-a" "c120dae6e5a32753ad92987cdc41119bcc96d84c5fe73c928e53cce12dc43ccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c120dae6e5a32753ad92987cdc41119bcc96d84c5fe73c928e53cce12dc43ccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c120dae6e5a32753ad92987cdc41119bcc96d84c5fe73c928e53cce12dc43ccd", kill_on_drop: false }` [INFO] [stdout] c120dae6e5a32753ad92987cdc41119bcc96d84c5fe73c928e53cce12dc43ccd [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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 552c999364855d5472020a599cff01140fc2aa6daa67592e423a7cab6e028c16 [INFO] running `Command { std: "docker" "start" "-a" "552c999364855d5472020a599cff01140fc2aa6daa67592e423a7cab6e028c16", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling proc-macro-hack v0.5.3 [INFO] [stderr] Compiling indoc-impl v0.3.1 [INFO] [stderr] Compiling indoc v0.3.1 [INFO] [stderr] Compiling advent2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> src/bin/day_07_1.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_07_1.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut dependencies = result.entry(required_by).or_insert(HashSet::new()); [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/day_04_2.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut times = guards_and_times.get_mut(&id).unwrap(); [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: static variable `guard` should have an upper case name [INFO] [stdout] --> src/bin/day_04_2.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | static ref guard: Regex = Regex::new(r"#(\d+)").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GUARD` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `time` should have an upper case name [INFO] [stdout] --> src/bin/day_04_2.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | static ref time: Regex = Regex::new(r"(\d+):(\d+)\]").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> src/bin/day_07_2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `utils` [INFO] [stdout] --> src/bin/utils.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/utils.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_07_2.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut dependencies = result.entry(required_by).or_insert(HashSet::new()); [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] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2018` (bin "utils") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_04_1.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut times = guards_and_times.get_mut(&id).unwrap(); [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: static variable `guard` should have an upper case name [INFO] [stdout] --> src/bin/day_04_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | static ref guard: Regex = Regex::new(r"#(\d+)").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GUARD` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `time` should have an upper case name [INFO] [stdout] --> src/bin/day_04_1.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | static ref time: Regex = Regex::new(r"(\d+):(\d+)\]").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `TIME` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "552c999364855d5472020a599cff01140fc2aa6daa67592e423a7cab6e028c16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552c999364855d5472020a599cff01140fc2aa6daa67592e423a7cab6e028c16", kill_on_drop: false }` [INFO] [stdout] 552c999364855d5472020a599cff01140fc2aa6daa67592e423a7cab6e028c16