[INFO] cloning repository https://github.com/xiekun1992/layout_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiekun1992/layout_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fb9e6ba7399b208687ea0238c617485cbf2ad1a [INFO] checking xiekun1992/layout_rust against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xiekun1992/layout_rust on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiekun1992/layout_rust [INFO] finished tweaking git repo https://github.com/xiekun1992/layout_rust [INFO] tweaked toml for git repo https://github.com/xiekun1992/layout_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xiekun1992/layout_rust 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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bfe646052de1f6588cc8f903465aeced87a1268ec515596a916a6f5d86acd7d [INFO] running `Command { std: "docker" "start" "-a" "9bfe646052de1f6588cc8f903465aeced87a1268ec515596a916a6f5d86acd7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bfe646052de1f6588cc8f903465aeced87a1268ec515596a916a6f5d86acd7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfe646052de1f6588cc8f903465aeced87a1268ec515596a916a6f5d86acd7d", kill_on_drop: false }` [INFO] [stdout] 9bfe646052de1f6588cc8f903465aeced87a1268ec515596a916a6f5d86acd7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae7048210716f004df5d37a8057991b01efdec9afde0a7187e48f78b35991689 [INFO] running `Command { std: "docker" "start" "-a" "ae7048210716f004df5d37a8057991b01efdec9afde0a7187e48f78b35991689", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dtoa-short v0.3.4 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking scraper v0.18.1 [INFO] [stderr] Checking layout-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow`, and `rc::Rc` [INFO] [stdout] --> src/engine/parser.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | ops::Add, [INFO] [stdout] 4 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scraper::node::Element` [INFO] [stdout] --> src/engine/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scraper::node::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::Node` [INFO] [stdout] --> src/engine/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::engine::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow`, and `rc::Rc` [INFO] [stdout] --> src/engine/parser.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | ops::Add, [INFO] [stdout] 4 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scraper::node::Element` [INFO] [stdout] --> src/engine/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use scraper::node::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::Node` [INFO] [stdout] --> src/engine/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::engine::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/engine/parser.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | let (width, height, background_color) = self.parse_attr(&attr.to_string()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/engine/parser.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let (width, height, background_color) = self.parse_attr(&attr.to_string()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `background_color` [INFO] [stdout] --> src/engine/parser.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let (width, height, background_color) = self.parse_attr(&attr.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/engine/parser.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | let (width, height, background_color) = self.parse_attr(&attr.to_string()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/engine/parser.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let (width, height, background_color) = self.parse_attr(&attr.to_string()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `background_color` [INFO] [stdout] --> src/engine/parser.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let (width, height, background_color) = self.parse_attr(&attr.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/engine/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, 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: associated function `new` is never used [INFO] [stdout] --> src/engine/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(__id: u32, width: String, height: String, background_color: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutEngine` is never constructed [INFO] [stdout] --> src/engine/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LayoutEngine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayoutEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_root` are never used [INFO] [stdout] --> src/engine/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl LayoutEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_root(&mut self, root: Node) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/engine/div.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ElementDiv { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | x: usize, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementDiv` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `layout` is never used [INFO] [stdout] --> src/engine/parser.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn layout() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/engine/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, 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: associated function `new` is never used [INFO] [stdout] --> src/engine/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(__id: u32, width: String, height: String, background_color: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutEngine` is never constructed [INFO] [stdout] --> src/engine/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LayoutEngine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayoutEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_root` are never used [INFO] [stdout] --> src/engine/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl LayoutEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_root(&mut self, root: Node) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/engine/div.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ElementDiv { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | x: usize, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementDiv` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `layout` is never used [INFO] [stdout] --> src/engine/parser.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn layout() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.66s [INFO] running `Command { std: "docker" "inspect" "ae7048210716f004df5d37a8057991b01efdec9afde0a7187e48f78b35991689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7048210716f004df5d37a8057991b01efdec9afde0a7187e48f78b35991689", kill_on_drop: false }` [INFO] [stdout] ae7048210716f004df5d37a8057991b01efdec9afde0a7187e48f78b35991689