[INFO] updating cached repository https://github.com/PankajChaudhary5/Rust_Practice [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] 66a50274d1bb74d9ceb994c0748264221e4b928a [INFO] checking PankajChaudhary5/Rust_Practice against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPankajChaudhary5%2FRust_Practice" "/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/PankajChaudhary5/Rust_Practice 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/PankajChaudhary5/Rust_Practice [INFO] finished tweaking git repo https://github.com/PankajChaudhary5/Rust_Practice [INFO] tweaked toml for git repo https://github.com/PankajChaudhary5/Rust_Practice written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/PankajChaudhary5/Rust_Practice 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] cc63fd91e6cca479ab567075e349da6fed19ca80ba89f9d7148020bbbd53e868 [INFO] running `"docker" "start" "-a" "cc63fd91e6cca479ab567075e349da6fed19ca80ba89f9d7148020bbbd53e868"` [INFO] [stderr] Checking Rust_Intel v0.1.0 (/opt/rustwide/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 (notice the capitalization): `Information` [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 (notice the capitalization): `Information` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 3 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors; 3 warnings emitted [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" "cc63fd91e6cca479ab567075e349da6fed19ca80ba89f9d7148020bbbd53e868"` [INFO] running `"docker" "rm" "-f" "cc63fd91e6cca479ab567075e349da6fed19ca80ba89f9d7148020bbbd53e868"` [INFO] [stdout] cc63fd91e6cca479ab567075e349da6fed19ca80ba89f9d7148020bbbd53e868