[INFO] fetching crate rust_redlock 0.4.0... [INFO] checking rust_redlock-0.4.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rust_redlock 0.4.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rust_redlock 0.4.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redis v0.5.4 [INFO] [stderr] Downloaded sha1 v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8391c37629cc70c95da032ef5ee5d96c1ad18514d99dc5cee079cc6f0d68f7dc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8391c37629cc70c95da032ef5ee5d96c1ad18514d99dc5cee079cc6f0d68f7dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8391c37629cc70c95da032ef5ee5d96c1ad18514d99dc5cee079cc6f0d68f7dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8391c37629cc70c95da032ef5ee5d96c1ad18514d99dc5cee079cc6f0d68f7dc", kill_on_drop: false }` [INFO] [stdout] 8391c37629cc70c95da032ef5ee5d96c1ad18514d99dc5cee079cc6f0d68f7dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be33f9911e883de98f6884a76338dd89c3f137e0f0592ad3d16db032b66b5762 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be33f9911e883de98f6884a76338dd89c3f137e0f0592ad3d16db032b66b5762", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking redis v0.5.4 [INFO] [stderr] Checking 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] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 a macro (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 `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 a macro (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 `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::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] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::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] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.39s [INFO] running `Command { std: "docker" "inspect" "be33f9911e883de98f6884a76338dd89c3f137e0f0592ad3d16db032b66b5762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be33f9911e883de98f6884a76338dd89c3f137e0f0592ad3d16db032b66b5762", kill_on_drop: false }` [INFO] [stdout] be33f9911e883de98f6884a76338dd89c3f137e0f0592ad3d16db032b66b5762