[INFO] cloning repository https://github.com/theatlasroom/rust-learning [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theatlasroom/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7d4a390a3ace3085dbcc821e2fb7899f7a668a1c [INFO] checking theatlasroom/rust-learning against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theatlasroom/rust-learning on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/theatlasroom/rust-learning [INFO] finished tweaking git repo https://github.com/theatlasroom/rust-learning [INFO] tweaked toml for git repo https://github.com/theatlasroom/rust-learning written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/theatlasroom/rust-learning already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf6db707be6752f65c10075374274b3c012a3d08186384f88d6ea2f0a4ef8dce [INFO] running `"docker" "start" "-a" "bf6db707be6752f65c10075374274b3c012a3d08186384f88d6ea2f0a4ef8dce"` [INFO] [stderr] Checking learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0530]: match bindings cannot shadow tuple variants [INFO] [stderr] --> src/bin/file_io.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stderr] | ^^^ cannot be named the same as a tuple variant [INFO] [stderr] [INFO] [stderr] error[E0530]: match bindings cannot shadow tuple variants [INFO] [stderr] --> src/bin/file_io.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stderr] | ^^^ cannot be named the same as a tuple variant [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `handle` in this scope [INFO] [stderr] --> src/bin/file_io.rs:28:40 [INFO] [stderr] | [INFO] [stderr] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `handle` in this scope [INFO] [stderr] --> src/bin/file_io.rs:28:40 [INFO] [stderr] | [INFO] [stderr] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/file_io.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 26 | let mut handle = match fs::File::open(f){ [INFO] [stderr] | ----------------- this expression has type `std::result::Result` [INFO] [stderr] 27 | Some(handle) => println!("File\n{:?}", handle), [INFO] [stderr] | ^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result` [INFO] [stderr] found enum `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0530. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `learning`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/file_io.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 26 | let mut handle = match fs::File::open(f){ [INFO] [stderr] | ----------------- this expression has type `std::result::Result` [INFO] [stderr] 27 | Some(handle) => println!("File\n{:?}", handle), [INFO] [stderr] | ^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result` [INFO] [stderr] found enum `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0530. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `learning`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: value assigned to `dice_roll` is never read [INFO] [stderr] --> src/bin/dice_roll.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let mut dice_roll = 0; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "bf6db707be6752f65c10075374274b3c012a3d08186384f88d6ea2f0a4ef8dce"` [INFO] running `"docker" "rm" "-f" "bf6db707be6752f65c10075374274b3c012a3d08186384f88d6ea2f0a4ef8dce"` [INFO] [stdout] bf6db707be6752f65c10075374274b3c012a3d08186384f88d6ea2f0a4ef8dce