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