[INFO] cloning repository https://github.com/ruben-arts/advent_of_code_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruben-arts/advent_of_code_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruben-arts%2Fadvent_of_code_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruben-arts%2Fadvent_of_code_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8de8e4ff99e237c1e4ac64823ea17b4183096715 [INFO] checking ruben-arts/advent_of_code_rs against master#74c3f5a146860c94ff4d179fc3bfa34f879adf41 for pr-120248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruben-arts%2Fadvent_of_code_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ruben-arts/advent_of_code_rs on toolchain 74c3f5a146860c94ff4d179fc3bfa34f879adf41 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ruben-arts/advent_of_code_rs [INFO] finished tweaking git repo https://github.com/ruben-arts/advent_of_code_rs [INFO] tweaked toml for git repo https://github.com/ruben-arts/advent_of_code_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ruben-arts/advent_of_code_rs 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" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking ruben-arts/advent_of_code_rs against try#13cae6066db2d5e6c9bb508caceec8d34ca49980 for pr-120248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruben-arts%2Fadvent_of_code_rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ruben-arts/advent_of_code_rs on toolchain 13cae6066db2d5e6c9bb508caceec8d34ca49980 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ruben-arts/advent_of_code_rs [INFO] finished tweaking git repo https://github.com/ruben-arts/advent_of_code_rs [INFO] tweaked toml for git repo https://github.com/ruben-arts/advent_of_code_rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ruben-arts/advent_of_code_rs 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" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3606453e28ce5aa1d7ed3697479a13cd5e79ed653fb3ad7e37e6c00508303086 [INFO] running `Command { std: "docker" "start" "-a" "3606453e28ce5aa1d7ed3697479a13cd5e79ed653fb3ad7e37e6c00508303086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3606453e28ce5aa1d7ed3697479a13cd5e79ed653fb3ad7e37e6c00508303086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3606453e28ce5aa1d7ed3697479a13cd5e79ed653fb3ad7e37e6c00508303086", kill_on_drop: false }` [INFO] [stdout] 3606453e28ce5aa1d7ed3697479a13cd5e79ed653fb3ad7e37e6c00508303086 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff824fec7091e536c984b167bf721ff297fd42e840fab07001483538ee86853e [INFO] running `Command { std: "docker" "start" "-a" "ff824fec7091e536c984b167bf721ff297fd42e840fab07001483538ee86853e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::DebugList` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::DebugList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::DebugList` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::DebugList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/main.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let canvas = canvas.draw_parcour(list); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/main.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let canvas = canvas.draw_parcour(list); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `lists` [INFO] [stdout] --> src/main.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 151 | let lists = get_input("./resources/input_puzzle_3.txt"); [INFO] [stdout] | ----- move occurs because `lists` has type `Vec>`, which does not implement the `Copy` trait [INFO] [stdout] 152 | let canvas = calc_canvas(lists); [INFO] [stdout] | ----- value moved here [INFO] [stdout] 153 | println!("First canvas has size: x:{} y:{}", canvas.canvas_line.len(), canvas.canvas_rows.len()); [INFO] [stdout] 154 | for list in lists{ [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `calc_canvas` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/main.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_canvas(instructions_lists: Vec>) -> Canvas{ [INFO] [stdout] | ----------- in this function ^^^^^^^^^^^^^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `canvas` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let canvas = canvas.draw_parcour(list); [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 152 | let mut canvas = calc_canvas(lists); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `lists` [INFO] [stdout] --> src/main.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 151 | let lists = get_input("./resources/input_puzzle_3.txt"); [INFO] [stdout] | ----- move occurs because `lists` has type `Vec>`, which does not implement the `Copy` trait [INFO] [stdout] 152 | let canvas = calc_canvas(lists); [INFO] [stdout] | ----- value moved here [INFO] [stdout] 153 | println!("First canvas has size: x:{} y:{}", canvas.canvas_line.len(), canvas.canvas_rows.len()); [INFO] [stdout] 154 | for list in lists{ [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `calc_canvas` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/main.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | fn calc_canvas(instructions_lists: Vec>) -> Canvas{ [INFO] [stdout] | ----------- in this function ^^^^^^^^^^^^^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `canvas` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let canvas = canvas.draw_parcour(list); [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 152 | let mut canvas = calc_canvas(lists); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "advent_of_code") due to 3 previous errors; 4 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0382, E0596. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "advent_of_code" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ff824fec7091e536c984b167bf721ff297fd42e840fab07001483538ee86853e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff824fec7091e536c984b167bf721ff297fd42e840fab07001483538ee86853e", kill_on_drop: false }` [INFO] [stdout] ff824fec7091e536c984b167bf721ff297fd42e840fab07001483538ee86853e