[INFO] fetching crate ntge 0.1.0... [INFO] checking ntge-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ntge 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ntge 0.1.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 ntge 0.1.0 [INFO] finished tweaking crates.io crate ntge 0.1.0 [INFO] tweaked toml for crates.io crate ntge 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ntge 0.1.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-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] f2ce8942784541cf3d9fcd795c61acd8bc7641d43b95581d6a2caab162280ff5 [INFO] running `Command { std: "docker" "start" "-a" "f2ce8942784541cf3d9fcd795c61acd8bc7641d43b95581d6a2caab162280ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2ce8942784541cf3d9fcd795c61acd8bc7641d43b95581d6a2caab162280ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ce8942784541cf3d9fcd795c61acd8bc7641d43b95581d6a2caab162280ff5", kill_on_drop: false }` [INFO] [stdout] f2ce8942784541cf3d9fcd795c61acd8bc7641d43b95581d6a2caab162280ff5 [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] e2c44309226989bd262e07993e9de4814296684c991d5752d42633c7033f4cea [INFO] running `Command { std: "docker" "start" "-a" "e2c44309226989bd262e07993e9de4814296684c991d5752d42633c7033f4cea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Checking subtle v2.2.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling cbindgen v0.14.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling jni v0.16.0 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking poly1305 v0.5.2 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking half v1.5.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking bech32 v0.7.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking chacha20 v0.3.4 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking chacha20poly1305 v0.4.1 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.3 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking bson v0.14.1 [INFO] [stderr] Compiling ntge-core v0.1.0 [INFO] [stderr] Checking ntge v0.1.0 (/opt/rustwide/workdir) [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/create.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 4 | let mut cmd = Command::new("cargo"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | match cmd [INFO] [stdout] | ___________^ [INFO] [stdout] 6 | | .args(&["run", "--bin", "ntge-keygen"]) [INFO] [stdout] 7 | | .args(&["--", "-f", "example_key"]) [INFO] [stdout] 8 | | .spawn() [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 `ntge` (example "encrypt") 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/encrypt.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cmd = Command::new("cargo"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | let output = match cmd [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | Ok(output) => output, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | match output.stdin.unwrap().write_all(TESTSTRING.as_bytes()) { [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 `ntge` (example "create") 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/encrypt_sign.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cmd = Command::new("cargo"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | let output = match cmd [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Ok(output) => output, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | match output.stdin.unwrap().write_all(TESTSTRING.as_bytes()) { [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 `ntge` (example "encrypt_sign") due to 2 previous errors [INFO] [stdout] warning: fields `path` and `key_content` are never read [INFO] [stdout] --> src/bin/ntge/encrypt/recipient.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Recipient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | pub(crate) path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub(crate) name: String, [INFO] [stdout] 12 | pub(crate) key_content: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recipient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/bin/ntge/util.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Identity { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 99 | pub(crate) path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Identity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/bin/ntge/util.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 153 | let mut private_key: Option = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let mut public_key: Option = None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | Some(Identity { [INFO] [stdout] | __________^ [INFO] [stdout] 193 | | path: path.clone(), [INFO] [stdout] 194 | | name, [INFO] [stdout] 195 | | private_key, [INFO] [stdout] 196 | | public_key, [INFO] [stdout] 197 | | }) [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 `ntge` (bin "ntge") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e2c44309226989bd262e07993e9de4814296684c991d5752d42633c7033f4cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c44309226989bd262e07993e9de4814296684c991d5752d42633c7033f4cea", kill_on_drop: false }` [INFO] [stdout] e2c44309226989bd262e07993e9de4814296684c991d5752d42633c7033f4cea