[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 try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHood-Codivo%2Frust-book-course" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hood-Codivo/rust-book-course on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10afff19ea77c50cba6d1796eafef4c6dcff8eadb85a0a0319bcdad769acb1ce [INFO] running `Command { std: "docker" "start" "-a" "10afff19ea77c50cba6d1796eafef4c6dcff8eadb85a0a0319bcdad769acb1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10afff19ea77c50cba6d1796eafef4c6dcff8eadb85a0a0319bcdad769acb1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10afff19ea77c50cba6d1796eafef4c6dcff8eadb85a0a0319bcdad769acb1ce", kill_on_drop: false }` [INFO] [stdout] 10afff19ea77c50cba6d1796eafef4c6dcff8eadb85a0a0319bcdad769acb1ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec16978c190c31b080d166fa127472cbc8d84cce23dfca7a9e7fd43621d60598 [INFO] running `Command { std: "docker" "start" "-a" "ec16978c190c31b080d166fa127472cbc8d84cce23dfca7a9e7fd43621d60598", 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 `;`, found keyword `let` [INFO] [stdout] --> src/bin/20_collections_strings.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | println!("Empty string: '{}'", s) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 21 | let data: &str = "initial contents"; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:` [INFO] [stdout] --> src/bin/20_collections_strings.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | s.push_str(string: "bar"); // `push_str` apend a string slice (&str) [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing parameters for function definition [INFO] [stdout] --> src/bin/20_collections_strings.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | } fn main [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a parameter list [INFO] [stdout] | [INFO] [stdout] 50 | } fn main() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found `` [INFO] [stdout] --> src/bin/20_collections_strings.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | } fn main [INFO] [stdout] | ^^^^ expected one of `->`, `<`, `where`, or `{` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust` (bin "20_collections_strings") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/bin/20_collections_strings.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | println!("Empty string: '{}'", s) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 21 | let data: &str = "initial contents"; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:` [INFO] [stdout] --> src/bin/20_collections_strings.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | s.push_str(string: "bar"); // `push_str` apend a string slice (&str) [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing parameters for function definition [INFO] [stdout] --> src/bin/20_collections_strings.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | } fn main [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a parameter list [INFO] [stdout] | [INFO] [stdout] 50 | } fn main() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found `` [INFO] [stdout] --> src/bin/20_collections_strings.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | } fn main [INFO] [stdout] | ^^^^ expected one of `->`, `<`, `where`, or `{` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust` (bin "20_collections_strings" test) 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] --> /rustc/5ff93158e08fa2205cd4b86cddf9eae95952cc96/library/core/src/fmt/mod.rs:1092:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named derive macro `Debug` defined here [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") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ec16978c190c31b080d166fa127472cbc8d84cce23dfca7a9e7fd43621d60598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec16978c190c31b080d166fa127472cbc8d84cce23dfca7a9e7fd43621d60598", kill_on_drop: false }` [INFO] [stdout] ec16978c190c31b080d166fa127472cbc8d84cce23dfca7a9e7fd43621d60598