[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/2488c56a0da042b2c790f97c185216ef53ccb447 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [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 ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded aho-corasick v0.7.15 [INFO] [stderr] Downloaded regex-syntax v0.6.21 [INFO] [stderr] Downloaded regex v1.4.2 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d040e5ddf6a9ea0fc42738f10962c43beac852bb0a649fd225622066d0aa2726 [INFO] running `Command { std: "docker" "start" "-a" "d040e5ddf6a9ea0fc42738f10962c43beac852bb0a649fd225622066d0aa2726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d040e5ddf6a9ea0fc42738f10962c43beac852bb0a649fd225622066d0aa2726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d040e5ddf6a9ea0fc42738f10962c43beac852bb0a649fd225622066d0aa2726", kill_on_drop: false }` [INFO] [stdout] d040e5ddf6a9ea0fc42738f10962c43beac852bb0a649fd225622066d0aa2726 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a5a50e67f3dc121d518628f7469290c13f60f4a5fe605d2a3e390d7c71bc2fb [INFO] running `Command { std: "docker" "start" "-a" "2a5a50e67f3dc121d518628f7469290c13f60f4a5fe605d2a3e390d7c71bc2fb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [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] 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] 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] [stderr] error: could not compile `adventofcode` (bin "dec12") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `adventofcode` (bin "dec12" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "2a5a50e67f3dc121d518628f7469290c13f60f4a5fe605d2a3e390d7c71bc2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5a50e67f3dc121d518628f7469290c13f60f4a5fe605d2a3e390d7c71bc2fb", kill_on_drop: false }` [INFO] [stdout] 2a5a50e67f3dc121d518628f7469290c13f60f4a5fe605d2a3e390d7c71bc2fb