[INFO] cloning repository https://github.com/enderian/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enderian/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenderian%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenderian%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2488c56a0da042b2c790f97c185216ef53ccb447 [INFO] checking enderian/adventofcode2020 against master#d93f678fa55842cccd2f091deccd93e9494b3764 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenderian%2Fadventofcode2020" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enderian/adventofcode2020 on toolchain d93f678fa55842cccd2f091deccd93e9494b3764 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enderian/adventofcode2020 [INFO] finished tweaking git repo https://github.com/enderian/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/enderian/adventofcode2020 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/enderian/adventofcode2020 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" "+d93f678fa55842cccd2f091deccd93e9494b3764" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1acf21b8d8a04b345179f2916f1d0c93f2fee2b4168a0b3ffbc2217f6e39c331 [INFO] running `Command { std: "docker" "start" "-a" "1acf21b8d8a04b345179f2916f1d0c93f2fee2b4168a0b3ffbc2217f6e39c331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1acf21b8d8a04b345179f2916f1d0c93f2fee2b4168a0b3ffbc2217f6e39c331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1acf21b8d8a04b345179f2916f1d0c93f2fee2b4168a0b3ffbc2217f6e39c331", kill_on_drop: false }` [INFO] [stdout] 1acf21b8d8a04b345179f2916f1d0c93f2fee2b4168a0b3ffbc2217f6e39c331 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0062c015e0037f5fd4460b4b29d3ca0ada3e20b386e7fd431517e543f301c800 [INFO] running `Command { std: "docker" "start" "-a" "0062c015e0037f5fd4460b4b29d3ca0ada3e20b386e7fd431517e543f301c800", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking adventofcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 37 | let facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:38:55 [INFO] [stdout] | [INFO] [stdout] 38 | println!("{}{} {} {} {}", &dir[1], &dir[2], x, y, facing); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 37 | let facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | facing = if facing < 0 { 360 + facing } else { facing }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `facing` in this scope [INFO] [stdout] --> src/dec12.rs:38:55 [INFO] [stdout] | [INFO] [stdout] 38 | println!("{}{} {} {} {}", &dir[1], &dir[2], x, y, facing); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64` [INFO] [stdout] --> src/dec12.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64` [INFO] [stdout] --> src/dec12.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dec12.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | y = &(*x * -1 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dec12.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | y = &(*x * -1 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode` (bin "dec12" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `adventofcode` (bin "dec12") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0062c015e0037f5fd4460b4b29d3ca0ada3e20b386e7fd431517e543f301c800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0062c015e0037f5fd4460b4b29d3ca0ada3e20b386e7fd431517e543f301c800", kill_on_drop: false }` [INFO] [stdout] 0062c015e0037f5fd4460b4b29d3ca0ada3e20b386e7fd431517e543f301c800