[INFO] crate redlock-rs 0.2.1 is already in cache
[INFO] testing redlock-rs-0.2.1 against beta-2019-12-18 for beta-1.41-1
[INFO] extracting crate redlock-rs 0.2.1 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate redlock-rs 0.2.1 on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate redlock-rs 0.2.1
[INFO] finished tweaking crates.io crate redlock-rs 0.2.1
[INFO] tweaked toml for crates.io crate redlock-rs 0.2.1 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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-2019-12-18" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2c8869329d27a417e6626c46d24ab31627d8ff850c8a8476584eb3f37628e79d
[INFO] running `"docker" "start" "-a" "2c8869329d27a417e6626c46d24ab31627d8ff850c8a8476584eb3f37628e79d"`
[INFO] [stderr]    Compiling smallvec v1.1.0
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.11
[INFO] [stderr]    Compiling unicode-normalization v0.1.11
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling url v2.1.0
[INFO] [stderr]    Compiling redis v0.13.0
[INFO] [stderr]    Compiling redlock-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stderr]  --> src/redlock.rs:9:27
[INFO] [stderr]   |
[INFO] [stderr] 9 | 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 `get_time` in crate `time`
[INFO] [stderr]   --> src/redlock.rs:99:26
[INFO] [stderr]    |
[INFO] [stderr] 99 |         let time = time::get_time();
[INFO] [stderr]    |                          ^^^^^^^^ not found in `time`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep`
[INFO] [stderr]  --> src/redlock.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::thread::sleep_ms;
[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/redlock.rs:142:13
[INFO] [stderr]     |
[INFO] [stderr] 142 |             sleep_ms(n);
[INFO] [stderr]     |             ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/redlock.rs:89:119
[INFO] [stderr]    |
[INFO] [stderr] 89 |         let result : RedisResult<Value> = redis::cmd("SET").arg(resource).arg(val).arg("nx").arg("px").arg(ttl).query(&con);
[INFO] [stderr]    |                                                                                                                       ^^^^ types differ in mutability
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected mutable reference `&mut dyn redis::ConnectionLike`
[INFO] [stderr]                       found reference `&redis::Connection`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/redlock.rs:153:78
[INFO] [stderr]     |
[INFO] [stderr] 153 |         let result : RedisResult<i32> = script.key(resource).arg(val).invoke(&con);
[INFO] [stderr]     |                                                                              ^^^^ types differ in mutability
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected mutable reference `&mut dyn redis::ConnectionLike`
[INFO] [stderr]                        found reference `&redis::Connection`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `redlock-rs`.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "2c8869329d27a417e6626c46d24ab31627d8ff850c8a8476584eb3f37628e79d"`
[INFO] running `"docker" "rm" "-f" "2c8869329d27a417e6626c46d24ab31627d8ff850c8a8476584eb3f37628e79d"`
[INFO] [stdout] 2c8869329d27a417e6626c46d24ab31627d8ff850c8a8476584eb3f37628e79d
