[INFO] cloning repository https://github.com/aeroxmotion/rust-dom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aeroxmotion/rust-dom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroxmotion%2Frust-dom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroxmotion%2Frust-dom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06e52322a544c61b93e627c57b7a9a708f74e57a [INFO] checking aeroxmotion/rust-dom/06e52322a544c61b93e627c57b7a9a708f74e57a against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroxmotion%2Frust-dom" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aeroxmotion/rust-dom 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 git repo https://github.com/aeroxmotion/rust-dom [INFO] finished tweaking git repo https://github.com/aeroxmotion/rust-dom [INFO] tweaked toml for git repo https://github.com/aeroxmotion/rust-dom written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aeroxmotion/rust-dom 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] f13537dd020308ccb4d19df2b2d37965302b0a212f1f293e4e7aeb1274ab1c6d [INFO] running `Command { std: "docker" "start" "-a" "f13537dd020308ccb4d19df2b2d37965302b0a212f1f293e4e7aeb1274ab1c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f13537dd020308ccb4d19df2b2d37965302b0a212f1f293e4e7aeb1274ab1c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13537dd020308ccb4d19df2b2d37965302b0a212f1f293e4e7aeb1274ab1c6d", kill_on_drop: false }` [INFO] [stdout] f13537dd020308ccb4d19df2b2d37965302b0a212f1f293e4e7aeb1274ab1c6d [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] 7367875bdddc2482855a0c14c43b7385d875db77333a69edf8053d6a668ca52a [INFO] running `Command { std: "docker" "start" "-a" "7367875bdddc2482855a0c14c43b7385d875db77333a69edf8053d6a668ca52a", kill_on_drop: false }` [INFO] [stderr] Checking rust-dom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `shadow_tree`, `shadow_adjusted_target`, `related_target`, and `touch_targets` are never read [INFO] [stdout] --> src/event/event.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PathTarget { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub invocation_target: Box, [INFO] [stdout] 16 | pub shadow_tree: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub shadow_adjusted_target: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub related_target: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub touch_targets: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_event_listener` and `remove_event_listener` are never used [INFO] [stdout] --> src/event/event_target.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait EventTarget { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 2 | fn add_event_listener<'a>(&self, typ: &'a str, callback: fn() -> ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | fn remove_event_listener<'a>(&self, typ: &'a str, callback: fn() -> ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `src_element` is never used [INFO] [stdout] --> src/event/event_traits.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait IEvent { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | fn src_element(&self) -> Option<&Box> { self.target() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomEventInit` is never constructed [INFO] [stdout] --> src/event/custom_event.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CustomEventInit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/event/custom_event.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl CustomEventInit { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `init_custom_event` are never used [INFO] [stdout] --> src/event/custom_event.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 112 | impl CustomEvent { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(type_: &str, event_init_dict: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn init_custom_event(&mut self, type_: &DOMString, bubbles: Boolean, cancelable: Boolean, detail: Option>) { [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/event/custom_event.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn new(type_: &str, event_init_dict: Option) -> Self { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let event_init_dict = match event_init_dict { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | None => CustomEventInit::new(), [INFO] [stdout] 116 | Some(dict) => dict, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | event: Event::new(type_, EventInit { [INFO] [stdout] | ______________^ [INFO] [stdout] 121 | | bubbles: event_init_dict.bubbles, [INFO] [stdout] 122 | | cancelable: event_init_dict.cancelable, [INFO] [stdout] 123 | | composed: event_init_dict.composed, [INFO] [stdout] 124 | | }.into()), [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-dom` (bin "rust-dom" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `shadow_tree`, `shadow_adjusted_target`, `related_target`, and `touch_targets` are never read [INFO] [stdout] --> src/event/event.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PathTarget { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub invocation_target: Box, [INFO] [stdout] 16 | pub shadow_tree: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub shadow_adjusted_target: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub related_target: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub touch_targets: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_event_listener` and `remove_event_listener` are never used [INFO] [stdout] --> src/event/event_target.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait EventTarget { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 2 | fn add_event_listener<'a>(&self, typ: &'a str, callback: fn() -> ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | fn remove_event_listener<'a>(&self, typ: &'a str, callback: fn() -> ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `src_element` is never used [INFO] [stdout] --> src/event/event_traits.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait IEvent { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | fn src_element(&self) -> Option<&Box> { self.target() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomEventInit` is never constructed [INFO] [stdout] --> src/event/custom_event.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CustomEventInit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/event/custom_event.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl CustomEventInit { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `init_custom_event` are never used [INFO] [stdout] --> src/event/custom_event.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 112 | impl CustomEvent { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(type_: &str, event_init_dict: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn init_custom_event(&mut self, type_: &DOMString, bubbles: Boolean, cancelable: Boolean, detail: Option>) { [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/event/custom_event.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn new(type_: &str, event_init_dict: Option) -> Self { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let event_init_dict = match event_init_dict { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | None => CustomEventInit::new(), [INFO] [stdout] 116 | Some(dict) => dict, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | event: Event::new(type_, EventInit { [INFO] [stdout] | ______________^ [INFO] [stdout] 121 | | bubbles: event_init_dict.bubbles, [INFO] [stdout] 122 | | cancelable: event_init_dict.cancelable, [INFO] [stdout] 123 | | composed: event_init_dict.composed, [INFO] [stdout] 124 | | }.into()), [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-dom` (bin "rust-dom") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7367875bdddc2482855a0c14c43b7385d875db77333a69edf8053d6a668ca52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7367875bdddc2482855a0c14c43b7385d875db77333a69edf8053d6a668ca52a", kill_on_drop: false }` [INFO] [stdout] 7367875bdddc2482855a0c14c43b7385d875db77333a69edf8053d6a668ca52a