[INFO] updating cached repository PankajChaudhary5/Rust_Practice [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/PankajChaudhary5/Rust_Practice [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/PankajChaudhary5/Rust_Practice" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/PankajChaudhary5/Rust_Practice"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/PankajChaudhary5/Rust_Practice'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/PankajChaudhary5/Rust_Practice" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/PankajChaudhary5/Rust_Practice"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/PankajChaudhary5/Rust_Practice'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 66a50274d1bb74d9ceb994c0748264221e4b928a [INFO] sha for GitHub repo PankajChaudhary5/Rust_Practice: 66a50274d1bb74d9ceb994c0748264221e4b928a [INFO] validating manifest of PankajChaudhary5/Rust_Practice 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 PankajChaudhary5/Rust_Practice 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 PankajChaudhary5/Rust_Practice [INFO] finished frobbing PankajChaudhary5/Rust_Practice [INFO] frobbed toml for PankajChaudhary5/Rust_Practice written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/PankajChaudhary5/Rust_Practice/Cargo.toml [INFO] started frobbing PankajChaudhary5/Rust_Practice [INFO] finished frobbing PankajChaudhary5/Rust_Practice [INFO] frobbed toml for PankajChaudhary5/Rust_Practice written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/PankajChaudhary5/Rust_Practice/Cargo.toml [INFO] crate PankajChaudhary5/Rust_Practice 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 PankajChaudhary5/Rust_Practice against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-1/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/PankajChaudhary5/Rust_Practice:/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7d0fa2a2e38eefcb87cb67beb9b1c7db6111768ceea3169bb5fdcb6025967690 [INFO] running `"docker" "start" "-a" "7d0fa2a2e38eefcb87cb67beb9b1c7db6111768ceea3169bb5fdcb6025967690"` [INFO] [stderr] Checking Rust_Intel v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `rand` [INFO] [stderr] --> src/guessgame.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::Rng; [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stderr] --> src/guessgame.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | let secret_number = rand::thread_rng().gen_range(1, 101); [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rand` [INFO] [stderr] --> src/guessgame.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::Rng; [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stderr] --> src/guessgame.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | let secret_number = rand::thread_rng().gen_range(1, 101); [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] warning: type `moodule` should have an upper camel case name [INFO] [stderr] --> src/structure.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | struct moodule{ [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `Moodule` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/structure.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | let p= (module_del(moodule1.employee_eff as i32, moodule1.employee_working_day as i32)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `information` should have an upper camel case name [INFO] [stderr] --> src/enum2.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | enum information { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Information` [INFO] [stderr] [INFO] [stderr] warning: type `moodule` should have an upper camel case name [INFO] [stderr] --> src/structure.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | struct moodule{ [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `Moodule` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/structure.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | let p= (module_del(moodule1.employee_eff as i32, moodule1.employee_working_day as i32)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `information` should have an upper camel case name [INFO] [stderr] --> src/enum2.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | enum information { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Information` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `Rust_Intel`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `Rust_Intel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7d0fa2a2e38eefcb87cb67beb9b1c7db6111768ceea3169bb5fdcb6025967690"` [INFO] running `"docker" "rm" "-f" "7d0fa2a2e38eefcb87cb67beb9b1c7db6111768ceea3169bb5fdcb6025967690"` [INFO] [stdout] 7d0fa2a2e38eefcb87cb67beb9b1c7db6111768ceea3169bb5fdcb6025967690