[INFO] crate redlock-rs 0.2.1 is already in cache [INFO] testing redlock-rs-0.2.1 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate redlock-rs 0.2.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate redlock-rs 0.2.1 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 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-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 1fa6c5044381d457ba4e16b11e181cdf61f283cd8af79e2acd834b97ea79f698 [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" "1fa6c5044381d457ba4e16b11e181cdf61f283cd8af79e2acd834b97ea79f698"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.33 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling piper v0.1.3 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling smol v0.1.11 [INFO] [stderr] Compiling async-std v1.6.0 [INFO] [stderr] Compiling redis v0.16.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 = 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 = 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; 2 warnings emitted [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] [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 `"docker" "inspect" "1fa6c5044381d457ba4e16b11e181cdf61f283cd8af79e2acd834b97ea79f698"` [INFO] running `"docker" "rm" "-f" "1fa6c5044381d457ba4e16b11e181cdf61f283cd8af79e2acd834b97ea79f698"` [INFO] [stdout] 1fa6c5044381d457ba4e16b11e181cdf61f283cd8af79e2acd834b97ea79f698