[INFO] cloning repository PankajChaudhary5/Rust_Practice [INFO] running `"git" "clone" "--bare" "git://github.com/PankajChaudhary5/Rust_Practice.git" "work/cache/sources/gh/PankajChaudhary5/Rust_Practice"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/PankajChaudhary5/Rust_Practice'... [INFO] running `"git" "clone" "work/cache/sources/gh/PankajChaudhary5/Rust_Practice" "work/ex/beta-1.37-6/sources/1.36.0/gh/PankajChaudhary5/Rust_Practice"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/PankajChaudhary5/Rust_Practice'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/PankajChaudhary5/Rust_Practice" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/PankajChaudhary5/Rust_Practice"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of PankajChaudhary5/Rust_Practice on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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/beta-1.37-6/sources/1.36.0/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/beta-1.37-6/sources/beta-2019-07-23/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" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing PankajChaudhary5/Rust_Practice against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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=warn" "-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" "+1.36.0" "build" "--frozen"` [INFO] [stdout] d6886b60e91883d87548fc0f6f53b124b917b349108dd62be76569a2451ff9ed [INFO] running `"docker" "start" "-a" "d6886b60e91883d87548fc0f6f53b124b917b349108dd62be76569a2451ff9ed"` [INFO] [stderr] Compiling 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] 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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d6886b60e91883d87548fc0f6f53b124b917b349108dd62be76569a2451ff9ed"` [INFO] running `"docker" "rm" "-f" "d6886b60e91883d87548fc0f6f53b124b917b349108dd62be76569a2451ff9ed"` [INFO] [stdout] d6886b60e91883d87548fc0f6f53b124b917b349108dd62be76569a2451ff9ed