[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 try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xiekun1992/layout_rust on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking xiekun1992/layout_rust against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiekun1992%2Flayout_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xiekun1992/layout_rust on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scraper v0.18.1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba2de1769d4c082f55f135978a4c62a57cd97d15e33c5d99a8f8ba6fe6dd657a [INFO] running `Command { std: "docker" "start" "-a" "ba2de1769d4c082f55f135978a4c62a57cd97d15e33c5d99a8f8ba6fe6dd657a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba2de1769d4c082f55f135978a4c62a57cd97d15e33c5d99a8f8ba6fe6dd657a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2de1769d4c082f55f135978a4c62a57cd97d15e33c5d99a8f8ba6fe6dd657a", kill_on_drop: false }` [INFO] [stdout] ba2de1769d4c082f55f135978a4c62a57cd97d15e33c5d99a8f8ba6fe6dd657a [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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e77bd3f0822fa41b67bb829c620f55f470172a709971da1515ce5cf9cf183a85 [INFO] running `Command { std: "docker" "start" "-a" "e77bd3f0822fa41b67bb829c620f55f470172a709971da1515ce5cf9cf183a85", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling phf_shared v0.10.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 phf_shared v0.11.2 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking dtoa-short v0.3.4 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking ahash v0.8.7 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling rand_core v0.6.4 [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] 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] Checking cssparser v0.31.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [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 13.94s [INFO] running `Command { std: "docker" "inspect" "e77bd3f0822fa41b67bb829c620f55f470172a709971da1515ce5cf9cf183a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77bd3f0822fa41b67bb829c620f55f470172a709971da1515ce5cf9cf183a85", kill_on_drop: false }` [INFO] [stdout] e77bd3f0822fa41b67bb829c620f55f470172a709971da1515ce5cf9cf183a85