[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruben-arts%2Fadvent_of_code_rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ruben-arts/advent_of_code_rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-13/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd64c922ffa5b97249aaee5bdcf0d1f7191f1deb8e16a1cc3c65b78a30d6d9f9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cd64c922ffa5b97249aaee5bdcf0d1f7191f1deb8e16a1cc3c65b78a30d6d9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd64c922ffa5b97249aaee5bdcf0d1f7191f1deb8e16a1cc3c65b78a30d6d9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd64c922ffa5b97249aaee5bdcf0d1f7191f1deb8e16a1cc3c65b78a30d6d9f9", kill_on_drop: false }` [INFO] [stdout] cd64c922ffa5b97249aaee5bdcf0d1f7191f1deb8e16a1cc3c65b78a30d6d9f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17ac6501e61452b0d799e256f208ed9264111acb90e376d48ac79bdb4325ef15 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "17ac6501e61452b0d799e256f208ed9264111acb90e376d48ac79bdb4325ef15", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [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] [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] 152 | let canvas = calc_canvas(lists); [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut canvas` [INFO] [stdout] ... [INFO] [stdout] 155 | let canvas = canvas.draw_parcour(list); [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [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] [stderr] error: could not compile `advent_of_code` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] 152 | let canvas = calc_canvas(lists); [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut canvas` [INFO] [stdout] ... [INFO] [stdout] 155 | let canvas = canvas.draw_parcour(list); [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "17ac6501e61452b0d799e256f208ed9264111acb90e376d48ac79bdb4325ef15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ac6501e61452b0d799e256f208ed9264111acb90e376d48ac79bdb4325ef15", kill_on_drop: false }` [INFO] [stdout] 17ac6501e61452b0d799e256f208ed9264111acb90e376d48ac79bdb4325ef15