[INFO] fetching crate lewp 0.3.0... [INFO] checking lewp-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate lewp 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate lewp 0.3.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 lewp 0.3.0 [INFO] finished tweaking crates.io crate lewp 0.3.0 [INFO] tweaked toml for crates.io crate lewp 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate lewp 0.3.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6c74d9a1adb9b3ce976dc5faeae500bf31c3a8feaa93b9231250ad9a2f0b2857 [INFO] running `Command { std: "docker" "start" "-a" "6c74d9a1adb9b3ce976dc5faeae500bf31c3a8feaa93b9231250ad9a2f0b2857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c74d9a1adb9b3ce976dc5faeae500bf31c3a8feaa93b9231250ad9a2f0b2857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c74d9a1adb9b3ce976dc5faeae500bf31c3a8feaa93b9231250ad9a2f0b2857", kill_on_drop: false }` [INFO] [stdout] 6c74d9a1adb9b3ce976dc5faeae500bf31c3a8feaa93b9231250ad9a2f0b2857 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2377f16ec36af4494c2eef382497a00ab033a91dc3fda5b15df36ac88edbd94b [INFO] running `Command { std: "docker" "start" "-a" "2377f16ec36af4494c2eef382497a00ab033a91dc3fda5b15df36ac88edbd94b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling lewp-selectors v0.23.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking charsets v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ordermap v0.2.13 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking langtag v0.2.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking string_cache v0.8.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling phf_macros v0.7.24 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.29.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking xml5ever v0.16.2 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking lewp-html v0.1.0 [INFO] [stderr] Checking lewp-css v0.1.22 [INFO] [stderr] Checking lewp v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `crate::LewpError` and `rc::Rc` [INFO] [stdout] --> src/module/runtime.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | crate::LewpError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | std::{cell::RefCell, collections::HashMap, rc::Rc}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `crate::LewpError` and `rc::Rc` [INFO] [stdout] --> src/module/runtime.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | crate::LewpError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | std::{cell::RefCell, collections::HashMap, rc::Rc}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/css/component.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | params: Self::ContentParameter, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/css/register.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | entity: Entireness, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/css/component.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | params: Self::ContentParameter, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/css/register.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | entity: Entireness, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `css` [INFO] [stdout] --> src/fh/mod.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let css = Css { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_css` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/css/register.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Register { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 26 | fh: Rc, [INFO] [stdout] 27 | options: RegisterOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_mountpoint` is never used [INFO] [stdout] --> src/fh/mod.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl FileHierarchy { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | fn remove_mountpoint( [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/css/processed_component.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | let content = component.content(())?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Ok(ProcessedComponent { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | render_critical: Arc::new(content.to_css_string(false)), [INFO] [stdout] 25 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/css/test/mod.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 60 | let dir = tempfile::tempdir().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let stylesheet = match css.content(()) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | Ok(c) => c, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | match dir.close() { [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/module/module.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn into_module_ptr(self) -> ModulePtr [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Rc::new(RefCell::new(self)) [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 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/css/register.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Register { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 26 | fh: Rc, [INFO] [stdout] 27 | options: RegisterOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lewp` (lib test) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated items `remove_mountpoint`, `isolate_path`, and `collect_foldernames` are never used [INFO] [stdout] --> src/fh/mod.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl FileHierarchy { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | fn remove_mountpoint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn isolate_path(&self, path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | fn collect_foldernames( [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/css/processed_component.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | let content = component.content(())?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Ok(ProcessedComponent { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | render_critical: Arc::new(content.to_css_string(false)), [INFO] [stdout] 25 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/module/module.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn into_module_ptr(self) -> ModulePtr [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Rc::new(RefCell::new(self)) [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lewp` (lib) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2377f16ec36af4494c2eef382497a00ab033a91dc3fda5b15df36ac88edbd94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2377f16ec36af4494c2eef382497a00ab033a91dc3fda5b15df36ac88edbd94b", kill_on_drop: false }` [INFO] [stdout] 2377f16ec36af4494c2eef382497a00ab033a91dc3fda5b15df36ac88edbd94b