[INFO] cloning repository https://github.com/anguslees/kubecfg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anguslees/kubecfg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanguslees%2Fkubecfg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanguslees%2Fkubecfg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81f3c82fcb4b766c60c06ef0824c225434bc367e [INFO] checking anguslees/kubecfg/81f3c82fcb4b766c60c06ef0824c225434bc367e 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%2Fanguslees%2Fkubecfg" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anguslees/kubecfg 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/anguslees/kubecfg [INFO] finished tweaking git repo https://github.com/anguslees/kubecfg [INFO] tweaked toml for git repo https://github.com/anguslees/kubecfg written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anguslees/kubecfg 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6a51be386111ad9d0710c4fe053688be49e9d41c4f391eb71a8231277adb4584 [INFO] running `Command { std: "docker" "start" "-a" "6a51be386111ad9d0710c4fe053688be49e9d41c4f391eb71a8231277adb4584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a51be386111ad9d0710c4fe053688be49e9d41c4f391eb71a8231277adb4584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a51be386111ad9d0710c4fe053688be49e9d41c4f391eb71a8231277adb4584", kill_on_drop: false }` [INFO] [stdout] 6a51be386111ad9d0710c4fe053688be49e9d41c4f391eb71a8231277adb4584 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 788b9b4fed1b5e6bc6df6a10bfdb08d704eedb005091f9f61c100d4f7919e8b7 [INFO] running `Command { std: "docker" "start" "-a" "788b9b4fed1b5e6bc6df6a10bfdb08d704eedb005091f9f61c100d4f7919e8b7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling jsonnet-sys v0.17.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Checking jsonnet-rs v0.17.0 [INFO] [stderr] Checking kubecfg v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitters.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitters.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/emitters.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | EmitError::FmtError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/emitters.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | EmitError::BadHashmapKey => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/emitters.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | EmitError::FmtError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/emitters.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | EmitError::BadHashmapKey => write!(f, "{}", self.description()), [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/main.rs:249:51 [INFO] [stdout] | [INFO] [stdout] 249 | .ok_or_else(|| ErrorKind::MalformedObject(o.to_owned()))?; [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:317:55 [INFO] [stdout] | [INFO] [stdout] 317 | .ok_or_else(|| ErrorKind::MalformedObject(list.clone()))?; [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 364 | let result = if let Some(filename) = matches.value_of_os("file") { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 372 | / result [INFO] [stdout] 373 | | .map(|v| v.as_str()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/emitters.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn emit_json(content: &JsonValue, mut w: W) -> Result<()> [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | content.write_pretty(&mut w, indent) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/kutils.rs:65:59 [INFO] [stdout] | [INFO] [stdout] 65 | .ok_or_else(|| ErrorKind::MalformedObject(v.to_owned()))?, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/kutils.rs:68:59 [INFO] [stdout] | [INFO] [stdout] 68 | .ok_or_else(|| ErrorKind::MalformedObject(v.to_owned()))?, [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: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kubecfg` (bin "kubecfg") due to 7 previous errors; 3 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/main.rs:249:51 [INFO] [stdout] | [INFO] [stdout] 249 | .ok_or_else(|| ErrorKind::MalformedObject(o.to_owned()))?; [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:317:55 [INFO] [stdout] | [INFO] [stdout] 317 | .ok_or_else(|| ErrorKind::MalformedObject(list.clone()))?; [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 364 | let result = if let Some(filename) = matches.value_of_os("file") { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 372 | / result [INFO] [stdout] 373 | | .map(|v| v.as_str()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/emitters.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn emit_json(content: &JsonValue, mut w: W) -> Result<()> [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | content.write_pretty(&mut w, indent) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/kutils.rs:65:59 [INFO] [stdout] | [INFO] [stdout] 65 | .ok_or_else(|| ErrorKind::MalformedObject(v.to_owned()))?, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/kutils.rs:68:59 [INFO] [stdout] | [INFO] [stdout] 68 | .ok_or_else(|| ErrorKind::MalformedObject(v.to_owned()))?, [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: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kubecfg` (bin "kubecfg" test) due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "788b9b4fed1b5e6bc6df6a10bfdb08d704eedb005091f9f61c100d4f7919e8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "788b9b4fed1b5e6bc6df6a10bfdb08d704eedb005091f9f61c100d4f7919e8b7", kill_on_drop: false }` [INFO] [stdout] 788b9b4fed1b5e6bc6df6a10bfdb08d704eedb005091f9f61c100d4f7919e8b7