[INFO] cloning repository https://github.com/0xDaybreak/codingday
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xDaybreak/codingday" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xDaybreak%2Fcodingday", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xDaybreak%2Fcodingday'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4d797c71402519cdc9edfdc540ad32f7daa3fb28
[INFO] checking 0xDaybreak/codingday against master#c8551d3c63c51f290cf1dc9dc4714249ea849fd1 for pr-148946
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xDaybreak%2Fcodingday" "/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/0xDaybreak/codingday
[INFO] finished tweaking git repo https://github.com/0xDaybreak/codingday
[INFO] tweaked toml for git repo https://github.com/0xDaybreak/codingday written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xDaybreak/codingday on toolchain c8551d3c63c51f290cf1dc9dc4714249ea849fd1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xDaybreak/codingday 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" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d065919f65a8816022c6d91270b849af83e4c0a77a7d3d99929908316566ad7
[INFO] running `Command { std: "docker" "start" "-a" "6d065919f65a8816022c6d91270b849af83e4c0a77a7d3d99929908316566ad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d065919f65a8816022c6d91270b849af83e4c0a77a7d3d99929908316566ad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d065919f65a8816022c6d91270b849af83e4c0a77a7d3d99929908316566ad7", kill_on_drop: false }`
[INFO] [stdout] 6d065919f65a8816022c6d91270b849af83e4c0a77a7d3d99929908316566ad7
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64c3d501f6a63240bbcb96b9f2711abd137a6e456244992f94f7967ef8e6a9ab
[INFO] running `Command { std: "docker" "start" "-a" "64c3d501f6a63240bbcb96b9f2711abd137a6e456244992f94f7967ef8e6a9ab", kill_on_drop: false }`
[INFO] [stderr]     Checking tests v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected type, found `)`
[INFO] [stdout]   --> tests/ex4_borow.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn print_user(u: ) {
[INFO] [stdout]    |                  ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected closing delimiter: `}`
[INFO] [stdout]   --> tests/ex7_direction_message.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn direction_message(dir: Direction) -> &'static str {
[INFO] [stdout]    |                                                          - this opening brace...
[INFO] [stdout] ...
[INFO] [stdout] 19 | }
[INFO] [stdout]    | - ...matches this closing brace
[INFO] [stdout] 20 | }
[INFO] [stdout]    | ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tests` (test "ex7_direction_message") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `opt`
[INFO] [stdout]  --> tests/ex8_get_option_value.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn get_option_value(opt: Option<i32>) -> i32 {
[INFO] [stdout]   |                         ^^^ help: if this is intentional, prefix it with an underscore: `_opt`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> tests/ex9_safe_divide.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn safe_divide(a: i32, b: i32) -> Result<i32, &'static str> {
[INFO] [stdout]   |                    ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]  --> tests/ex9_safe_divide.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn safe_divide(a: i32, b: i32) -> Result<i32, &'static str> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `u` in this scope
[INFO] [stdout]   --> tests/ex4_borow.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 |     println!("{:?}", u);
[INFO] [stdout]    |                      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> tests/ex4_borow.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     print_user();
[INFO] [stdout]    |     ^^^^^^^^^^-- argument #1 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> tests/ex4_borow.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn print_user(u: ) {
[INFO] [stdout]    |    ^^^^^^^^^^  -
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 15 |     print_user(/* <!dummy!> */);
[INFO] [stdout]    |                +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> tests/ex4_borow.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     print_user();
[INFO] [stdout]    |     ^^^^^^^^^^-- argument #1 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> tests/ex4_borow.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn print_user(u: ) {
[INFO] [stdout]    |    ^^^^^^^^^^  -
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     print_user(/* <!dummy!> */);
[INFO] [stdout]    |                +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `u`
[INFO] [stdout]   --> tests/ex3_move_string.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let u = User { id: 1 };
[INFO] [stdout]    |         - move occurs because `u` has type `User`, which does not implement the `Copy` trait
[INFO] [stdout] 15 |     let u2 = u;
[INFO] [stdout]    |              - value moved here
[INFO] [stdout] 16 |     println!("{:?}", u);
[INFO] [stdout]    |                      ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: if `User` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> tests/ex3_move_string.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct User {
[INFO] [stdout]    | ^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 15 |     let u2 = u;
[INFO] [stdout]    |              - you could clone this value
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u2`
[INFO] [stdout]   --> tests/ex3_move_string.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let u2 = u;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_u2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tests` (test "ex4_borow") due to 4 previous errors
[INFO] [stderr] error: could not compile `tests` (test "ex3_move_string") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "64c3d501f6a63240bbcb96b9f2711abd137a6e456244992f94f7967ef8e6a9ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64c3d501f6a63240bbcb96b9f2711abd137a6e456244992f94f7967ef8e6a9ab", kill_on_drop: false }`
[INFO] [stdout] 64c3d501f6a63240bbcb96b9f2711abd137a6e456244992f94f7967ef8e6a9ab
