[INFO] updating cached repository https://github.com/guswns0528/matrix-rs
[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] 76f338500a7834f5192d8f0bebfa0c003af59a06
[INFO] checking guswns0528/matrix-rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguswns0528%2Fmatrix-rs" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/guswns0528/matrix-rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/guswns0528/matrix-rs
[INFO] finished tweaking git repo https://github.com/guswns0528/matrix-rs
[INFO] tweaked toml for git repo https://github.com/guswns0528/matrix-rs written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/guswns0528/matrix-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/jeaye/ncurses-rs.git`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 89441632f1b96c0c420a02a046fc51e908253087d8ce606b9c5e0987da6b2912
[INFO] running `"docker" "start" "-a" "89441632f1b96c0c420a02a046fc51e908253087d8ce606b9c5e0987da6b2912"`
[INFO] [stderr]    Compiling ncurses v5.99.0 (https://github.com/jeaye/ncurses-rs.git#80894126)
[INFO] [stderr]     Checking matrix v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `rand::sample`
[INFO] [stderr]  --> src/matrix.rs:6:32
[INFO] [stderr]   |
[INFO] [stderr] 6 | use rand::{random, thread_rng, sample};
[INFO] [stderr]   |                                ^^^^^^ no `sample` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `funcs` in `libc`
[INFO] [stderr]  --> src/matrix.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 | use self::libc::funcs::posix88::unistd::usleep;
[INFO] [stderr]   |                 ^^^^^ could not find `funcs` in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stderr]  --> src/matrix.rs:7:27
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rand::distributions::{IndependentSample, Range};
[INFO] [stderr]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stderr]   |                           |
[INFO] [stderr]   |                           no `IndependentSample` in `distributions`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `usleep` in this scope
[INFO] [stderr]   --> src/matrix.rs:63:17
[INFO] [stderr]    |
[INFO] [stderr] 63 |                 usleep((1000000.0 / REFRESH_RATE as f64) as u32);
[INFO] [stderr]    |                 ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use matrix::libc::usleep;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `random`
[INFO] [stderr]  --> src/matrix.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | use rand::{random, thread_rng, sample};
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rand::sample`
[INFO] [stderr]  --> src/matrix.rs:6:32
[INFO] [stderr]   |
[INFO] [stderr] 6 | use rand::{random, thread_rng, sample};
[INFO] [stderr]   |                                ^^^^^^ no `sample` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]  --> src/matrix.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | extern crate libc;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `funcs` in `libc`
[INFO] [stderr]  --> src/matrix.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 | use self::libc::funcs::posix88::unistd::usleep;
[INFO] [stderr]   |                 ^^^^^ could not find `funcs` in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stderr]  --> src/matrix.rs:7:27
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rand::distributions::{IndependentSample, Range};
[INFO] [stderr]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stderr]   |                           |
[INFO] [stderr]   |                           no `IndependentSample` in `distributions`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `usleep` in this scope
[INFO] [stderr]   --> src/matrix.rs:63:17
[INFO] [stderr]    |
[INFO] [stderr] 63 |                 usleep((1000000.0 / REFRESH_RATE as f64) as u32);
[INFO] [stderr]    |                 ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use matrix::libc::usleep;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `random`
[INFO] [stderr]  --> src/matrix.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | use rand::{random, thread_rng, sample};
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]  --> src/matrix.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | extern crate libc;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `matrix`.
[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] Some errors have detailed explanations: E0425, E0432, E0433, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `matrix`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "89441632f1b96c0c420a02a046fc51e908253087d8ce606b9c5e0987da6b2912"`
[INFO] running `"docker" "rm" "-f" "89441632f1b96c0c420a02a046fc51e908253087d8ce606b9c5e0987da6b2912"`
[INFO] [stdout] 89441632f1b96c0c420a02a046fc51e908253087d8ce606b9c5e0987da6b2912
