[INFO] fetching crate fsx 0.2.0... [INFO] checking fsx-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fsx 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate fsx 0.2.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 fsx 0.2.0 [INFO] finished tweaking crates.io crate fsx 0.2.0 [INFO] tweaked toml for crates.io crate fsx 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate fsx 0.2.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-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] 052eb66a1ed07248375166f8dbb13f5680d8fae7570bce3b93f7655ba07f4b50 [INFO] running `Command { std: "docker" "start" "-a" "052eb66a1ed07248375166f8dbb13f5680d8fae7570bce3b93f7655ba07f4b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "052eb66a1ed07248375166f8dbb13f5680d8fae7570bce3b93f7655ba07f4b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "052eb66a1ed07248375166f8dbb13f5680d8fae7570bce3b93f7655ba07f4b50", kill_on_drop: false }` [INFO] [stdout] 052eb66a1ed07248375166f8dbb13f5680d8fae7570bce3b93f7655ba07f4b50 [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] 3dc3a107c709d0a1e4b7c21e08a32794646885d7f0fdcb6b98437f43edc4331d [INFO] running `Command { std: "docker" "start" "-a" "3dc3a107c709d0a1e4b7c21e08a32794646885d7f0fdcb6b98437f43edc4331d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.27 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking futures-sink v0.3.27 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-io v0.3.27 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking konst_kernel v0.3.4 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Checking predicates-core v1.0.5 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking const_panic v0.2.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking termtree v0.4.0 [INFO] [stderr] Compiling fsx v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking bstr v1.1.0 [INFO] [stderr] Checking predicates-tree v1.0.7 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Checking ringbuffer v0.11.1 [INFO] [stderr] Compiling rstest_macros v0.16.0 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking assert_cmd v2.0.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling futures-macro v0.3.27 [INFO] [stderr] Compiling clap_derive v4.1.9 [INFO] [stderr] Checking clap v4.1.11 [INFO] [stderr] Checking futures-executor v0.3.27 [INFO] [stderr] Checking clap-verbosity-flag v2.1.1 [INFO] [stderr] Checking futures v0.3.27 [INFO] [stderr] Checking rstest v0.16.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `target_is` [INFO] [stdout] --> src/main.rs:581:22 [INFO] [stdout] | [INFO] [stdout] 581 | if #[cfg(any(target_is = "macos", target_os = "dragonfly", target_os = "ios"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_is, values("macos"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_is, values(\"macos\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 581 | if #[cfg(any(target_os = "macos", target_os = "dragonfly", target_os = "ios"))] { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_fspacectl` [INFO] [stdout] --> src/main.rs:1687:22 [INFO] [stdout] | [INFO] [stdout] 1687 | if #[cfg(have_fspacectl)] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_fspacectl)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_fspacectl)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_fspacectl` [INFO] [stdout] --> tests/integration.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 678 | have_fspacectl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_fspacectl)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_fspacectl)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_fspacectl` [INFO] [stdout] --> tests/integration.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | have_fspacectl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_fspacectl)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_fspacectl)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target_is` [INFO] [stdout] --> src/main.rs:581:22 [INFO] [stdout] | [INFO] [stdout] 581 | if #[cfg(any(target_is = "macos", target_os = "dragonfly", target_os = "ios"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_is, values("macos"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_is, values(\"macos\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 581 | if #[cfg(any(target_os = "macos", target_os = "dragonfly", target_os = "ios"))] { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `have_fspacectl` [INFO] [stdout] --> src/main.rs:1687:22 [INFO] [stdout] | [INFO] [stdout] 1687 | if #[cfg(have_fspacectl)] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(have_fspacectl)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(have_fspacectl)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used [INFO] [stdout] --> src/main.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | placeholder.into_raw_fd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the raw file descriptor may leak resources [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 865 | let _ = placeholder.into_raw_fd(); [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:1865:20 [INFO] [stdout] | [INFO] [stdout] 1788 | let mut file = oo.open(&cli.fname).expect("Cannot create file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1865 | oplog: AllocRingBuffer::with_capacity(1024), [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fsx` (bin "fsx") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used [INFO] [stdout] --> src/main.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | placeholder.into_raw_fd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the raw file descriptor may leak resources [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 865 | let _ = placeholder.into_raw_fd(); [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:1865:20 [INFO] [stdout] | [INFO] [stdout] 1788 | let mut file = oo.open(&cli.fname).expect("Cannot create file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1865 | oplog: AllocRingBuffer::with_capacity(1024), [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fsx` (bin "fsx" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3dc3a107c709d0a1e4b7c21e08a32794646885d7f0fdcb6b98437f43edc4331d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc3a107c709d0a1e4b7c21e08a32794646885d7f0fdcb6b98437f43edc4331d", kill_on_drop: false }` [INFO] [stdout] 3dc3a107c709d0a1e4b7c21e08a32794646885d7f0fdcb6b98437f43edc4331d