[INFO] updating cached repository https://github.com/Rush/redis_expiremember_module [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbcf95a5c595156397e964163b8b87ae2c5b4a54 [INFO] checking Rush/redis_expiremember_module/bbcf95a5c595156397e964163b8b87ae2c5b4a54 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRush%2Fredis_expiremember_module" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rush/redis_expiremember_module on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rush/redis_expiremember_module [INFO] finished tweaking git repo https://github.com/Rush/redis_expiremember_module [INFO] tweaked toml for git repo https://github.com/Rush/redis_expiremember_module written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Rush/redis_expiremember_module already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1be0dc954c27969d9689b2d583e085bbb1bba081a1e9932bc39aba4d8b583081 [INFO] running `Command { std: "docker" "start" "-a" "1be0dc954c27969d9689b2d583e085bbb1bba081a1e9932bc39aba4d8b583081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1be0dc954c27969d9689b2d583e085bbb1bba081a1e9932bc39aba4d8b583081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1be0dc954c27969d9689b2d583e085bbb1bba081a1e9932bc39aba4d8b583081", kill_on_drop: false }` [INFO] [stdout] 1be0dc954c27969d9689b2d583e085bbb1bba081a1e9932bc39aba4d8b583081 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b42b6b295c8861ae67d8e4bef904ee510323e413a8a143c918fa93c5aa5fb13e [INFO] running `Command { std: "docker" "start" "-a" "b42b6b295c8861ae67d8e4bef904ee510323e413a8a143c918fa93c5aa5fb13e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking crossbeam-queue v0.3.10 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking crossbeam-channel v0.5.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Checking crossbeam v0.8.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling linkme-impl v0.3.20 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling redis-module-macros-internals v2.0.7 [INFO] [stderr] Checking linkme v0.3.20 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Compiling redis-module v2.0.7 [INFO] [stderr] Checking redis_expiremember_module v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RedisModuleIO`, `Status`, `raw as rawmod`, and `redis_module` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | redis_module, raw as rawmod, Context, RedisError, RedisResult, RedisString, RedisValue, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 5 | ThreadSafeContext, KeyType, Status, RedisModuleIO, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{Duration, Instant, SystemTime}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RedisModuleIO`, `Status`, and `raw as rawmod` [INFO] [stdout] --> src/lib.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | redis_module, raw as rawmod, Context, RedisError, RedisResult, RedisString, RedisValue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | ThreadSafeContext, KeyType, Status, RedisModuleIO, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{Duration, Instant, SystemTime}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `queue` is never read [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct ExpirationQueue { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 33 | queue: ArrayQueue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_member` and `try_pop` are never used [INFO] [stdout] --> src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl ExpirationQueue { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn add_member(&self, member: ExpiringMember) -> Result<(), ExpiringMember> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn try_pop(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expiremember` is never used [INFO] [stdout] --> src/lib.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn expiremember(ctx: &Context, args: Vec) -> RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_expiration_thread` is never used [INFO] [stdout] --> src/lib.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn start_expiration_thread() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn expiremember(ctx: &Context, args: Vec) -> RedisResult { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let mut expiration_times = EXPIRATION_TIMES.lock().unwrap(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok(RedisValue::Integer(1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis_expiremember_module` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn expiremember(ctx: &Context, args: Vec) -> RedisResult { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let mut expiration_times = EXPIRATION_TIMES.lock().unwrap(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok(RedisValue::Integer(1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis_expiremember_module` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b42b6b295c8861ae67d8e4bef904ee510323e413a8a143c918fa93c5aa5fb13e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42b6b295c8861ae67d8e4bef904ee510323e413a8a143c918fa93c5aa5fb13e", kill_on_drop: false }` [INFO] [stdout] b42b6b295c8861ae67d8e4bef904ee510323e413a8a143c918fa93c5aa5fb13e