[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] testing xiekun1992/layout_rust against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-1-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [INFO] testing xiekun1992/layout_rust against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-1-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [INFO] testing xiekun1992/layout_rust against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-1-tc2/source': No space left on device [INFO] testing xiekun1992/layout_rust against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-1-tc2/source': No space left on device [INFO] testing xiekun1992/layout_rust against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xiekun1992/layout_rust on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-1-tc2/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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 654b6e2ca11eaa6c54e509e24ed331f740e539c904f3f283326842acd6508d1b [INFO] running `Command { std: "docker" "start" "-a" "654b6e2ca11eaa6c54e509e24ed331f740e539c904f3f283326842acd6508d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "654b6e2ca11eaa6c54e509e24ed331f740e539c904f3f283326842acd6508d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654b6e2ca11eaa6c54e509e24ed331f740e539c904f3f283326842acd6508d1b", kill_on_drop: false }` [INFO] [stdout] 654b6e2ca11eaa6c54e509e24ed331f740e539c904f3f283326842acd6508d1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32b0d17d3810487a780b71a74c2a59b61d16f5fcc6c7be371e458e471dc02726 [INFO] running `Command { std: "docker" "start" "-a" "32b0d17d3810487a780b71a74c2a59b61d16f5fcc6c7be371e458e471dc02726", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling ego-tree v0.6.2 [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] Compiling selectors v0.25.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scraper v0.18.1 [INFO] [stderr] Compiling 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.84s [INFO] running `Command { std: "docker" "inspect" "32b0d17d3810487a780b71a74c2a59b61d16f5fcc6c7be371e458e471dc02726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b0d17d3810487a780b71a74c2a59b61d16f5fcc6c7be371e458e471dc02726", kill_on_drop: false }` [INFO] [stdout] 32b0d17d3810487a780b71a74c2a59b61d16f5fcc6c7be371e458e471dc02726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de7f11ce751497b1c0386c5aa7cc718379f5afbf85658b79528b8d5c8b4dddc2 [INFO] running `Command { std: "docker" "start" "-a" "de7f11ce751497b1c0386c5aa7cc718379f5afbf85658b79528b8d5c8b4dddc2", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "de7f11ce751497b1c0386c5aa7cc718379f5afbf85658b79528b8d5c8b4dddc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7f11ce751497b1c0386c5aa7cc718379f5afbf85658b79528b8d5c8b4dddc2", kill_on_drop: false }` [INFO] [stdout] de7f11ce751497b1c0386c5aa7cc718379f5afbf85658b79528b8d5c8b4dddc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 777d2e65850c6df811f73c62b82bb874651e701831f5cc59ef054ba9d334110d [INFO] running `Command { std: "docker" "start" "-a" "777d2e65850c6df811f73c62b82bb874651e701831f5cc59ef054ba9d334110d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `BorrowMut`, `Borrow`, and `rc::Rc` [INFO] [stderr] --> src/engine/parser.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | borrow::{Borrow, BorrowMut}, [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] 3 | ops::Add, [INFO] [stderr] 4 | rc::Rc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `scraper::node::Element` [INFO] [stderr] --> src/engine/parser.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use scraper::node::Element; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::engine::Node` [INFO] [stderr] --> src/engine/parser.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::engine::Node; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/engine/parser.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | let (width, height, background_color) = self.parse_attr(&attr.to_string()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/engine/parser.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | let (width, height, background_color) = self.parse_attr(&attr.to_string()); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `background_color` [INFO] [stderr] --> src/engine/parser.rs:28:29 [INFO] [stderr] | [INFO] [stderr] 28 | let (width, height, background_color) = self.parse_attr(&attr.to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_color` [INFO] [stderr] [INFO] [stderr] warning: struct `Node` is never constructed [INFO] [stderr] --> src/engine/mod.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Node { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/engine/mod.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl Node { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 16 | pub fn new(__id: u32, width: String, height: String, background_color: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LayoutEngine` is never constructed [INFO] [stderr] --> src/engine/mod.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct LayoutEngine { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LayoutEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `set_root` are never used [INFO] [stderr] --> src/engine/mod.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 33 | impl LayoutEngine { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 34 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn set_root(&mut self, root: Node) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `x` and `y` are never read [INFO] [stderr] --> src/engine/div.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ElementDiv { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 5 | x: usize, [INFO] [stderr] | ^ [INFO] [stderr] 6 | y: usize, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `ElementDiv` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `layout` is never used [INFO] [stderr] --> src/engine/parser.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Parser { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn layout() {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `layout-rust` (bin "layout-rust" test) generated 12 warnings (run `cargo fix --bin "layout-rust" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/layout_rust-86847bfc81b92d7c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "777d2e65850c6df811f73c62b82bb874651e701831f5cc59ef054ba9d334110d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "777d2e65850c6df811f73c62b82bb874651e701831f5cc59ef054ba9d334110d", kill_on_drop: false }` [INFO] [stdout] 777d2e65850c6df811f73c62b82bb874651e701831f5cc59ef054ba9d334110d