[INFO] updating cached repository https://github.com/theatlasroom/rust-learning [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7d4a390a3ace3085dbcc821e2fb7899f7a668a1c [INFO] checking theatlasroom/rust-learning against master#2da942f32802c8233a09744024dfbc34431adf65 for pr-66963 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theatlasroom/rust-learning on toolchain 2da942f32802c8233a09744024dfbc34431adf65 [INFO] running `"/workspace/cargo-home/bin/cargo" "+2da942f32802c8233a09744024dfbc34431adf65" "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-6/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" "+2da942f32802c8233a09744024dfbc34431adf65" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+2da942f32802c8233a09744024dfbc34431adf65" "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] a97185b469e7f1dff0a391de5de973ec06d3f559e4feeec61ef51a1cef8d23b5 [INFO] running `"docker" "start" "-a" "a97185b469e7f1dff0a391de5de973ec06d3f559e4feeec61ef51a1cef8d23b5"` [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[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 match 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] warning: build failed, waiting for other jobs to finish... [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[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 match 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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "a97185b469e7f1dff0a391de5de973ec06d3f559e4feeec61ef51a1cef8d23b5"` [INFO] running `"docker" "rm" "-f" "a97185b469e7f1dff0a391de5de973ec06d3f559e4feeec61ef51a1cef8d23b5"` [INFO] [stdout] a97185b469e7f1dff0a391de5de973ec06d3f559e4feeec61ef51a1cef8d23b5