[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] checking uniiquecornnx/the-rust-book/2e0eb3eb5aa8817a835aa801781370f95cb36526 against master#40557f6225e337d68c8d4f086557ce54135f5dd9 for pr-158447
[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 40557f6225e337d68c8d4f086557ce54135f5dd9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "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" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f8a063a96cda46d2ac6e25fd4c3200ed6a45096ceb9423f0cd326c4a89a9fecb
[INFO] running `Command { std: "docker" "start" "f8a063a96cda46d2ac6e25fd4c3200ed6a45096ceb9423f0cd326c4a89a9fecb", 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" "f8a063a96cda46d2ac6e25fd4c3200ed6a45096ceb9423f0cd326c4a89a9fecb" "/opt/rustwide/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8a063a96cda46d2ac6e25fd4c3200ed6a45096ceb9423f0cd326c4a89a9fecb", 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" "f8a063a96cda46d2ac6e25fd4c3200ed6a45096ceb9423f0cd326c4a89a9fecb" "/opt/rustwide/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking 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[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] 
[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] 
[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] 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] [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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game" test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "f8a063a96cda46d2ac6e25fd4c3200ed6a45096ceb9423f0cd326c4a89a9fecb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8a063a96cda46d2ac6e25fd4c3200ed6a45096ceb9423f0cd326c4a89a9fecb", kill_on_drop: false }`
[INFO] [stdout] f8a063a96cda46d2ac6e25fd4c3200ed6a45096ceb9423f0cd326c4a89a9fecb
