[INFO] fetching crate reduct-cli 0.3.1... [INFO] checking reduct-cli-0.3.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate reduct-cli 0.3.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate reduct-cli 0.3.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate reduct-cli 0.3.1 [INFO] finished tweaking crates.io crate reduct-cli 0.3.1 [INFO] tweaked toml for crates.io crate reduct-cli 0.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate reduct-cli 0.3.1 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9a87a5ef03e3699e54986ad78480be57ac91d9ea3be9c76f36177299d61541c [INFO] running `Command { std: "docker" "start" "-a" "a9a87a5ef03e3699e54986ad78480be57ac91d9ea3be9c76f36177299d61541c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9a87a5ef03e3699e54986ad78480be57ac91d9ea3be9c76f36177299d61541c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a87a5ef03e3699e54986ad78480be57ac91d9ea3be9c76f36177299d61541c", kill_on_drop: false }` [INFO] [stdout] a9a87a5ef03e3699e54986ad78480be57ac91d9ea3be9c76f36177299d61541c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d638b213015813d6d27af83413e20cd15525603e996cf788fb06601c13e5b9ad [INFO] running `Command { std: "docker" "start" "-a" "d638b213015813d6d27af83413e20cd15525603e996cf788fb06601c13e5b9ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking subtle v2.6.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking event-listener-strategy v0.5.1 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking papergrid v0.11.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking time-humanize v0.1.3 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling int-enum-impl v0.5.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking tabled v0.15.0 [INFO] [stderr] Checking int-enum v0.5.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking reduct-base v1.10.0 [INFO] [stderr] Checking reduct-rs v1.10.1 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking reduct-cli v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `input` [INFO] [stdout] --> src/io/std.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | macro_rules! input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cmd/cp/helpers.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 226 | return Err($err); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 240 | return print_error_progress!(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cmd/cp/helpers.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 226 | return Err($err); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 248 | return print_error_progress!(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cmd/cp/helpers.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 226 | return Err($err); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 260 | return print_error_progress!(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `input` [INFO] [stdout] --> src/io/std.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | macro_rules! input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cmd/cp/helpers.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 226 | return Err($err); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 240 | return print_error_progress!(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cmd/cp/helpers.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 226 | return Err($err); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 248 | return print_error_progress!(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cmd/cp/helpers.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 226 | return Err($err); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 260 | return print_error_progress!(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `clap::Command` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias/add.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / Command::new("add") [INFO] [stdout] 36 | | .about("Add an alias") [INFO] [stdout] | |______________________________^ [INFO] [stdout] 37 | .arg(arg!( "The name of the alias to create").required(true)) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `clap::Command` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias/rm.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / Command::new("rm") [INFO] [stdout] 27 | | .about("Remove an alias") [INFO] [stdout] | |_________________________________^ [INFO] [stdout] 28 | .arg(arg!( "The name of the alias to remove").required(true)) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stdin` is never used [INFO] [stdout] --> src/context.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl CliContext { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn stdin(&self) -> &dyn Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/io/std.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) trait Input { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 40 | fn read(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reduct-cli` (bin "reduct-cli") due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `clap::Command` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias/add.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / Command::new("add") [INFO] [stdout] 36 | | .about("Add an alias") [INFO] [stdout] | |______________________________^ [INFO] [stdout] 37 | .arg(arg!( "The name of the alias to create").required(true)) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias/add.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 61 | fn test_add_alias(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let args = add_alias_cmd().get_matches_from(vec![ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias/add.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 85 | fn test_add_bad_url(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let args = add_alias_cmd().get_matches_from(vec![ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias/add.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 102 | fn test_add_existing_alias(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let args = add_alias_cmd().get_matches_from(vec![ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `clap::Command` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias/rm.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / Command::new("rm") [INFO] [stdout] 27 | | .about("Remove an alias") [INFO] [stdout] | |_________________________________^ [INFO] [stdout] 28 | .arg(arg!( "The name of the alias to remove").required(true)) [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias/rm.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_remove_alias_not_found(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let args = rm_alias_cmd().get_matches_from(vec!["rm", "test"]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_alias_handler_add(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let matches = alias_cmd().get_matches_from(vec!["alias", "add", "test", "-L", "XXX"]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 56 | fn test_alias_handler_ls(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let matches = alias_cmd().get_matches_from(vec!["alias", "ls"]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/alias.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_alias_handler_rm(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let matches = alias_cmd().get_matches_from(vec!["alias", "rm", "test"]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/cp/helpers.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 324 | fn parse_start_stop(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | let args = cp_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/cp/helpers.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 335 | fn parse_start_stop_with_values(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | let args = cp_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/cp/helpers.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 354 | fn parse_start_stop_iso8601(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let args = cp_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/cp/helpers.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 373 | fn parse_include_exclude(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | let args = cp_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/cp/helpers.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 406 | fn parse_each_n(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | let args = cp_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/cp/helpers.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 416 | fn parse_each_s(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 417 | let args = cp_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/cp/helpers.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 426 | fn parse_limit(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 427 | let args = cp_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/cp/helpers.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 436 | fn parse_entries_filter(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 437 | let args = cp_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/replica/update.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 180 | fn override_src_bucket(context: CliContext, current_settings: ReplicationSettings) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | let args = update_replica_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/replica/update.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 204 | context: CliContext, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | let args = update_replica_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/replica/update.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 226 | fn override_include(context: CliContext, current_settings: ReplicationSettings) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | let args = update_replica_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/replica/update.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 249 | fn override_exclude(context: CliContext, current_settings: ReplicationSettings) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | let args = update_replica_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArgMatches` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/replica/update.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 272 | fn override_entries(context: CliContext, current_settings: ReplicationSettings) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let args = update_replica_cmd() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::fs::File` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 92 | fn test_load(context: CliContext) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let mut file = File::create(context.config_path()).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stdin` is never used [INFO] [stdout] --> src/context.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl CliContext { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn stdin(&self) -> &dyn Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/context.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct MockInput { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 146 | input: RefCell>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `emulate` are never used [INFO] [stdout] --> src/io/std.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) trait Input { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 40 | fn read(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn emulate(&self, input: Vec<&'static str>); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reduct-cli` (bin "reduct-cli" test) due to 24 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d638b213015813d6d27af83413e20cd15525603e996cf788fb06601c13e5b9ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d638b213015813d6d27af83413e20cd15525603e996cf788fb06601c13e5b9ad", kill_on_drop: false }` [INFO] [stdout] d638b213015813d6d27af83413e20cd15525603e996cf788fb06601c13e5b9ad