[INFO] cloning repository https://github.com/stickyburn/rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stickyburn/rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstickyburn%2Frusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstickyburn%2Frusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8160169c20cff1c4de8b39e0fcb94f0d13c2b3e6 [INFO] checking stickyburn/rusty against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstickyburn%2Frusty" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stickyburn/rusty on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stickyburn/rusty [INFO] finished tweaking git repo https://github.com/stickyburn/rusty [INFO] tweaked toml for git repo https://github.com/stickyburn/rusty written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stickyburn/rusty 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc5d12e25f9ba21402d9c52ac25929050b171aecdc33547b6be746faa57f4cae [INFO] running `Command { std: "docker" "start" "-a" "dc5d12e25f9ba21402d9c52ac25929050b171aecdc33547b6be746faa57f4cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc5d12e25f9ba21402d9c52ac25929050b171aecdc33547b6be746faa57f4cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5d12e25f9ba21402d9c52ac25929050b171aecdc33547b6be746faa57f4cae", kill_on_drop: false }` [INFO] [stdout] dc5d12e25f9ba21402d9c52ac25929050b171aecdc33547b6be746faa57f4cae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e2d829f61dd560db6465e9c291d81aced465c27b967bc2b45285c966699f9d [INFO] running `Command { std: "docker" "start" "-a" "a4e2d829f61dd560db6465e9c291d81aced465c27b967bc2b45285c966699f9d", kill_on_drop: false }` [INFO] [stderr] Checking rusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/bin/guessgame.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::thread_rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/bin/guessgame.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/bin/enumz.rs:18:74 [INFO] [stdout] | [INFO] [stdout] 18 | let cols = Colors::Rbg { r: "red", b: "bb", g: String::from("gree") } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 19 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty` (bin "guessgame" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/bin/enumz.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | Rbg { r: str, b: str, g: String }, [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: no field of an enum variant may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 4 | Rbg { r: &str, b: str, g: String }, [INFO] [stdout] | + [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 4 | Rbg { r: Box, b: str, g: String }, [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/enumz.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | let cols = Colors::Rbg { r: "red", b: "bb", g: String::from("gree") } [INFO] [stdout] | ^^^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/enumz.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | let cols = Colors::Rbg { r: "red", b: "bb", g: String::from("gree") } [INFO] [stdout] | ^^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty` (bin "enumz" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a4e2d829f61dd560db6465e9c291d81aced465c27b967bc2b45285c966699f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e2d829f61dd560db6465e9c291d81aced465c27b967bc2b45285c966699f9d", kill_on_drop: false }` [INFO] [stdout] a4e2d829f61dd560db6465e9c291d81aced465c27b967bc2b45285c966699f9d