[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 try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenderian%2Fadventofcode2020" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/enderian/adventofcode2020 on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b2223d62723b731376f2cbd1e09d6d3f2af3b1d518142757a45462a39bc59a97
[INFO] running `Command { std: "docker" "start" "-a" "b2223d62723b731376f2cbd1e09d6d3f2af3b1d518142757a45462a39bc59a97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2223d62723b731376f2cbd1e09d6d3f2af3b1d518142757a45462a39bc59a97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2223d62723b731376f2cbd1e09d6d3f2af3b1d518142757a45462a39bc59a97", kill_on_drop: false }`
[INFO] [stdout] b2223d62723b731376f2cbd1e09d6d3f2af3b1d518142757a45462a39bc59a97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41fdfaf8dd2bc7cf141acb4cad9567ae560344854268164a69f3d95f26d7f1ea
[INFO] running `Command { std: "docker" "start" "-a" "41fdfaf8dd2bc7cf141acb4cad9567ae560344854268164a69f3d95f26d7f1ea", kill_on_drop: false }`
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking thread_local v1.0.1
[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] 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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) 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") 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" test) due to 6 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "41fdfaf8dd2bc7cf141acb4cad9567ae560344854268164a69f3d95f26d7f1ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41fdfaf8dd2bc7cf141acb4cad9567ae560344854268164a69f3d95f26d7f1ea", kill_on_drop: false }`
[INFO] [stdout] 41fdfaf8dd2bc7cf141acb4cad9567ae560344854268164a69f3d95f26d7f1ea
