[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwamimi%2Fadventofrust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wamimi/adventofrust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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 [INFO] checking wamimi/adventofrust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwamimi%2Fadventofrust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wamimi/adventofrust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 580b2a0e71fb07303b8fd5043ad4bad7b01dc8509c7c779a357781524557adb5 [INFO] running `Command { std: "docker" "start" "-a" "580b2a0e71fb07303b8fd5043ad4bad7b01dc8509c7c779a357781524557adb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "580b2a0e71fb07303b8fd5043ad4bad7b01dc8509c7c779a357781524557adb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580b2a0e71fb07303b8fd5043ad4bad7b01dc8509c7c779a357781524557adb5", kill_on_drop: false }` [INFO] [stdout] 580b2a0e71fb07303b8fd5043ad4bad7b01dc8509c7c779a357781524557adb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88f12a0f1b27303a1d5f8f93902be2d3c91eea286fb1cf85885af8c9f360936a [INFO] running `Command { std: "docker" "start" "-a" "88f12a0f1b27303a1d5f8f93902be2d3c91eea286fb1cf85885af8c9f360936a", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/bin/practice3.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | .to_string(); [INFO] [stdout] | ^ expected expression [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] error[E0601]: `main` function not found in crate `day17` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `src/bin/day17.rs` [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 `day7` [INFO] [stdout] --> src/bin/day7.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/day7.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/practice2.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn return_book(&mut self) -> bool{ [INFO] [stdout] | ----------- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-rust` (bin "day17") 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 E0308`. [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 "day7") due to 1 previous error [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/bin/practice.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let balance = account1.get_balance(); // 500.0 [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `account_number`, `owner`, and `is_active` are never read [INFO] [stdout] --> src/bin/practice.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct BankAccount{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 2 | account_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | balance: f64, [INFO] [stdout] 5 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-rust` (bin "practice3" test) 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 "practice2" test) due to 1 previous error [INFO] [stderr] error: could not compile `advent-of-rust` (bin "day1") due to 2 previous errors [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] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-rust` (bin "day8") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "88f12a0f1b27303a1d5f8f93902be2d3c91eea286fb1cf85885af8c9f360936a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f12a0f1b27303a1d5f8f93902be2d3c91eea286fb1cf85885af8c9f360936a", kill_on_drop: false }` [INFO] [stdout] 88f12a0f1b27303a1d5f8f93902be2d3c91eea286fb1cf85885af8c9f360936a