[INFO] cloning repository https://github.com/PankajChaudhary5/Rust_Practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PankajChaudhary5/Rust_Practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPankajChaudhary5%2FRust_Practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPankajChaudhary5%2FRust_Practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66a50274d1bb74d9ceb994c0748264221e4b928a [INFO] checking PankajChaudhary5/Rust_Practice against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPankajChaudhary5%2FRust_Practice" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PankajChaudhary5/Rust_Practice on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/PankajChaudhary5/Rust_Practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c4e866862c216ca349db52c8ea5e9687ee62af980573073b9768ecb547cefcd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0c4e866862c216ca349db52c8ea5e9687ee62af980573073b9768ecb547cefcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c4e866862c216ca349db52c8ea5e9687ee62af980573073b9768ecb547cefcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4e866862c216ca349db52c8ea5e9687ee62af980573073b9768ecb547cefcd", kill_on_drop: false }` [INFO] [stdout] 0c4e866862c216ca349db52c8ea5e9687ee62af980573073b9768ecb547cefcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f28f6fa52c0f6f4db9efd21b5291ecbb4706a6d7b0542540e634254917a0ea6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2f28f6fa52c0f6f4db9efd21b5291ecbb4706a6d7b0542540e634254917a0ea6", kill_on_drop: false }` [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking Rust_Intel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/guessgame.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/guessgame.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let secret_number = rand::thread_rng().gen_range(1, 101); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `moodule` should have an upper camel case name [INFO] [stdout] --> src/structure.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | struct moodule{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Moodule` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/structure.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | let p= (module_del(moodule1.employee_eff as i32, moodule1.employee_working_day as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/guessgame.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `information` should have an upper camel case name [INFO] [stdout] --> src/enum2.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum information { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Information` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/guessgame.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let secret_number = rand::thread_rng().gen_range(1, 101); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `moodule` should have an upper camel case name [INFO] [stdout] --> src/structure.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | struct moodule{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Moodule` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/structure.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | let p= (module_del(moodule1.employee_eff as i32, moodule1.employee_working_day as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `information` should have an upper camel case name [INFO] [stdout] --> src/enum2.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum information { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Information` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2f28f6fa52c0f6f4db9efd21b5291ecbb4706a6d7b0542540e634254917a0ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f28f6fa52c0f6f4db9efd21b5291ecbb4706a6d7b0542540e634254917a0ea6", kill_on_drop: false }` [INFO] [stdout] 2f28f6fa52c0f6f4db9efd21b5291ecbb4706a6d7b0542540e634254917a0ea6