[INFO] crate rust_redlock 0.4.0 is already in cache
[INFO] checking rust_redlock-0.4.0 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] extracting crate rust_redlock 0.4.0 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate rust_redlock 0.4.0 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate rust_redlock 0.4.0
[INFO] finished tweaking crates.io crate rust_redlock 0.4.0
[INFO] tweaked toml for crates.io crate rust_redlock 0.4.0 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3b46d95589e21d47d497bdc4a0c0ea4fae76acd373305c7cbb2cc985aa6f7052
[INFO] running `"docker" "start" "-a" "3b46d95589e21d47d497bdc4a0c0ea4fae76acd373305c7cbb2cc985aa6f7052"`
[INFO] [stderr]     Checking sha1 v0.1.1
[INFO] [stderr]     Checking redis v0.5.4
[INFO] [stderr]     Checking rust_redlock v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> src/redlock.rs:113:33
[INFO] [stderr]     |
[INFO] [stderr] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stderr]     |                                 ^^^^^^ help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/scripts.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / lazy_static! {
[INFO] [stderr] 4  | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stderr] 5  | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stderr] 6  | |   ");
[INFO] [stderr] ...  |
[INFO] [stderr] 22 | |   ");
[INFO] [stderr] 23 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/scripts.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / lazy_static! {
[INFO] [stderr] 4  | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stderr] 5  | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stderr] 6  | |   ");
[INFO] [stderr] ...  |
[INFO] [stderr] 22 | |   ");
[INFO] [stderr] 23 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/scripts.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / lazy_static! {
[INFO] [stderr] 4  | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stderr] 5  | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stderr] 6  | |   ");
[INFO] [stderr] ...  |
[INFO] [stderr] 22 | |   ");
[INFO] [stderr] 23 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> src/redlock.rs:113:33
[INFO] [stderr]     |
[INFO] [stderr] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stderr]     |                                 ^^^^^^ help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/scripts.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / lazy_static! {
[INFO] [stderr] 4  | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stderr] 5  | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stderr] 6  | |   ");
[INFO] [stderr] ...  |
[INFO] [stderr] 22 | |   ");
[INFO] [stderr] 23 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/scripts.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / lazy_static! {
[INFO] [stderr] 4  | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stderr] 5  | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stderr] 6  | |   ");
[INFO] [stderr] ...  |
[INFO] [stderr] 22 | |   ");
[INFO] [stderr] 23 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/scripts.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / lazy_static! {
[INFO] [stderr] 4  | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stderr] 5  | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stderr] 6  | |   ");
[INFO] [stderr] ...  |
[INFO] [stderr] 22 | |   ");
[INFO] [stderr] 23 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]    --> src/redlock.rs:287:5
[INFO] [stderr]     |
[INFO] [stderr] 287 | /     lazy_static! {
[INFO] [stderr] 288 | |         static ref REDLOCK: Redlock = Redlock::new::<&str>(Config {
[INFO] [stderr] 289 | |             addrs: vec!["redis://127.0.0.1"],
[INFO] [stderr] 290 | |             retry_count: 10,
[INFO] [stderr] ...   |
[INFO] [stderr] 296 | |         static ref REDIS_CLI: redis::Client = redis::Client::open("redis://127.0.0.1").unwrap();
[INFO] [stderr] 297 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]    --> src/redlock.rs:287:5
[INFO] [stderr]     |
[INFO] [stderr] 287 | /     lazy_static! {
[INFO] [stderr] 288 | |         static ref REDLOCK: Redlock = Redlock::new::<&str>(Config {
[INFO] [stderr] 289 | |             addrs: vec!["redis://127.0.0.1"],
[INFO] [stderr] 290 | |             retry_count: 10,
[INFO] [stderr] ...   |
[INFO] [stderr] 296 | |         static ref REDIS_CLI: redis::Client = redis::Client::open("redis://127.0.0.1").unwrap();
[INFO] [stderr] 297 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stderr]    --> src/redlock.rs:165:25
[INFO] [stderr]     |
[INFO] [stderr] 165 |                         lock.unlock().is_ok(); // Just ingore the result
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stderr]    --> src/redlock.rs:174:29
[INFO] [stderr]     |
[INFO] [stderr] 174 | ...                   lock.unlock().is_ok(); // Just ingore the result
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stderr]    --> src/redlock.rs:165:25
[INFO] [stderr]     |
[INFO] [stderr] 165 |                         lock.unlock().is_ok(); // Just ingore the result
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stderr]    --> src/redlock.rs:174:29
[INFO] [stderr]     |
[INFO] [stderr] 174 | ...                   lock.unlock().is_ok(); // Just ingore the result
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.59s
[INFO] running `"docker" "inspect" "3b46d95589e21d47d497bdc4a0c0ea4fae76acd373305c7cbb2cc985aa6f7052"`
[INFO] running `"docker" "rm" "-f" "3b46d95589e21d47d497bdc4a0c0ea4fae76acd373305c7cbb2cc985aa6f7052"`
[INFO] [stdout] 3b46d95589e21d47d497bdc4a0c0ea4fae76acd373305c7cbb2cc985aa6f7052
