[INFO] updating cached repository theatlasroom/rust-learning [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/theatlasroom/rust-learning [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/theatlasroom/rust-learning" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/theatlasroom/rust-learning"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/theatlasroom/rust-learning'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/theatlasroom/rust-learning" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/theatlasroom/rust-learning"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/theatlasroom/rust-learning'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7d4a390a3ace3085dbcc821e2fb7899f7a668a1c [INFO] sha for GitHub repo theatlasroom/rust-learning: 7d4a390a3ace3085dbcc821e2fb7899f7a668a1c [INFO] validating manifest of theatlasroom/rust-learning on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of theatlasroom/rust-learning on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing theatlasroom/rust-learning [INFO] finished frobbing theatlasroom/rust-learning [INFO] frobbed toml for theatlasroom/rust-learning written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/theatlasroom/rust-learning/Cargo.toml [INFO] started frobbing theatlasroom/rust-learning [INFO] finished frobbing theatlasroom/rust-learning [INFO] frobbed toml for theatlasroom/rust-learning written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/theatlasroom/rust-learning/Cargo.toml [INFO] crate theatlasroom/rust-learning already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking theatlasroom/rust-learning against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-1/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/theatlasroom/rust-learning:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e2c246425c9142d59aee704d6f53416679fe275c32c62f941de579b0355feed9 [INFO] running `"docker" "start" "-a" "e2c246425c9142d59aee704d6f53416679fe275c32c62f941de579b0355feed9"` [INFO] [stderr] Checking learning v0.1.0 (/opt/crater/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 type `std::result::Result` [INFO] [stderr] found type `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `text_in_input` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `src/bin/text_in_input.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `learning`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] warning: method is never used: `divide` [INFO] [stderr] --> src/bin/matrix_math.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | fn divide(&self, scalar: f64) -> Matrix2d { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `multiply` [INFO] [stderr] --> src/bin/matrix_math.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | fn multiply(&self, scalar: f64) -> Matrix2d { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `scalar_multiply` [INFO] [stderr] --> src/bin/matrix_math.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | fn scalar_multiply(&self) -> f64 { unimplemented!() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `determinant` [INFO] [stderr] --> src/bin/matrix_math.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | fn determinant(&self) -> f64 { unimplemented!() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 type `std::result::Result` [INFO] [stderr] found type `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" "e2c246425c9142d59aee704d6f53416679fe275c32c62f941de579b0355feed9"` [INFO] running `"docker" "rm" "-f" "e2c246425c9142d59aee704d6f53416679fe275c32c62f941de579b0355feed9"` [INFO] [stdout] e2c246425c9142d59aee704d6f53416679fe275c32c62f941de579b0355feed9