[INFO] cloning repository https://github.com/MaienM/AdventOfCode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaienM/AdventOfCode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaienM%2FAdventOfCode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaienM%2FAdventOfCode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db97e0e19f0e410e43a7a5deaf413a4d66895a77 [INFO] checking MaienM/AdventOfCode2021 against try#802c9b5f98c16ec9d24cdfd517f740f1f3df0e29 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaienM%2FAdventOfCode2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaienM/AdventOfCode2021 on toolchain 802c9b5f98c16ec9d24cdfd517f740f1f3df0e29 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaienM/AdventOfCode2021 [INFO] finished tweaking git repo https://github.com/MaienM/AdventOfCode2021 [INFO] tweaked toml for git repo https://github.com/MaienM/AdventOfCode2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MaienM/AdventOfCode2021 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" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v1.0.0 [INFO] [stderr] Downloaded derive-new v0.5.9 [INFO] [stderr] Downloaded proc-macro2 v1.0.33 [INFO] [stderr] Downloaded syn v1.0.82 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 604e9f1596c4d6a9d2197e49a7af8ee35631bd64855f77466a0996ea3b1543aa [INFO] running `Command { std: "docker" "start" "-a" "604e9f1596c4d6a9d2197e49a7af8ee35631bd64855f77466a0996ea3b1543aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "604e9f1596c4d6a9d2197e49a7af8ee35631bd64855f77466a0996ea3b1543aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604e9f1596c4d6a9d2197e49a7af8ee35631bd64855f77466a0996ea3b1543aa", kill_on_drop: false }` [INFO] [stdout] 604e9f1596c4d6a9d2197e49a7af8ee35631bd64855f77466a0996ea3b1543aa [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3774ce2b188574651ee3e553f6f5b5ddc72c35130e6955c336aa7217757bee5 [INFO] running `Command { std: "docker" "start" "-a" "e3774ce2b188574651ee3e553f6f5b5ddc72c35130e6955c336aa7217757bee5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking pretty_assertions v1.0.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling aoc_derive v0.1.0 (/opt/rustwide/workdir/aoc_derive) [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/range.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl ReversibleRange { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 7 | fn contains(&self, value: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/runner.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | if runnable == missing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 99 - if runnable == missing { [INFO] [stdout] 99 + if std::ptr::fn_addr_eq(runnable, missing as fn(String) -> T) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `contains` is private [INFO] [stdout] --> src/bin/day23.rs:121:75 [INFO] [stdout] | [INFO] [stdout] 121 | ... if range(i, ROOM_POSITIONS[otyp]).contains(targetpos) { [INFO] [stdout] | ^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/range.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn contains(&self, value: usize) -> bool { [INFO] [stdout] | ---------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/range.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl ReversibleRange { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 7 | fn contains(&self, value: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/runner.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | if runnable == missing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 99 - if runnable == missing { [INFO] [stdout] 99 + if std::ptr::fn_addr_eq(runnable, missing as fn(String) -> T) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "day23") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day19.rs:321:65 [INFO] [stdout] | [INFO] [stdout] 321 | let new_scanner = Scanner::new(candidate.clone(), matrix, offset); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ScannerIncomplete` does not implement `Clone`, so calling `clone` on `&ScannerIncomplete` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 321 - let new_scanner = Scanner::new(candidate.clone(), matrix, offset); [INFO] [stdout] 321 + let new_scanner = Scanner::new(candidate, matrix, offset); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ScannerIncomplete`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 157 + #[derive(Clone)] [INFO] [stdout] 158 | struct ScannerIncomplete { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/bin/day20.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct Point(usize, usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `contains` is private [INFO] [stdout] --> src/bin/day23.rs:121:75 [INFO] [stdout] | [INFO] [stdout] 121 | ... if range(i, ROOM_POSITIONS[otyp]).contains(targetpos) { [INFO] [stdout] | ^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/range.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn contains(&self, value: usize) -> bool { [INFO] [stdout] | ---------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "aoc") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e3774ce2b188574651ee3e553f6f5b5ddc72c35130e6955c336aa7217757bee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3774ce2b188574651ee3e553f6f5b5ddc72c35130e6955c336aa7217757bee5", kill_on_drop: false }` [INFO] [stdout] e3774ce2b188574651ee3e553f6f5b5ddc72c35130e6955c336aa7217757bee5