[INFO] updating cached repository https://github.com/Hokutosei/learn_rustlang
[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] eba99a8585999f1652270066e9c40a0946daef34
[INFO] checking Hokutosei/learn_rustlang against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHokutosei%2Flearn_rustlang" "/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/Hokutosei/learn_rustlang on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/Hokutosei/learn_rustlang
[INFO] finished tweaking git repo https://github.com/Hokutosei/learn_rustlang
[INFO] tweaked toml for git repo https://github.com/Hokutosei/learn_rustlang written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/Hokutosei/learn_rustlang already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 7f3cc018c715e7e093c785baf05aa162d5613c5cec16127362aa0174b22bde93
[INFO] running `"docker" "start" "-a" "7f3cc018c715e7e093c785baf05aa162d5613c5cec16127362aa0174b22bde93"`
[INFO] [stderr]     Checking learn101 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::rand;
[INFO] [stderr]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep`
[INFO] [stderr]   --> src/main.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |         thread::sleep_ms(delay);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep`
[INFO] [stderr]   --> src/main.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 |             thread::sleep_ms(x);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::rand;
[INFO] [stderr]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep`
[INFO] [stderr]   --> src/main.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |         thread::sleep_ms(delay);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:22:26
[INFO] [stderr]    |
[INFO] [stderr] 22 |             let x: u32 = randTime();
[INFO] [stderr]    |                    ---   ^^^^^^^^^^ expected `u32`, found `i32`
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    expected due to this
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `u32` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 22 |             let x: u32 = randTime().try_into().unwrap();
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `learn101`.
[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] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep`
[INFO] [stderr]   --> src/main.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 |             thread::sleep_ms(x);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:22:26
[INFO] [stderr]    |
[INFO] [stderr] 22 |             let x: u32 = randTime();
[INFO] [stderr]    |                    ---   ^^^^^^^^^^ expected `u32`, found `i32`
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    expected due to this
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `u32` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 22 |             let x: u32 = randTime().try_into().unwrap();
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `learn101`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "7f3cc018c715e7e093c785baf05aa162d5613c5cec16127362aa0174b22bde93"`
[INFO] running `"docker" "rm" "-f" "7f3cc018c715e7e093c785baf05aa162d5613c5cec16127362aa0174b22bde93"`
[INFO] [stdout] 7f3cc018c715e7e093c785baf05aa162d5613c5cec16127362aa0174b22bde93
