[INFO] fetching crate clap-repl 0.3.0... [INFO] checking clap-repl-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate clap-repl 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate clap-repl 0.3.0 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 crates.io crate clap-repl 0.3.0 [INFO] finished tweaking crates.io crate clap-repl 0.3.0 [INFO] tweaked toml for crates.io crate clap-repl 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate clap-repl 0.3.0 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 71447687dac3762af22d28a0e4131ec407f1dadfff4590a36ee42bee57c52be3 [INFO] running `Command { std: "docker" "start" "-a" "71447687dac3762af22d28a0e4131ec407f1dadfff4590a36ee42bee57c52be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71447687dac3762af22d28a0e4131ec407f1dadfff4590a36ee42bee57c52be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71447687dac3762af22d28a0e4131ec407f1dadfff4590a36ee42bee57c52be3", kill_on_drop: false }` [INFO] [stdout] 71447687dac3762af22d28a0e4131ec407f1dadfff4590a36ee42bee57c52be3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3bb3287d1ee546c4dedb5d4b4ac168701da121ff0793c9a2835add1f573360d2 [INFO] running `Command { std: "docker" "start" "-a" "3bb3287d1ee546c4dedb5d4b4ac168701da121ff0793c9a2835add1f573360d2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking is_executable v1.0.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking clap_complete v4.5.16 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking reedline v0.32.0 [INFO] [stderr] Checking clap-repl v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> examples/redis-cli.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | fn process_command(command: RedisCommand, client: &mut redis::Client) -> redis::RedisResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> examples/redis-cli.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | client.set(key, value)?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [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] --> examples/simple.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 49 | .with_editor_hook(|reed| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | // Do custom things with `Reedline` instance here [INFO] [stdout] 51 | reed.with_history(Box::new( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 52 | | FileBackedHistory::with_file(10000, "/tmp/clap-repl-simple-example-history".into()) [INFO] [stdout] 53 | | .unwrap(), [INFO] [stdout] 54 | | )) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clap-repl` (example "simple") due to 2 previous errors [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] --> examples/prompt_toolkit.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 69 | .with_editor_hook(|reed| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | // Do custom things with `Reedline` instance here [INFO] [stdout] 71 | reed.with_history(Box::new( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 72 | | FileBackedHistory::with_file(10000, "/tmp/clap-repl-simple-example-history".into()) [INFO] [stdout] 73 | | .unwrap(), [INFO] [stdout] 74 | | )) [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clap-repl` (example "prompt_toolkit") due to 2 previous errors [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3bb3287d1ee546c4dedb5d4b4ac168701da121ff0793c9a2835add1f573360d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb3287d1ee546c4dedb5d4b4ac168701da121ff0793c9a2835add1f573360d2", kill_on_drop: false }` [INFO] [stdout] 3bb3287d1ee546c4dedb5d4b4ac168701da121ff0793c9a2835add1f573360d2