[INFO] fetching crate fm_plugin 0.1.17... [INFO] checking fm_plugin-0.1.17 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate fm_plugin 0.1.17 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate fm_plugin 0.1.17 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] started tweaking crates.io crate fm_plugin 0.1.17 [INFO] finished tweaking crates.io crate fm_plugin 0.1.17 [INFO] tweaked toml for crates.io crate fm_plugin 0.1.17 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding widestring v0.4.3 (available: v1.1.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 33456997b661d7b57bdf7867b0f9c569edde5fe8cbd154bbc37d3383a7dc4155 [INFO] running `Command { std: "docker" "start" "-a" "33456997b661d7b57bdf7867b0f9c569edde5fe8cbd154bbc37d3383a7dc4155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33456997b661d7b57bdf7867b0f9c569edde5fe8cbd154bbc37d3383a7dc4155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33456997b661d7b57bdf7867b0f9c569edde5fe8cbd154bbc37d3383a7dc4155", kill_on_drop: false }` [INFO] [stdout] 33456997b661d7b57bdf7867b0f9c569edde5fe8cbd154bbc37d3383a7dc4155 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 74b6a5612af18527252b7075e7139cec4c9c9a2784701edbcc177d622884b252 [INFO] running `Command { std: "docker" "start" "-a" "74b6a5612af18527252b7075e7139cec4c9c9a2784701edbcc177d622884b252", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling fm_plugin v0.1.17 (/opt/rustwide/workdir) [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stdout] error: this value of type `text::Text` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/data.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 366 | fn from(data: Data) -> String { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 367 | data.get_as_text().to_string() [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: this value of type `UCString` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/text.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 439 | fn from(txt: Text) -> u16 { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | unsafe { *txt.get_unicode(0, txt.size()).as_ptr() } [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 `text::Text` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/data.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 366 | fn from(data: Data) -> String { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 367 | data.get_as_text().to_string() [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] warning: fields `filemaker`, `plugin`, and `code_signing` are never read [INFO] [stdout] --> src/config.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 85 | pub(crate) filemaker: FileMaker, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | pub(crate) plugin: Plugin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | pub(crate) log: Log, [INFO] [stdout] 88 | pub(crate) code_signing: CodeSigning, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ext_path`, `bin_path`, `launch`, and `kill` are never read [INFO] [stdout] --> src/config.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) struct FileMaker { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 93 | pub(crate) ext_path: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | pub(crate) bin_path: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 95 | pub(crate) launch: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | pub(crate) kill: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileMaker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `bundle`, and `move_to_ext` are never read [INFO] [stdout] --> src/config.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) struct Plugin { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 101 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 102 | pub(crate) bundle: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | pub(crate) move_to_ext: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plugin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sign`, `windows`, and `macos` are never read [INFO] [stdout] --> src/config.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) struct CodeSigning { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 108 | pub(crate) sign: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 109 | pub(crate) windows: SignWindows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | pub(crate) macos: SignMacOs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeSigning` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `signtool_path`, `cert_path`, `cert_pass`, and `timestamp_url` are never read [INFO] [stdout] --> src/config.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) struct SignWindows { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 115 | pub(crate) signtool_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub(crate) cert_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | pub(crate) cert_pass: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 118 | pub(crate) timestamp_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignWindows` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `identity` is never read [INFO] [stdout] --> src/config.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) struct SignMacOs { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 123 | pub(crate) identity: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignMacOs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `UCString` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/text.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 439 | fn from(txt: Text) -> u16 { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | unsafe { *txt.get_unicode(0, txt.size()).as_ptr() } [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] [stderr] error: could not compile `fm_plugin` (lib) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `filemaker`, `plugin`, and `code_signing` are never read [INFO] [stdout] --> src/config.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 85 | pub(crate) filemaker: FileMaker, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | pub(crate) plugin: Plugin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | pub(crate) log: Log, [INFO] [stdout] 88 | pub(crate) code_signing: CodeSigning, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ext_path`, `bin_path`, `launch`, and `kill` are never read [INFO] [stdout] --> src/config.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) struct FileMaker { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 93 | pub(crate) ext_path: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | pub(crate) bin_path: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 95 | pub(crate) launch: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | pub(crate) kill: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileMaker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `bundle`, and `move_to_ext` are never read [INFO] [stdout] --> src/config.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) struct Plugin { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 101 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 102 | pub(crate) bundle: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | pub(crate) move_to_ext: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plugin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sign`, `windows`, and `macos` are never read [INFO] [stdout] --> src/config.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) struct CodeSigning { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 108 | pub(crate) sign: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 109 | pub(crate) windows: SignWindows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | pub(crate) macos: SignMacOs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeSigning` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `signtool_path`, `cert_path`, `cert_pass`, and `timestamp_url` are never read [INFO] [stdout] --> src/config.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) struct SignWindows { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 115 | pub(crate) signtool_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub(crate) cert_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | pub(crate) cert_pass: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 118 | pub(crate) timestamp_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignWindows` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `identity` is never read [INFO] [stdout] --> src/config.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) struct SignMacOs { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 123 | pub(crate) identity: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignMacOs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 `fm_plugin` (lib test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74b6a5612af18527252b7075e7139cec4c9c9a2784701edbcc177d622884b252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b6a5612af18527252b7075e7139cec4c9c9a2784701edbcc177d622884b252", kill_on_drop: false }` [INFO] [stdout] 74b6a5612af18527252b7075e7139cec4c9c9a2784701edbcc177d622884b252