[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#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xDaybreak%2Fcodingday" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xDaybreak/codingday on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9597d5c5141e9716514bbbee255e88ea69f209252e43a0579c7d3ae8792ad944
[INFO] running `Command { std: "docker" "start" "-a" "9597d5c5141e9716514bbbee255e88ea69f209252e43a0579c7d3ae8792ad944", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9597d5c5141e9716514bbbee255e88ea69f209252e43a0579c7d3ae8792ad944", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9597d5c5141e9716514bbbee255e88ea69f209252e43a0579c7d3ae8792ad944", kill_on_drop: false }`
[INFO] [stdout] 9597d5c5141e9716514bbbee255e88ea69f209252e43a0579c7d3ae8792ad944
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 07e73e363688e7abb3804b0b4fa4e13a6dc53158f15e0288032d7bb31113668f
[INFO] running `Command { std: "docker" "start" "-a" "07e73e363688e7abb3804b0b4fa4e13a6dc53158f15e0288032d7bb31113668f", kill_on_drop: false }`
[INFO] [stderr]     Checking tests v0.1.0 (/opt/rustwide/workdir)
[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] [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] [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] 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] 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] error[E0560]: struct `Rectangle` has no field named `width`
[INFO] [stdout]  --> tests/ex5_rectangle_area.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let rect = Rectangle { width: 10, height: 5 };
[INFO] [stdout]   |                            ^^^^^ `Rectangle` does not have this field
[INFO] [stdout]   |
[INFO] [stdout]   = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Rectangle` has no field named `height`
[INFO] [stdout]  --> tests/ex5_rectangle_area.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let rect = Rectangle { width: 10, height: 5 };
[INFO] [stdout]   |                                       ^^^^^^ `Rectangle` does not have this field
[INFO] [stdout]   |
[INFO] [stdout]   = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> tests/ex6_sum_vector.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn sum_vector(v: Vec<i32>) -> i32 {
[INFO] [stdout]   |                   ^ help: if this is intentional, prefix it with an underscore: `_v`
[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] For more information about this error, try `rustc --explain E0560`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> tests/ex2_add_one.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 |     assert_eq!(add_one(), 6);
[INFO] [stdout]   |                           ^ expected `()`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tests` (test "ex5_rectangle_area") due to 2 previous errors
[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] For more information about this error, try `rustc --explain E0308`.
[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] [stderr] error: could not compile `tests` (test "ex2_add_one") due to 1 previous error
[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" "07e73e363688e7abb3804b0b4fa4e13a6dc53158f15e0288032d7bb31113668f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07e73e363688e7abb3804b0b4fa4e13a6dc53158f15e0288032d7bb31113668f", kill_on_drop: false }`
[INFO] [stdout] 07e73e363688e7abb3804b0b4fa4e13a6dc53158f15e0288032d7bb31113668f
