[INFO] fetching crate rust_redlock 0.4.0...
[INFO] building rust_redlock-0.4.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate rust_redlock 0.4.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust_redlock 0.4.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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 24 packages to latest compatible versions
[INFO] [stderr]       Adding lazy_static v0.2.11 (available: v1.5.0)
[INFO] [stderr]       Adding quick-error v1.2.3 (available: v2.0.1)
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.9.2)
[INFO] [stderr]       Adding redis v0.5.4 (available: v0.32.6)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6eb9ed0be5d950048c3e4fda3d102ec204b00a0a6b7960283f1ee9af56428ccd
[INFO] running `Command { std: "docker" "start" "-a" "6eb9ed0be5d950048c3e4fda3d102ec204b00a0a6b7960283f1ee9af56428ccd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6eb9ed0be5d950048c3e4fda3d102ec204b00a0a6b7960283f1ee9af56428ccd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6eb9ed0be5d950048c3e4fda3d102ec204b00a0a6b7960283f1ee9af56428ccd", kill_on_drop: false }`
[INFO] [stdout] 6eb9ed0be5d950048c3e4fda3d102ec204b00a0a6b7960283f1ee9af56428ccd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fc6ce1330595d48baa73e43660116a43c4b862cafe5afa8a944e08eeecf3d3d
[INFO] running `Command { std: "docker" "start" "-a" "2fc6ce1330595d48baa73e43660116a43c4b862cafe5afa8a944e08eeecf3d3d", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling sha1 v0.1.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling url v1.7.2
[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 `dev` profile [unoptimized + debuginfo] target(s) in 3.61s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "2fc6ce1330595d48baa73e43660116a43c4b862cafe5afa8a944e08eeecf3d3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fc6ce1330595d48baa73e43660116a43c4b862cafe5afa8a944e08eeecf3d3d", kill_on_drop: false }`
[INFO] [stdout] 2fc6ce1330595d48baa73e43660116a43c4b862cafe5afa8a944e08eeecf3d3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 53780dc38537e865d0900f6a49770a8eeca63f0742457fbcbc612823ae02fff1
[INFO] running `Command { std: "docker" "start" "-a" "53780dc38537e865d0900f6a49770a8eeca63f0742457fbcbc612823ae02fff1", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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]    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/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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.58s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "53780dc38537e865d0900f6a49770a8eeca63f0742457fbcbc612823ae02fff1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53780dc38537e865d0900f6a49770a8eeca63f0742457fbcbc612823ae02fff1", kill_on_drop: false }`
[INFO] [stdout] 53780dc38537e865d0900f6a49770a8eeca63f0742457fbcbc612823ae02fff1
