[INFO] fetching crate rust-call 0.3.0... [INFO] checking rust-call-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rust-call 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rust-call 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] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rust-call 0.3.0 [INFO] finished tweaking crates.io crate rust-call 0.3.0 [INFO] tweaked toml for crates.io crate rust-call 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate rust-call 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 251edbc73504738434e69858c8674bae12f4c3f7f1848aafb4565752dca4367a [INFO] running `Command { std: "docker" "start" "-a" "251edbc73504738434e69858c8674bae12f4c3f7f1848aafb4565752dca4367a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "251edbc73504738434e69858c8674bae12f4c3f7f1848aafb4565752dca4367a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "251edbc73504738434e69858c8674bae12f4c3f7f1848aafb4565752dca4367a", kill_on_drop: false }` [INFO] [stdout] 251edbc73504738434e69858c8674bae12f4c3f7f1848aafb4565752dca4367a [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 083c083fa7e7bac99f815e284c611193fd8fca4be795ae18a157d007ab5e07b7 [INFO] running `Command { std: "docker" "start" "-a" "083c083fa7e7bac99f815e284c611193fd8fca4be795ae18a157d007ab5e07b7", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking faccess v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling cmd_lib_macros v1.0.10 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking cmd_lib v1.0.10 [INFO] [stderr] Checking rust-call v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/cmd/init.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{create_dir_all, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/cmd/init.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{create_dir_all, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/cmd/init.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/cmd/init.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/cmd/init.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{env, fs}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CallSystemConfig` [INFO] [stdout] --> src/cmd/init.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::config::{CallSystemConfig, INIT_CONFIG, LOOKING_GLASS, SPARKLE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/cmd/init.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/cmd/init.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/cmd/init.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{env, fs}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CallSystemConfig` [INFO] [stdout] --> src/cmd/init.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::config::{CallSystemConfig, INIT_CONFIG, LOOKING_GLASS, SPARKLE}; [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/call_macro.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | $name.to_owned().into_string().unwrap_or_default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn build(yaml_config: Yaml) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | runner: call_string!(config_yaml[RUNNER]), [INFO] [stdout] | --------------------------------- in this macro invocation [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] = note: this error originates in the macro `call_string` (in Nightly builds, run with -Z macro-backtrace for more info) [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/call_macro.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | $name.to_owned().into_string().unwrap_or_default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn build(yaml_config: Yaml) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | src: call_string!(mapping_yaml[SRC]), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `call_string` (in Nightly builds, run with -Z macro-backtrace for more info) [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/call_macro.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | $name.to_owned().into_string().unwrap_or_default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn build(yaml_config: Yaml) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | dest: call_string!(mapping_yaml[DEST]), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `call_string` (in Nightly builds, run with -Z macro-backtrace for more info) [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/call_macro.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | / $name [INFO] [stdout] 10 | | .to_owned() [INFO] [stdout] 11 | | .into_iter() [INFO] [stdout] 12 | | .map(|x| x.into_string().unwrap_or_default()) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn build(yaml_config: Yaml) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | exclude: call_vec!(mapping_yaml[EXCLUDE]), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `call_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/config.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | for server_list in config_yaml[ACTIVE][OPENSSH].as_vec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 185 | while let Some(server_list) = config_yaml[ACTIVE][OPENSSH].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 185 | if let Some(server_list) = config_yaml[ACTIVE][OPENSSH].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/config.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | for server_list in config_yaml[ACTIVE][PASSWORD].as_vec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 204 | while let Some(server_list) = config_yaml[ACTIVE][PASSWORD].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 204 | if let Some(server_list) = config_yaml[ACTIVE][PASSWORD].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/config.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | for server_list in config_yaml[ACTIVE][KEYPAIR].as_vec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 223 | while let Some(server_list) = config_yaml[ACTIVE][KEYPAIR].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(server_list) = config_yaml[ACTIVE][KEYPAIR].as_vec() { [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/call_macro.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | $name.to_owned().into_string().unwrap_or_default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn build(yaml_config: Yaml) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | runner: call_string!(config_yaml[RUNNER]), [INFO] [stdout] | --------------------------------- in this macro invocation [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] = note: this error originates in the macro `call_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [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/call_macro.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | $name.to_owned().into_string().unwrap_or_default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn build(yaml_config: Yaml) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | src: call_string!(mapping_yaml[SRC]), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `call_string` (in Nightly builds, run with -Z macro-backtrace for more info) [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/call_macro.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | $name.to_owned().into_string().unwrap_or_default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn build(yaml_config: Yaml) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | dest: call_string!(mapping_yaml[DEST]), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `call_string` (in Nightly builds, run with -Z macro-backtrace for more info) [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/call_macro.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | / $name [INFO] [stdout] 10 | | .to_owned() [INFO] [stdout] 11 | | .into_iter() [INFO] [stdout] 12 | | .map(|x| x.into_string().unwrap_or_default()) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn build(yaml_config: Yaml) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | exclude: call_vec!(mapping_yaml[EXCLUDE]), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `call_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/config.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | for server_list in config_yaml[ACTIVE][OPENSSH].as_vec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 185 | while let Some(server_list) = config_yaml[ACTIVE][OPENSSH].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 185 | if let Some(server_list) = config_yaml[ACTIVE][OPENSSH].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/config.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | for server_list in config_yaml[ACTIVE][PASSWORD].as_vec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 204 | while let Some(server_list) = config_yaml[ACTIVE][PASSWORD].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 204 | if let Some(server_list) = config_yaml[ACTIVE][PASSWORD].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/config.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | for server_list in config_yaml[ACTIVE][KEYPAIR].as_vec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 223 | while let Some(server_list) = config_yaml[ACTIVE][KEYPAIR].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(server_list) = config_yaml[ACTIVE][KEYPAIR].as_vec() { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-call` (bin "call") due to 5 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-call` (bin "call" test) due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "083c083fa7e7bac99f815e284c611193fd8fca4be795ae18a157d007ab5e07b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "083c083fa7e7bac99f815e284c611193fd8fca4be795ae18a157d007ab5e07b7", kill_on_drop: false }` [INFO] [stdout] 083c083fa7e7bac99f815e284c611193fd8fca4be795ae18a157d007ab5e07b7