[INFO] cloning repository https://github.com/Hood-Codivo/rust-book-course
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hood-Codivo/rust-book-course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHood-Codivo%2Frust-book-course", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHood-Codivo%2Frust-book-course'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7773fc9b90f597a3248e4419289fceebbc171f30
[INFO] checking Hood-Codivo/rust-book-course against 5b237c915528dadada3f674b90c7c80368b632be for pr-133502-29
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHood-Codivo%2Frust-book-course" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Hood-Codivo/rust-book-course
[INFO] finished tweaking git repo https://github.com/Hood-Codivo/rust-book-course
[INFO] tweaked toml for git repo https://github.com/Hood-Codivo/rust-book-course written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Hood-Codivo/rust-book-course on toolchain 5b237c915528dadada3f674b90c7c80368b632be
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Hood-Codivo/rust-book-course 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" "+5b237c915528dadada3f674b90c7c80368b632be" "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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c1c8fc45d9cf6aeb709e103cd61850f4f51151d056b9d4624048eefa4ea24b70
[INFO] running `Command { std: "docker" "start" "c1c8fc45d9cf6aeb709e103cd61850f4f51151d056b9d4624048eefa4ea24b70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1c8fc45d9cf6aeb709e103cd61850f4f51151d056b9d4624048eefa4ea24b70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c1c8fc45d9cf6aeb709e103cd61850f4f51151d056b9d4624048eefa4ea24b70" "/opt/rustwide/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1c8fc45d9cf6aeb709e103cd61850f4f51151d056b9d4624048eefa4ea24b70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c1c8fc45d9cf6aeb709e103cd61850f4f51151d056b9d4624048eefa4ea24b70" "/opt/rustwide/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking Rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `,`, `=`, or `}`, found `Write`
[INFO] [stdout]   --> src/bin/16_enums.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     Move { x: i32, y: i32 } // An anonymous struct
[INFO] [stdout]    |                            -
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            expected one of `,`, `=`, or `}`
[INFO] [stdout]    |                            help: missing `,`
[INFO] [stdout] 37 |     Write(String),          // A String
[INFO] [stdout]    |     ^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
[INFO] [stdout]   --> src/bin/16_enums.rs:46:49
[INFO] [stdout]    |
[INFO] [stdout] 46 |     println!("Animals: {:?} and {:?}", dog, cat),
[INFO] [stdout]    |                                                 ^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:`
[INFO] [stdout]   --> src/bin/10_borrowing_references.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 |     some_string.push_push_str(string: ", world");
[INFO] [stdout]    |                                     ^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "10_borrowing_references") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: borrow of moved value: `s3`
[INFO] [stdout]   --> src/bin/09_ownership.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let s3 = String::from("Rust");
[INFO] [stdout]    |         -- move occurs because `s3` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 32 |     calculate_length(s3); // s3 is moved into the function, s3 is no longer valid here
[INFO] [stdout]    |                      -- value moved here
[INFO] [stdout] 33 |     println!("s3: {}", s3); // s3 is invalid here
[INFO] [stdout]    |                        ^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `calculate_length` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/09_ownership.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn calculate_length(s: String )-> usize {
[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] 32 |     calculate_length(s3.clone()); // s3 is moved into the function, s3 is no longer valid here
[INFO] [stdout]    |                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:`
[INFO] [stdout]   --> src/bin/10_borrowing_references.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 |     some_string.push_push_str(string: ", world");
[INFO] [stdout]    |                                     ^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `debug` in this scope
[INFO] [stdout]   --> src/bin/16_enums.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named derive macro `Debug` defined here
[INFO] [stdout]   --> /rustc/5b237c915528dadada3f674b90c7c80368b632be/library/core/src/fmt/mod.rs:1093:4
[INFO] [stdout] help: a derive macro with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 15 - #[derive(debug)]
[INFO] [stdout] 15 + #[derive(Debug)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "09_ownership") due to 1 previous error
[INFO] [stdout] error: expected one of `,`, `=`, or `}`, found `Write`
[INFO] [stdout]   --> src/bin/16_enums.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     Move { x: i32, y: i32 } // An anonymous struct
[INFO] [stdout]    |                            -
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            expected one of `,`, `=`, or `}`
[INFO] [stdout]    |                            help: missing `,`
[INFO] [stdout] 37 |     Write(String),          // A String
[INFO] [stdout]    |     ^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
[INFO] [stdout]   --> src/bin/16_enums.rs:46:49
[INFO] [stdout]    |
[INFO] [stdout] 46 |     println!("Animals: {:?} and {:?}", dog, cat),
[INFO] [stdout]    |                                                 ^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "10_borrowing_references" test) due to 1 previous error
[INFO] [stdout] error[E0573]: expected type, found variant `IpAddrKind::V6`
[INFO] [stdout]   --> src/bin/16_enums.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let six: IpAddrKind::V6;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 45 -     let six: IpAddrKind::V6;
[INFO] [stdout] 45 +     let six: core::net::IpAddr;
[INFO] [stdout]    |
[INFO] [stdout] 45 -     let six: IpAddrKind::V6;
[INFO] [stdout] 45 +     let six: core::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 45 -     let six: IpAddrKind::V6;
[INFO] [stdout] 45 +     let six: crate::IpAddrKind;
[INFO] [stdout]    |
[INFO] [stdout] 45 -     let six: IpAddrKind::V6;
[INFO] [stdout] 45 +     let six: std::net::IpAddr;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `active` is never read
[INFO] [stdout]   --> src/bin/15_structs.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct User {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     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 E0573`.
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `s3`
[INFO] [stdout]   --> src/bin/09_ownership.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let s3 = String::from("Rust");
[INFO] [stdout]    |         -- move occurs because `s3` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 32 |     calculate_length(s3); // s3 is moved into the function, s3 is no longer valid here
[INFO] [stdout]    |                      -- value moved here
[INFO] [stdout] 33 |     println!("s3: {}", s3); // s3 is invalid here
[INFO] [stdout]    |                        ^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `calculate_length` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/09_ownership.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn calculate_length(s: String )-> usize {
[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] 32 |     calculate_length(s3.clone()); // s3 is moved into the function, s3 is no longer valid here
[INFO] [stdout]    |                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "09_ownership" test) due to 1 previous error
[INFO] [stderr] error: could not compile `Rust` (bin "16_enums") due to 4 previous errors
[INFO] [stdout] error: cannot find derive macro `debug` in this scope
[INFO] [stdout]   --> src/bin/16_enums.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named derive macro `Debug` defined here
[INFO] [stdout]   --> /rustc/5b237c915528dadada3f674b90c7c80368b632be/library/core/src/fmt/mod.rs:1093:4
[INFO] [stdout] help: a derive macro with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 15 - #[derive(debug)]
[INFO] [stdout] 15 + #[derive(Debug)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `IpAddrKind::V6`
[INFO] [stdout]   --> src/bin/16_enums.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let six: IpAddrKind::V6;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 45 -     let six: IpAddrKind::V6;
[INFO] [stdout] 45 +     let six: core::net::IpAddr;
[INFO] [stdout]    |
[INFO] [stdout] 45 -     let six: IpAddrKind::V6;
[INFO] [stdout] 45 +     let six: core::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 45 -     let six: IpAddrKind::V6;
[INFO] [stdout] 45 +     let six: crate::IpAddrKind;
[INFO] [stdout]    |
[INFO] [stdout] 45 -     let six: IpAddrKind::V6;
[INFO] [stdout] 45 +     let six: std::net::IpAddr;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0573`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "16_enums" test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "c1c8fc45d9cf6aeb709e103cd61850f4f51151d056b9d4624048eefa4ea24b70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1c8fc45d9cf6aeb709e103cd61850f4f51151d056b9d4624048eefa4ea24b70", kill_on_drop: false }`
[INFO] [stdout] c1c8fc45d9cf6aeb709e103cd61850f4f51151d056b9d4624048eefa4ea24b70
