[INFO] fetching crate rust_redlock 0.4.0...
[INFO] testing rust_redlock-0.4.0 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate rust_redlock 0.4.0 into /workspace/builds/worker-4-tc2/source
[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-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust_redlock 0.4.0 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 23 packages to highest compatible versions
[INFO] [stderr]       Adding lazy_static v0.2.11 (available: v1.5.1)
[INFO] [stderr]       Adding quick-error v1.2.3 (available: v2.0.1)
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.10.3)
[INFO] [stderr]       Adding redis v0.5.4 (available: v1.7.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | homepage = "https://github.com/DavidCai1993/redlock-rs"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 | repository = "https://github.com/DavidCai1993/redlock-rs"
[INFO] [stderr]    |              --------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rust_redlock` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00
[INFO] running `Command { std: "docker" "start" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | homepage = "https://github.com/DavidCai1993/redlock-rs"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 | repository = "https://github.com/DavidCai1993/redlock-rs"
[INFO] [stderr]    |              --------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rust_redlock` (manifest) generated 2 warnings
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling sha1 v0.1.1
[INFO] [stderr]    Compiling redis v0.5.4
[INFO] [stderr]    Compiling rust_redlock v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/redlock.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stdout]     |                                 ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -                -> RedlockResult<(Lock)> {
[INFO] [stdout] 113 +                -> RedlockResult<Lock> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/scripts.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / lazy_static! {
[INFO] [stdout]  4 | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stdout]  5 | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stdout]  6 | |   ");
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   ");
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/scripts.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / lazy_static! {
[INFO] [stdout]  4 | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stdout]  5 | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stdout]  6 | |   ");
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   ");
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/scripts.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / lazy_static! {
[INFO] [stdout]  4 | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stdout]  5 | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stdout]  6 | |   ");
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   ");
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/redlock.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn extend(&self, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here      ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn extend(&self, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/redlock.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn lock(&self, resource_name: &str, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stdout]    |                 ^^^^^ the lifetime is elided here                           ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn lock(&self, resource_name: &str, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stdout]    |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/redlock.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn extend(&self, resource_name: &str, value: &str, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stdout]     |               ^^^^^ the lifetime is elided here                                        ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn extend(&self, resource_name: &str, value: &str, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/redlock.rs:109:16
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn request(&self,
[INFO] [stdout]     |                ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stdout]     |                                  ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 113 |                -> RedlockResult<(Lock<'_>)> {
[INFO] [stdout]     |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/redlock.rs:165:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |                         lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 165 |                         let _ = lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/redlock.rs:174:29
[INFO] [stdout]     |
[INFO] [stdout] 174 | ...                   lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 174 |                             let _ = lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 5.06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.5.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 11`
[INFO] running `Command { std: "docker" "inspect" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | homepage = "https://github.com/DavidCai1993/redlock-rs"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 | repository = "https://github.com/DavidCai1993/redlock-rs"
[INFO] [stderr]    |              --------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rust_redlock` (manifest) generated 2 warnings
[INFO] [stderr]    Compiling rust_redlock v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/redlock.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stdout]     |                                 ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -                -> RedlockResult<(Lock)> {
[INFO] [stdout] 113 +                -> RedlockResult<Lock> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/scripts.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / lazy_static! {
[INFO] [stdout]  4 | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stdout]  5 | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stdout]  6 | |   ");
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   ");
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/scripts.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / lazy_static! {
[INFO] [stdout]  4 | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stdout]  5 | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stdout]  6 | |   ");
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   ");
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/scripts.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / lazy_static! {
[INFO] [stdout]  4 | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stdout]  5 | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stdout]  6 | |   ");
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   ");
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/redlock.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn extend(&self, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here      ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn extend(&self, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/redlock.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn lock(&self, resource_name: &str, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stdout]    |                 ^^^^^ the lifetime is elided here                           ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn lock(&self, resource_name: &str, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stdout]    |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/redlock.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn extend(&self, resource_name: &str, value: &str, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stdout]     |               ^^^^^ the lifetime is elided here                                        ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn extend(&self, resource_name: &str, value: &str, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/redlock.rs:109:16
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn request(&self,
[INFO] [stdout]     |                ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stdout]     |                                  ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 113 |                -> RedlockResult<(Lock<'_>)> {
[INFO] [stdout]     |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/redlock.rs:165:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |                         lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 165 |                         let _ = lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/redlock.rs:174:29
[INFO] [stdout]     |
[INFO] [stdout] 174 | ...                   lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 174 |                             let _ = lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/redlock.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stdout]     |                                 ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -                -> RedlockResult<(Lock)> {
[INFO] [stdout] 113 +                -> RedlockResult<Lock> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/scripts.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / lazy_static! {
[INFO] [stdout]  4 | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stdout]  5 | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stdout]  6 | |   ");
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   ");
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/scripts.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / lazy_static! {
[INFO] [stdout]  4 | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stdout]  5 | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stdout]  6 | |   ");
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   ");
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/scripts.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / lazy_static! {
[INFO] [stdout]  4 | |   pub static ref LOCK: redis::Script = redis::Script::new("
[INFO] [stdout]  5 | |     return redis.call(\"set\", KEYS[1], ARGV[1], \"NX\", \"PX\", ARGV[2])
[INFO] [stdout]  6 | |   ");
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   ");
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/redlock.rs:287:5
[INFO] [stdout]     |
[INFO] [stdout] 287 | /     lazy_static! {
[INFO] [stdout] 288 | |         static ref REDLOCK: Redlock = Redlock::new::<&str>(Config {
[INFO] [stdout] 289 | |             addrs: vec!["redis://127.0.0.1"],
[INFO] [stdout] 290 | |             retry_count: 10,
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |         static ref REDIS_CLI: redis::Client = redis::Client::open("redis://127.0.0.1").unwrap();
[INFO] [stdout] 297 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/redlock.rs:287:5
[INFO] [stdout]     |
[INFO] [stdout] 287 | /     lazy_static! {
[INFO] [stdout] 288 | |         static ref REDLOCK: Redlock = Redlock::new::<&str>(Config {
[INFO] [stdout] 289 | |             addrs: vec!["redis://127.0.0.1"],
[INFO] [stdout] 290 | |             retry_count: 10,
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |         static ref REDIS_CLI: redis::Client = redis::Client::open("redis://127.0.0.1").unwrap();
[INFO] [stdout] 297 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/redlock.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn extend(&self, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here      ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn extend(&self, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/redlock.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn lock(&self, resource_name: &str, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stdout]    |                 ^^^^^ the lifetime is elided here                           ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn lock(&self, resource_name: &str, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stdout]    |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/redlock.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn extend(&self, resource_name: &str, value: &str, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stdout]     |               ^^^^^ the lifetime is elided here                                        ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn extend(&self, resource_name: &str, value: &str, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/redlock.rs:109:16
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn request(&self,
[INFO] [stdout]     |                ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stdout]     |                                  ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 113 |                -> RedlockResult<(Lock<'_>)> {
[INFO] [stdout]     |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/redlock.rs:165:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |                         lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 165 |                         let _ = lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/redlock.rs:174:29
[INFO] [stdout]     |
[INFO] [stdout] 174 | ...                   lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 174 |                             let _ = lock.unlock().is_ok(); // Just ingore the result
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.04s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.5.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 11`
[INFO] running `Command { std: "docker" "inspect" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test redlock::tests::test_config_default ... ok
[INFO] [stdout] test redlock::tests::test_lock ... FAILED
[INFO] [stdout] test redlock::tests::test_extend_expired_resource ... FAILED
[INFO] [stdout] test redlock::tests::test_lock_twice ... FAILED
[INFO] [stdout] test redlock::tests::test_new_with_no_server - should panic ... ok
[INFO] [stdout] test redlock::tests::test_new ... ok
[INFO] [stdout] test redlock::tests::test_unlock ... FAILED
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | homepage = "https://github.com/DavidCai1993/redlock-rs"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 | repository = "https://github.com/DavidCai1993/redlock-rs"
[INFO] [stderr]    |              --------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rust_redlock` (manifest) generated 2 warnings
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> src/redlock.rs:113:33
[INFO] [stderr]     |
[INFO] [stderr] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stderr]     |                                 ^    ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 113 -                -> RedlockResult<(Lock)> {
[INFO] [stderr] 113 +                -> RedlockResult<Lock> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> src/scripts.rs:3:1
[INFO] [stdout] test util::tests::test_get_random_string ... ok
[INFO] [stderr]    |
[INFO] [stdout] test util::tests::test_num_milliseconds ... ok
[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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/redlock.rs:33:19
[INFO] [stderr]    |
[INFO] [stderr] 33 |     pub fn extend(&self, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stderr]    |                   ^^^^^ the lifetime is elided here      ^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 33 |     pub fn extend(&self, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stderr]    |                                                              ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/redlock.rs:99:17
[INFO] [stderr]    |
[INFO] [stderr] 99 |     pub fn lock(&self, resource_name: &str, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stderr]    |                 ^^^^^ the lifetime is elided here                           ^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 99 |     pub fn lock(&self, resource_name: &str, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stderr]    |                                                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/redlock.rs:103:15
[INFO] [stderr]     |
[INFO] [stderr] 103 |     fn extend(&self, resource_name: &str, value: &str, ttl: Duration) -> RedlockResult<Lock> {
[INFO] [stderr]     |               ^^^^^ the lifetime is elided here                                        ^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 103 |     fn extend(&self, resource_name: &str, value: &str, ttl: Duration) -> RedlockResult<Lock<'_>> {
[INFO] [stderr]     |                                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/redlock.rs:109:16
[INFO] [stderr]     |
[INFO] [stderr] 109 |     fn request(&self,
[INFO] [stderr]     |                ^^^^^ the lifetime is elided here
[INFO] [stderr] ...
[INFO] [stderr] 113 |                -> RedlockResult<(Lock)> {
[INFO] [stderr]     |                                  ^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 113 |                -> RedlockResult<(Lock<'_>)> {
[INFO] [stderr]     |                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `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: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 165 |                         let _ = lock.unlock().is_ok(); // Just ingore the result
[INFO] [stderr]     |                         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `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] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 174 |                             let _ = lock.unlock().is_ok(); // Just ingore the result
[INFO] [stderr]     |                             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_redlock` (lib) generated 10 warnings (1 duplicate) (run `cargo fix --lib -p rust_redlock` to apply 5 suggestions)
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_redlock` (lib test) generated 12 warnings (11 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.04s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.5.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 11`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/rust_redlock/158868066566f56b/out/rust_redlock-158868066566f56b)
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] test redlock::tests::test_extend ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- redlock::tests::test_lock stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'redlock::tests::test_lock' (237) panicked at src/redlock.rs:335:60:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: UnableToLock
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x649fe930f7c1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x649fe932423a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x649fe9313e6c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x649fe92eb306 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x649fe9307879 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x649fe928a350 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x649fe9307a32 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x649fe92eb3b2 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x649fe92e3fe9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x649fe92ec1ad - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x649fe932496c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x649fe9324742 - core[a373ad73a504971]::result::unwrap_failed
[INFO] [stdout]   12:     0x649fe927c89e - <rust_redlock[aa009bd4efb7931c]::redlock::tests::test_lock::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x649fe927d79b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   14:     0x649fe928a975 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   15:     0x649fe9284264 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x649fe928da02 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x649fe930eaff - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x715102afcdfa - <unknown>
[INFO] [stdout]   19:     0x715102b903d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- redlock::tests::test_extend_expired_resource stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'redlock::tests::test_extend_expired_resource' (236) panicked at src/redlock.rs:393:60:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: UnableToLock
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x649fe930f7c1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x649fe932423a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x649fe9313e6c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x649fe92eb306 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x649fe9307879 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x649fe928a350 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x649fe9307a32 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x649fe92eb3b2 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x649fe92e3fe9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x649fe92ec1ad - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x649fe932496c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x649fe9324742 - core[a373ad73a504971]::result::unwrap_failed
[INFO] [stdout]   12:     0x649fe927c39f - <rust_redlock[aa009bd4efb7931c]::redlock::tests::test_extend_expired_resource::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x649fe927d79b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   14:     0x649fe928a975 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   15:     0x649fe9284264 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x649fe928da02 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x649fe930eaff - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x715102afcdfa - <unknown>
[INFO] [stdout]   19:     0x715102b903d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- redlock::tests::test_lock_twice stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'redlock::tests::test_lock_twice' (238) panicked at src/redlock.rs:344:60:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: UnableToLock
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x649fe930f7c1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x649fe932423a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x649fe9313e6c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x649fe92eb306 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x649fe9307879 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x649fe928a350 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x649fe9307a32 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x649fe92eb3b2 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x649fe92e3fe9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x649fe92ec1ad - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x649fe932496c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x649fe9324742 - core[a373ad73a504971]::result::unwrap_failed
[INFO] [stdout]   12:     0x649fe927bcd3 - <rust_redlock[aa009bd4efb7931c]::redlock::tests::test_lock_twice::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x649fe927d79b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   14:     0x649fe928a975 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   15:     0x649fe9284264 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x649fe928da02 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x649fe930eaff - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x715102afcdfa - <unknown>
[INFO] [stdout]   19:     0x715102b903d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- redlock::tests::test_unlock stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'redlock::tests::test_unlock' (241) panicked at src/redlock.rs:360:14:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: UnableToLock
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x649fe930f7c1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x649fe932423a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x649fe9313e6c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x649fe92eb306 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x649fe9307879 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x649fe928a350 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x649fe9307a32 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x649fe92eb3b2 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x649fe92e3fe9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x649fe92ec1ad - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x649fe932496c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x649fe9324742 - core[a373ad73a504971]::result::unwrap_failed
[INFO] [stdout]   12:     0x649fe927b57d - <rust_redlock[aa009bd4efb7931c]::redlock::tests::test_unlock::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x649fe927d79b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   14:     0x649fe928a975 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   15:     0x649fe9284264 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x649fe928da02 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x649fe930eaff - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x715102afcdfa - <unknown>
[INFO] [stdout]   19:     0x715102b903d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- redlock::tests::test_extend stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'redlock::tests::test_extend' (235) panicked at src/redlock.rs:383:14:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: UnableToLock
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x649fe930f7c1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x649fe932423a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x649fe9313e6c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x649fe92eb306 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x649fe9307879 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x649fe928a350 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x649fe9307a32 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x649fe92eb3b2 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x649fe92e3fe9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x649fe92ec1ad - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x649fe932496c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x649fe9324742 - core[a373ad73a504971]::result::unwrap_failed
[INFO] [stdout]   12:     0x649fe927ad0c - <rust_redlock[aa009bd4efb7931c]::redlock::tests::test_extend::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x649fe927d79b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   14:     0x649fe928a975 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   15:     0x649fe9284264 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x649fe928da02 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x649fe930eaff - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x715102afcdfa - <unknown>
[INFO] [stdout]   19:     0x715102b903d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     redlock::tests::test_extend
[INFO] [stdout]     redlock::tests::test_extend_expired_resource
[INFO] [stdout]     redlock::tests::test_lock
[INFO] [stdout]     redlock::tests::test_lock_twice
[INFO] [stdout]     redlock::tests::test_unlock
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00", kill_on_drop: false }`
[INFO] [stdout] 400e2ad63cb3d1da23851d3354f0f4e0de5a5ccdd8bcdbab6bee2c8ee5a30f00
