[INFO] cloning repository https://github.com/KokiHirokawa/sababook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KokiHirokawa/sababook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKokiHirokawa%2Fsababook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKokiHirokawa%2Fsababook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fb6af03319afcd2249e08f0693c26ecd366014c [INFO] building KokiHirokawa/sababook against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKokiHirokawa%2Fsababook" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KokiHirokawa/sababook on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/KokiHirokawa/sababook [INFO] finished tweaking git repo https://github.com/KokiHirokawa/sababook [INFO] tweaked toml for git repo https://github.com/KokiHirokawa/sababook written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KokiHirokawa/sababook 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/hikalium/wasabi.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19b029a550e8a93d353bc616731532c6b10533fe8062960b8833eca741c31dee [INFO] running `Command { std: "docker" "start" "-a" "19b029a550e8a93d353bc616731532c6b10533fe8062960b8833eca741c31dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19b029a550e8a93d353bc616731532c6b10533fe8062960b8833eca741c31dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b029a550e8a93d353bc616731532c6b10533fe8062960b8833eca741c31dee", kill_on_drop: false }` [INFO] [stdout] 19b029a550e8a93d353bc616731532c6b10533fe8062960b8833eca741c31dee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 941faff648f7b2c4357b4ba79982b6fbcf0975a5e74d65bcf1a6f97fb7431959 [INFO] running `Command { std: "docker" "start" "-a" "941faff648f7b2c4357b4ba79982b6fbcf0975a5e74d65bcf1a6f97fb7431959", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling micromath v2.1.0 [INFO] [stderr] Compiling sabi v0.1.0 (https://github.com/hikalium/wasabi.git?branch=for_saba#54bff895) [INFO] [stderr] Compiling saba_core v0.1.0 (/opt/rustwide/workdir/saba_core) [INFO] [stdout] error[E0412]: cannot find type `DisplayItem` in this scope [INFO] [stdout] --> saba_core/src/renderer/layout/layout_view.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | display_items: &mut Vec [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::display_item::DisplayItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DisplayItem` in this scope [INFO] [stdout] --> saba_core/src/renderer/layout/layout_view.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn paint(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::display_item::DisplayItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::Layout` [INFO] [stdout] --> saba_core/src/renderer/layout/layout_object.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::renderer::layout::computed_style::DisplayType::DisplayNone` [INFO] [stdout] --> saba_core/src/renderer/layout/layout_object.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::renderer::layout::computed_style::DisplayType::DisplayNone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alloc::string::ToString` [INFO] [stdout] --> saba_core/src/renderer/page.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::convert_dom_to_string` [INFO] [stdout] --> saba_core/src/renderer/page.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::convert_dom_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::renderer::layout::layout_object::create_layout_object` [INFO] [stdout] --> saba_core/src/renderer/page.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::renderer::layout::layout_object::create_layout_object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> saba_core/src/renderer/html/parser.rs:367:29 [INFO] [stdout] | [INFO] [stdout] 362 | let mut last_sibling = current.borrow().first_child(); [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | `last_sibling` calls a custom destructor [INFO] [stdout] | `last_sibling` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | if node.borrow().next_sibling().is_some() { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 367 | node.borrow().next_sibling() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 368 | } else { [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/core/src/cell.rs:1434:1 [INFO] [stdout] note: `last_sibling` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/rc.rs:3426:1 [INFO] [stdout] note: `last_sibling` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/rc.rs:3426:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/rc.rs:3426:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/rc.rs:3426:1 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/core/src/cell.rs:1434:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `saba_core` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "941faff648f7b2c4357b4ba79982b6fbcf0975a5e74d65bcf1a6f97fb7431959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941faff648f7b2c4357b4ba79982b6fbcf0975a5e74d65bcf1a6f97fb7431959", kill_on_drop: false }` [INFO] [stdout] 941faff648f7b2c4357b4ba79982b6fbcf0975a5e74d65bcf1a6f97fb7431959