[INFO] fetching crate redlock-rs 0.2.1...
[INFO] testing redlock-rs-0.2.1 against beta-2020-10-09 for beta-1.48-1
[INFO] extracting crate redlock-rs 0.2.1 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate redlock-rs 0.2.1 on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-global-executor v1.4.0
[INFO] [stderr]   Downloaded combine v4.3.2
[INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2597572dc719bced2c6da631f272bbec479a056186b71688b0fd1761f48c5175
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2597572dc719bced2c6da631f272bbec479a056186b71688b0fd1761f48c5175", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2597572dc719bced2c6da631f272bbec479a056186b71688b0fd1761f48c5175", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2597572dc719bced2c6da631f272bbec479a056186b71688b0fd1761f48c5175", kill_on_drop: false }`
[INFO] [stdout] 2597572dc719bced2c6da631f272bbec479a056186b71688b0fd1761f48c5175
[INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 527385cc12279df442f8541ad1f6761d08fd0e09f8a2bacbb36266cf16c2f55e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "527385cc12279df442f8541ad1f6761d08fd0e09f8a2bacbb36266cf16c2f55e", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling syn v1.0.44
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-io v0.3.6
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling async-task v4.0.2
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling standback v0.2.11
[INFO] [stderr]    Compiling time v0.2.22
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling nb-connect v1.0.2
[INFO] [stderr]    Compiling futures-lite v1.11.1
[INFO] [stderr]    Compiling async-channel v1.5.1
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling polling v2.0.1
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling async-io v1.1.10
[INFO] [stderr]    Compiling async-executor v1.3.0
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling async-global-executor v1.4.0
[INFO] [stderr]    Compiling async-std v1.6.5
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling combine v4.3.2
[INFO] [stderr]    Compiling redis v0.17.0
[INFO] [stderr]    Compiling redlock-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]  --> src/redlock.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]   |                           |
[INFO] [stdout]   |                           no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time`
[INFO] [stdout]   --> src/redlock.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let time = time::get_time();
[INFO] [stdout]    |                          ^^^^^^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]  --> src/redlock.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::sleep_ms;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/redlock.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |             sleep_ms(n);
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/redlock.rs:89:119
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let result : RedisResult<Value> = redis::cmd("SET").arg(resource).arg(val).arg("nx").arg("px").arg(ttl).query(&con);
[INFO] [stdout]    |                                                                                                                       ^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut dyn redis::ConnectionLike`
[INFO] [stdout]                       found reference `&redis::Connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:153:78
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let result : RedisResult<i32> = script.key(resource).arg(val).invoke(&con);
[INFO] [stdout]     |                                                                              ^^^^ types differ in mutability
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn redis::ConnectionLike`
[INFO] [stdout]                        found reference `&redis::Connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redlock-rs`
[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: build failed
[INFO] running `Command { std: "docker" "inspect" "527385cc12279df442f8541ad1f6761d08fd0e09f8a2bacbb36266cf16c2f55e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "527385cc12279df442f8541ad1f6761d08fd0e09f8a2bacbb36266cf16c2f55e", kill_on_drop: false }`
[INFO] [stdout] 527385cc12279df442f8541ad1f6761d08fd0e09f8a2bacbb36266cf16c2f55e
