[INFO] fetching crate flowgger 0.3.3... [INFO] checking flowgger-0.3.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate flowgger 0.3.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate flowgger 0.3.3 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 flowgger 0.3.3 [INFO] finished tweaking crates.io crate flowgger 0.3.3 [INFO] tweaked toml for crates.io crate flowgger 0.3.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate flowgger 0.3.3 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7315c75d44635d314efed5d6333a790787bfdb9ef6673e23a16f02737796f46f [INFO] running `Command { std: "docker" "start" "-a" "7315c75d44635d314efed5d6333a790787bfdb9ef6673e23a16f02737796f46f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7315c75d44635d314efed5d6333a790787bfdb9ef6673e23a16f02737796f46f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7315c75d44635d314efed5d6333a790787bfdb9ef6673e23a16f02737796f46f", kill_on_drop: false }` [INFO] [stdout] 7315c75d44635d314efed5d6333a790787bfdb9ef6673e23a16f02737796f46f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 69da9f39821365b90228edb79b307ffb0a7f97a86bb51e7590c96cea27a4416e [INFO] running `Command { std: "docker" "start" "-a" "69da9f39821365b90228edb79b307ffb0a7f97a86bb51e7590c96cea27a4416e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling capnp v0.10.3 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling capnpc v0.10.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking ref_slice v1.2.1 [INFO] [stderr] Checking dtoa v0.2.2 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking capnp v0.14.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Compiling flowgger v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking serde_json v0.8.6 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking kafka v0.8.0 [INFO] [stderr] Checking redis v0.21.7 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling time-tz v0.3.1 [INFO] [stdout] warning: field `threads` is never read [INFO] [stdout] --> src/flowgger/input/tcp/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TcpConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | framing: String, [INFO] [stdout] 18 | threads: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpConfig` has a derived impl for the trait `Clone`, 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: field `threads` is never read [INFO] [stdout] --> src/flowgger/input/tls/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct TlsConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 36 | framing: String, [INFO] [stdout] 37 | threads: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TlsConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/flowgger/output/tls_output.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct TlsConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 52 | timeout: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TlsConfig` has a derived impl for the trait `Clone`, but this is 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/flowgger/utils/rotating_file.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 94 | basepath: P, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | current_file: None, [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] error: could not compile `flowgger` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/flowgger/test_fuzzer.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe { addr_of_mut!(GLOBAL_CONTEXT) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `threads` is never read [INFO] [stdout] --> src/flowgger/input/tcp/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TcpConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | framing: String, [INFO] [stdout] 18 | threads: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpConfig` has a derived impl for the trait `Clone`, 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: field `threads` is never read [INFO] [stdout] --> src/flowgger/input/tls/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct TlsConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 36 | framing: String, [INFO] [stdout] 37 | threads: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TlsConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/flowgger/output/tls_output.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct TlsConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 52 | timeout: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TlsConfig` has a derived impl for the trait `Clone`, but this is 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/flowgger/output/file_output.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 243 | let temp_dir = TempDir::new("test_file_output")?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | Ok(Self { [INFO] [stdout] | ________________^ [INFO] [stdout] 250 | | file_base, [INFO] [stdout] 251 | | test_patterns: vec!["abcdef", "ghijkl", "012345", "678901"], [INFO] [stdout] 252 | | _temp_dir: temp_dir, [INFO] [stdout] 253 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/flowgger/utils/rotating_file.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 94 | basepath: P, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | current_file: None, [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 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flowgger` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "69da9f39821365b90228edb79b307ffb0a7f97a86bb51e7590c96cea27a4416e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69da9f39821365b90228edb79b307ffb0a7f97a86bb51e7590c96cea27a4416e", kill_on_drop: false }` [INFO] [stdout] 69da9f39821365b90228edb79b307ffb0a7f97a86bb51e7590c96cea27a4416e