[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] testing guswns0528/matrix-rs against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguswns0528%2Fmatrix-rs" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guswns0528/matrix-rs on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-10/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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" "+beta-2020-06-03" "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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 0de2c33f42058c9de75c0556222605e57bed90a2ac5225d3475f2440dfd4fcc5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "0de2c33f42058c9de75c0556222605e57bed90a2ac5225d3475f2440dfd4fcc5"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling ncurses v5.99.0 (https://github.com/jeaye/ncurses-rs.git#80894126) [INFO] [stderr] Compiling 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: consider importing this function [INFO] [stderr] | [INFO] [stderr] 5 | use matrix::libc::usleep; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(core)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(libc)] [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] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/matrix.rs:106:62 [INFO] [stderr] | [INFO] [stderr] 106 | mvaddch((y - trail_length) as i32, x as i32, BLANK_CHAR as u8 as u64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 106 | mvaddch((y - trail_length) as i32, x as i32, (BLANK_CHAR as u8 as u64).try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0554, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `matrix`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0de2c33f42058c9de75c0556222605e57bed90a2ac5225d3475f2440dfd4fcc5"` [INFO] running `"docker" "rm" "-f" "0de2c33f42058c9de75c0556222605e57bed90a2ac5225d3475f2440dfd4fcc5"` [INFO] [stdout] 0de2c33f42058c9de75c0556222605e57bed90a2ac5225d3475f2440dfd4fcc5