[INFO] crate redlock-rs 0.2.1 is already in cache
[INFO] extracting crate redlock-rs 0.2.1 into work/ex/beta-1.37-6/sources/1.36.0/reg/redlock-rs/0.2.1
[INFO] extracting crate redlock-rs 0.2.1 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/redlock-rs/0.2.1
[INFO] validating manifest of redlock-rs-0.2.1 on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of redlock-rs-0.2.1 on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing redlock-rs-0.2.1
[INFO] finished frobbing redlock-rs-0.2.1
[INFO] frobbed toml for redlock-rs-0.2.1 written to work/ex/beta-1.37-6/sources/1.36.0/reg/redlock-rs/0.2.1/Cargo.toml
[INFO] started frobbing redlock-rs-0.2.1
[INFO] finished frobbing redlock-rs-0.2.1
[INFO] frobbed toml for redlock-rs-0.2.1 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/redlock-rs/0.2.1/Cargo.toml
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] testing redlock-rs-0.2.1 against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/redlock-rs/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"`
[INFO] [stdout] bdc5fd2b8c2fb6a57fbc885d8d2267509c7862f41e7f13c6f1d0b3f41e6388cf
[INFO] running `"docker" "start" "-a" "bdc5fd2b8c2fb6a57fbc885d8d2267509c7862f41e7f13c6f1d0b3f41e6388cf"`
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling ascii v0.9.2
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling redis v0.11.0
[INFO] [stderr]    Compiling redlock-rs v0.2.1 (/opt/crater/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] 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 type `&mut dyn redis::ConnectionLike`
[INFO] [stderr]               found type `&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 type `&mut dyn redis::ConnectionLike`
[INFO] [stderr]                found type `&redis::Connection`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 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 `redlock-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "bdc5fd2b8c2fb6a57fbc885d8d2267509c7862f41e7f13c6f1d0b3f41e6388cf"`
[INFO] running `"docker" "rm" "-f" "bdc5fd2b8c2fb6a57fbc885d8d2267509c7862f41e7f13c6f1d0b3f41e6388cf"`
[INFO] [stdout] bdc5fd2b8c2fb6a57fbc885d8d2267509c7862f41e7f13c6f1d0b3f41e6388cf
