[INFO] crate redlock-rs 0.2.1 is already in cache [INFO] extracting crate redlock-rs 0.2.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/redlock-rs/0.2.1 [INFO] extracting crate redlock-rs 0.2.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/redlock-rs/0.2.1 [INFO] validating manifest of redlock-rs-0.2.1 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of redlock-rs-0.2.1 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/reg/redlock-rs/0.2.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing redlock-rs-0.2.1 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 99078e4f628285477924f0d6c0f9d15eff4e2267cbdac48e53d851d9bd3882e9 [INFO] running `"docker" "start" "-a" "99078e4f628285477924f0d6c0f9d15eff4e2267cbdac48e53d851d9bd3882e9"` [INFO] [stderr] Compiling memchr v2.2.1 [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 = 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 = 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" "99078e4f628285477924f0d6c0f9d15eff4e2267cbdac48e53d851d9bd3882e9"` [INFO] running `"docker" "rm" "-f" "99078e4f628285477924f0d6c0f9d15eff4e2267cbdac48e53d851d9bd3882e9"` [INFO] [stdout] 99078e4f628285477924f0d6c0f9d15eff4e2267cbdac48e53d851d9bd3882e9