[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] testing wamimi/adventofrust against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwamimi%2Fadventofrust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wamimi/adventofrust on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 437e6c7e460503eb25568f97d9d9d20e368eac5432463f254cc32cc986677455
[INFO] running `Command { std: "docker" "start" "-a" "437e6c7e460503eb25568f97d9d9d20e368eac5432463f254cc32cc986677455", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "437e6c7e460503eb25568f97d9d9d20e368eac5432463f254cc32cc986677455", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "437e6c7e460503eb25568f97d9d9d20e368eac5432463f254cc32cc986677455", kill_on_drop: false }`
[INFO] [stdout] 437e6c7e460503eb25568f97d9d9d20e368eac5432463f254cc32cc986677455
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 184edb6e0bb426af1bd579b79ea39af52a9863004a30f5c527fe5029e1e3766c
[INFO] running `Command { std: "docker" "start" "-a" "184edb6e0bb426af1bd579b79ea39af52a9863004a30f5c527fe5029e1e3766c", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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[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] [stdout] error[E0601]: `main` function not found in crate `practice3`
[INFO] [stdout]   --> src/bin/practice3.rs:52:2
[INFO] [stdout]    |
[INFO] [stdout] 52 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/practice3.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `day4`
[INFO] [stdout]   --> src/bin/day4.rs:39:2
[INFO] [stdout]    |
[INFO] [stdout] 39 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/day4.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[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 `practice2`
[INFO] [stdout]   --> src/bin/practice2.rs:42:2
[INFO] [stdout]    |
[INFO] [stdout] 42 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/practice2.rs`
[INFO] [stdout] 
[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 "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] Some errors have detailed explanations: E0308, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[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] [stderr] error: could not compile `advent-of-rust` (bin "practice2") due to 2 previous errors
[INFO] [stdout] error[E0601]: `main` function not found in crate `day5`
[INFO] [stdout]   --> src/bin/day5.rs:58:2
[INFO] [stdout]    |
[INFO] [stdout] 58 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/day5.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/day2.rs:15:2
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 15 |  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] [stderr] error: could not compile `advent-of-rust` (bin "day7") due to 1 previous error
[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] [stderr] error: could not compile `advent-of-rust` (bin "day5") due to 1 previous error
[INFO] [stderr] error: could not compile `advent-of-rust` (bin "day3") due to 1 previous error
[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[E0601]: `main` function not found in crate `day16`
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider adding a `main` function to `src/bin/day16.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/day2.rs:5:31
[INFO] [stdout]    |
[INFO] [stdout]  5 |     attach_message_to_present(gift_message.clone()); 
[INFO] [stdout]    |     ------------------------- ^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/bin/day2.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |  fn attach_message_to_present(message: &str) {    
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ -------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout]  5 |     attach_message_to_present(&gift_message.clone()); 
[INFO] [stdout]    |                               +
[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 `day17`
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider adding a `main` function to `src/bin/day17.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0428.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[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 "day4") due to 1 previous error
[INFO] [stderr] error: could not compile `advent-of-rust` (bin "day2") due to 2 previous errors
[INFO] [stderr] error: could not compile `advent-of-rust` (bin "day16") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-rust` (bin "day17") due to 1 previous error
[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] 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] [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] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-rust` (bin "practice3") due to 2 previous errors
[INFO] [stderr] error: could not compile `advent-of-rust` (bin "day10") due to 1 previous error
[INFO] [stdout] error[E0601]: `main` function not found in crate `day6`
[INFO] [stdout]   --> src/bin/day6.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |  }
[INFO] [stdout]    |   ^ consider adding a `main` function to `src/bin/day6.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 "day6") 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] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-rust` (bin "day1") due to 2 previous errors
[INFO] [stderr] error: could not compile `advent-of-rust` (bin "day12") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "184edb6e0bb426af1bd579b79ea39af52a9863004a30f5c527fe5029e1e3766c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "184edb6e0bb426af1bd579b79ea39af52a9863004a30f5c527fe5029e1e3766c", kill_on_drop: false }`
[INFO] [stdout] 184edb6e0bb426af1bd579b79ea39af52a9863004a30f5c527fe5029e1e3766c
