[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#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguswns0528%2Fmatrix-rs" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guswns0528/matrix-rs on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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-13/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" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/jeaye/ncurses-rs.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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] cb191bd3ada53a16475970d276448be0cc3445438cefaee4133826fa0fd6ecb3 [INFO] running `"docker" "start" "-a" "cb191bd3ada53a16475970d276448be0cc3445438cefaee4133826fa0fd6ecb3"` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling ncurses v5.99.0 (https://github.com/jeaye/ncurses-rs.git#80894126) [INFO] [stderr] Checking rand v0.7.3 [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[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 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; 1 warning emitted [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] 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[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 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; 1 warning emitted [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] running `"docker" "inspect" "cb191bd3ada53a16475970d276448be0cc3445438cefaee4133826fa0fd6ecb3"` [INFO] running `"docker" "rm" "-f" "cb191bd3ada53a16475970d276448be0cc3445438cefaee4133826fa0fd6ecb3"` [INFO] [stdout] cb191bd3ada53a16475970d276448be0cc3445438cefaee4133826fa0fd6ecb3