[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] documenting PankajChaudhary5/Rust_Practice against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPankajChaudhary5%2FRust_Practice" "/workspace/builds/worker-31/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-31/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PankajChaudhary5/Rust_Practice on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "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-31/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" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_io v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fd62083c358c231971a23cffaceb1c9f6cb87e6ce9009882f0079aa66d2c36c [INFO] running `Command { std: "docker" "start" "-a" "1fd62083c358c231971a23cffaceb1c9f6cb87e6ce9009882f0079aa66d2c36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fd62083c358c231971a23cffaceb1c9f6cb87e6ce9009882f0079aa66d2c36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd62083c358c231971a23cffaceb1c9f6cb87e6ce9009882f0079aa66d2c36c", kill_on_drop: false }` [INFO] [stdout] 1fd62083c358c231971a23cffaceb1c9f6cb87e6ce9009882f0079aa66d2c36c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5ae76273d37a178552a4d094d6c04cd031ecc190325d74394c4a8102e6582b3 [INFO] running `Command { std: "docker" "start" "-a" "a5ae76273d37a178552a4d094d6c04cd031ecc190325d74394c4a8102e6582b3", kill_on_drop: false }` [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Documenting 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] 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - let p= (module_del(moodule1.employee_eff as i32, moodule1.employee_working_day as i32)); [INFO] [stdout] 42 + let p= module_del(moodule1.employee_eff as i32, moodule1.employee_working_day as i32); [INFO] [stdout] | [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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not document `Rust_Intel` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name Rust_Intel src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=9a71847b3bc11923 -L dependency=/opt/rustwide/target/debug/deps --extern text_io=/opt/rustwide/target/debug/deps/libtext_io-8d94e17c4b32a2da.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "a5ae76273d37a178552a4d094d6c04cd031ecc190325d74394c4a8102e6582b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ae76273d37a178552a4d094d6c04cd031ecc190325d74394c4a8102e6582b3", kill_on_drop: false }` [INFO] [stdout] a5ae76273d37a178552a4d094d6c04cd031ecc190325d74394c4a8102e6582b3