[INFO] cloning repository https://github.com/wamimi/adventofrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wamimi/adventofrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwamimi%2Fadventofrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwamimi%2Fadventofrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25bf29f00847d94a099c9350d242dccaa8492349 [INFO] checking wamimi/adventofrust against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwamimi%2Fadventofrust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wamimi/adventofrust [INFO] finished tweaking git repo https://github.com/wamimi/adventofrust [INFO] tweaked toml for git repo https://github.com/wamimi/adventofrust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wamimi/adventofrust on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wamimi/adventofrust 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fadeed41550e1566c6fb5d5933d23f42a459dbb76b344b432dc1beb909a6b852 [INFO] running `Command { std: "docker" "start" "-a" "fadeed41550e1566c6fb5d5933d23f42a459dbb76b344b432dc1beb909a6b852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fadeed41550e1566c6fb5d5933d23f42a459dbb76b344b432dc1beb909a6b852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fadeed41550e1566c6fb5d5933d23f42a459dbb76b344b432dc1beb909a6b852", kill_on_drop: false }` [INFO] [stdout] fadeed41550e1566c6fb5d5933d23f42a459dbb76b344b432dc1beb909a6b852 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c506ca9504a95c53ca314d76ee59844f96476adb6c9f941e3206c86995c41860 [INFO] running `Command { std: "docker" "start" "-a" "c506ca9504a95c53ca314d76ee59844f96476adb6c9f941e3206c86995c41860", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `day8` [INFO] [stdout] --> src/bin/day8.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/day8.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `day12` [INFO] [stdout] --> src/bin/day12.rs:126:2 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/day12.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/bin/day1.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 18 | fn main() { [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `day10` [INFO] [stdout] --> src/bin/day10.rs:69:2 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/day10.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `day3` [INFO] [stdout] --> src/bin/day3.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/day3.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-rust` (bin "day8") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `gift_message` [INFO] [stdout] --> src/bin/day1.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 3 | let gift_message = String::from("Merry Christmas! Enjoy your gift!"); [INFO] [stdout] | ------------ move occurs because `gift_message` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 4 | attach_message_to_present(gift_message); [INFO] [stdout] | ------------ value moved here [INFO] [stdout] 5 | println!("{}", gift_message); [INFO] [stdout] | ^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `attach_message_to_present` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/bin/day1.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn attach_message_to_present(message: String) { [INFO] [stdout] | ------------------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 4 | attach_message_to_present(gift_message.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-rust` (bin "day10") due to 1 previous error [INFO] [stderr] error: could not compile `advent-of-rust` (bin "day3") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0382, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-rust` (bin "day12") due to 1 previous error [INFO] [stderr] error: could not compile `advent-of-rust` (bin "day1" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c506ca9504a95c53ca314d76ee59844f96476adb6c9f941e3206c86995c41860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c506ca9504a95c53ca314d76ee59844f96476adb6c9f941e3206c86995c41860", kill_on_drop: false }` [INFO] [stdout] c506ca9504a95c53ca314d76ee59844f96476adb6c9f941e3206c86995c41860