[INFO] cloning repository https://github.com/uniiquecornnx/the-rust-book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uniiquecornnx/the-rust-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funiiquecornnx%2Fthe-rust-book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funiiquecornnx%2Fthe-rust-book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e0eb3eb5aa8817a835aa801781370f95cb36526 [INFO] testing uniiquecornnx/the-rust-book against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funiiquecornnx%2Fthe-rust-book" "/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/uniiquecornnx/the-rust-book [INFO] finished tweaking git repo https://github.com/uniiquecornnx/the-rust-book [INFO] tweaked toml for git repo https://github.com/uniiquecornnx/the-rust-book written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/uniiquecornnx/the-rust-book on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/uniiquecornnx/the-rust-book 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69eb6a8b879f4f6f4135b3fce93d8241c41771d3c2c23c1bc5f0f47bde01f483 [INFO] running `Command { std: "docker" "start" "-a" "69eb6a8b879f4f6f4135b3fce93d8241c41771d3c2c23c1bc5f0f47bde01f483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69eb6a8b879f4f6f4135b3fce93d8241c41771d3c2c23c1bc5f0f47bde01f483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69eb6a8b879f4f6f4135b3fce93d8241c41771d3c2c23c1bc5f0f47bde01f483", kill_on_drop: false }` [INFO] [stdout] 69eb6a8b879f4f6f4135b3fce93d8241c41771d3c2c23c1bc5f0f47bde01f483 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e7f149266142d75821fd25218ace23e16269fe73bd4d7e4263319a6253afc2d [INFO] running `Command { std: "docker" "start" "-a" "4e7f149266142d75821fd25218ace23e16269fe73bd4d7e4263319a6253afc2d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling guessing_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | sayHello(name); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | makeAllCaps(name); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | if age>=21{ [INFO] [stdout] | ^^ expected `Result<_, _>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, _>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in a variant of `Result` [INFO] [stdout] | [INFO] [stdout] 22 | if age>=Ok(21){ [INFO] [stdout] | +++ + [INFO] [stdout] 22 | if age>=Err(21){ [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | println!("{i} you are an adult"); [INFO] [stdout] | ^^^ `()` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [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] error[E0384]: cannot assign to immutable argument `n` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | n= n.to_uppercase(); [INFO] [stdout] | ^ cannot assign to immutable argument [INFO] [stdout] | [INFO] [stdout] help: consider making this binding mutable [INFO] [stdout] | [INFO] [stdout] 38 | fn makeAllCaps(mut n: String){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0384, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "4e7f149266142d75821fd25218ace23e16269fe73bd4d7e4263319a6253afc2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7f149266142d75821fd25218ace23e16269fe73bd4d7e4263319a6253afc2d", kill_on_drop: false }` [INFO] [stdout] 4e7f149266142d75821fd25218ace23e16269fe73bd4d7e4263319a6253afc2d