[INFO] cloning repository https://github.com/stshine/wedit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stshine/wedit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstshine%2Fwedit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstshine%2Fwedit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1572afab3e7975933fdd383ffc4afa7db4632f12 [INFO] building stshine/wedit against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstshine%2Fwedit" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stshine/wedit [INFO] finished tweaking git repo https://github.com/stshine/wedit [INFO] tweaked toml for git repo https://github.com/stshine/wedit written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stshine/wedit on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stshine/wedit 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75e407814eef3a126916d86984ab95af81ca24f4678b85b0f1cba26c5010403a [INFO] running `Command { std: "docker" "start" "-a" "75e407814eef3a126916d86984ab95af81ca24f4678b85b0f1cba26c5010403a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75e407814eef3a126916d86984ab95af81ca24f4678b85b0f1cba26c5010403a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e407814eef3a126916d86984ab95af81ca24f4678b85b0f1cba26c5010403a", kill_on_drop: false }` [INFO] [stdout] 75e407814eef3a126916d86984ab95af81ca24f4678b85b0f1cba26c5010403a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69fdfc6c24de22a5f8fe76a7eebaf4515710f9197b5a54ae76308018d93f5a23 [INFO] running `Command { std: "docker" "start" "-a" "69fdfc6c24de22a5f8fe76a7eebaf4515710f9197b5a54ae76308018d93f5a23", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling glslopt v0.1.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling webrender_build v0.0.2 (https://github.com/servo/webrender.git?rev=c4bd5b47d8f5cd684334b445e67a1f945d106848#c4bd5b47) [INFO] [stderr] Compiling build-parallel v0.1.2 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling gleam v0.15.1 [INFO] [stderr] Compiling freetype v0.7.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling svg_fmt v0.4.5 [INFO] [stderr] Compiling tracy-rs v0.1.2 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-ccc v0.4.0 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling topological-sort v0.1.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling peek-poke-derive v0.3.0 (https://github.com/servo/webrender.git?rev=c4bd5b47d8f5cd684334b445e67a1f945d106848#c4bd5b47) [INFO] [stderr] Compiling malloc_size_of_derive v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling app_units v0.7.8 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling peek-poke v0.3.0 (https://github.com/servo/webrender.git?rev=c4bd5b47d8f5cd684334b445e67a1f945d106848#c4bd5b47) [INFO] [stderr] Compiling wr_malloc_size_of v0.0.2 (https://github.com/servo/webrender.git?rev=c4bd5b47d8f5cd684334b445e67a1f945d106848#c4bd5b47) [INFO] [stderr] Compiling plane-split v0.18.0 [INFO] [stderr] Compiling etagere v0.2.15 [INFO] [stderr] Compiling webrender_api v0.62.0 (https://github.com/servo/webrender.git?rev=c4bd5b47d8f5cd684334b445e67a1f945d106848#c4bd5b47) [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling gethostname v1.0.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling wr_glyph_rasterizer v0.1.0 (https://github.com/servo/webrender.git?rev=c4bd5b47d8f5cd684334b445e67a1f945d106848#c4bd5b47) [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling webrender v0.62.0 (https://github.com/servo/webrender.git?rev=c4bd5b47d8f5cd684334b445e67a1f945d106848#c4bd5b47) [INFO] [stderr] Compiling wedit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/app.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/app.rs:103:44 [INFO] [stdout] | [INFO] [stdout] 103 | WindowEvent::CursorMoved { device_id, position} => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/app.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | WindowEvent::MouseInput { device_id, state, button} => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/app.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | WindowEvent::MouseInput { device_id, state, button} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `composite_needed` [INFO] [stdout] --> src/compositor.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | composite_needed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_composite_needed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrolled` [INFO] [stdout] --> src/compositor.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | fn new_frame_ready(&self, _: DocumentId, scrolled: bool, composite_needed: bool, frame_publish_id: webrender_api::FramePublishId) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrolled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_publish_id` [INFO] [stdout] --> src/compositor.rs:34:86 [INFO] [stdout] | [INFO] [stdout] 34 | fn new_frame_ready(&self, _: DocumentId, scrolled: bool, composite_needed: bool, frame_publish_id: webrender_api::FramePublishId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_publish_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `width` is assigned to, but never used [INFO] [stdout] --> src/layout/inline.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut width = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_width` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `width` is never read [INFO] [stdout] --> src/layout/inline.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | width += pos.x_advance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font_cache` is never read [INFO] [stdout] --> src/app.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | state: Option, [INFO] [stdout] 25 | font_cache: FontCache, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run` and `perform_layout` are never used [INFO] [stdout] --> src/app.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn perform_layout(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sender` and `document_id` are never read [INFO] [stdout] --> src/compositor.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Compositor { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | sender: RenderApiSender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | document_id: DocumentId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/compositor.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Compositor { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn close(self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `right`, `top`, and `bottom` are never read [INFO] [stdout] --> src/layout/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Sides { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 92 | pub left: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 93 | pub right: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | pub top: T, [INFO] [stdout] | ^^^ [INFO] [stdout] 95 | pub bottom: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sides` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constraint` is never constructed [INFO] [stdout] --> src/layout/mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Constraint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/layout/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl Constraint { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 116 | pub fn new(size: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_font` and `get_font_instance_key` are never used [INFO] [stdout] --> src/layout/context.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl FontCache { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_font(&mut self, face_info: &FaceInfo) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_font_instance_key(&mut self, face_info: &FaceInfo, font_size: u8) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `viewport_size` is never read [INFO] [stdout] --> src/layout/context.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct LayoutContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | viewport_size: Size, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReplacedContent` is never used [INFO] [stdout] --> src/layout/fragment.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ReplacedContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplacedFragment` is never constructed [INFO] [stdout] --> src/layout/fragment.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ReplacedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `margin` is never read [INFO] [stdout] --> src/layout/fragment.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct BoxFragment { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 29 | pub rect: Rect, [INFO] [stdout] 30 | pub margin: Sides, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Box` is never constructed [INFO] [stdout] --> src/layout/fragment.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Fragment { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Box(BoxFragment), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fragments` is never read [INFO] [stdout] --> src/layout/inline.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Line { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 72 | fragments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lines` and `inline_position` are never read [INFO] [stdout] --> src/layout/inline.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct InlineState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 76 | pub lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 77 | pub inline_position: Au, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Widget` is never used [INFO] [stdout] --> src/layout/widget.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Widget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `font_family`, `font_weight`, and `font_style` are never read [INFO] [stdout] --> src/layout/widget.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TextStyle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | pub color: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub font_family: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub font_size: f32, [INFO] [stdout] 20 | pub font_weight: Weight, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | pub font_style: FontStyle, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `font_keys`, `font_instance_keys`, and `fonts` are never read [INFO] [stdout] --> src/layout/widget.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct FontCache { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 45 | font_keys: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | font_instance_keys: HashMap<(FaceInfo, u8), FontInstanceKey>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | fonts: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_font` and `get_font_instance_key` are never used [INFO] [stdout] --> src/layout/widget.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl FontCache { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_font(&mut self, face_info: &FaceInfo) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_font_instance_key(&mut self, face_info: &FaceInfo, font_size: u8) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "69fdfc6c24de22a5f8fe76a7eebaf4515710f9197b5a54ae76308018d93f5a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69fdfc6c24de22a5f8fe76a7eebaf4515710f9197b5a54ae76308018d93f5a23", kill_on_drop: false }` [INFO] [stdout] 69fdfc6c24de22a5f8fe76a7eebaf4515710f9197b5a54ae76308018d93f5a23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ba84e9fcb746b965998e1dd79d200631c4cbdf545c26eb8e7ee022c67eb98e7 [INFO] running `Command { std: "docker" "start" "-a" "4ba84e9fcb746b965998e1dd79d200631c4cbdf545c26eb8e7ee022c67eb98e7", kill_on_drop: false }` [INFO] [stderr] Compiling wedit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/app.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/app.rs:103:44 [INFO] [stdout] | [INFO] [stdout] 103 | WindowEvent::CursorMoved { device_id, position} => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/app.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | WindowEvent::MouseInput { device_id, state, button} => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/app.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | WindowEvent::MouseInput { device_id, state, button} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `composite_needed` [INFO] [stdout] --> src/compositor.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | composite_needed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_composite_needed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrolled` [INFO] [stdout] --> src/compositor.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | fn new_frame_ready(&self, _: DocumentId, scrolled: bool, composite_needed: bool, frame_publish_id: webrender_api::FramePublishId) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrolled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_publish_id` [INFO] [stdout] --> src/compositor.rs:34:86 [INFO] [stdout] | [INFO] [stdout] 34 | fn new_frame_ready(&self, _: DocumentId, scrolled: bool, composite_needed: bool, frame_publish_id: webrender_api::FramePublishId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_publish_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `width` is assigned to, but never used [INFO] [stdout] --> src/layout/inline.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut width = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_width` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `width` is never read [INFO] [stdout] --> src/layout/inline.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | width += pos.x_advance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font_cache` is never read [INFO] [stdout] --> src/app.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | state: Option, [INFO] [stdout] 25 | font_cache: FontCache, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run` and `perform_layout` are never used [INFO] [stdout] --> src/app.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn perform_layout(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sender` and `document_id` are never read [INFO] [stdout] --> src/compositor.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Compositor { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | sender: RenderApiSender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | document_id: DocumentId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/compositor.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Compositor { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn close(self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `right`, `top`, and `bottom` are never read [INFO] [stdout] --> src/layout/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Sides { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 92 | pub left: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 93 | pub right: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | pub top: T, [INFO] [stdout] | ^^^ [INFO] [stdout] 95 | pub bottom: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sides` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constraint` is never constructed [INFO] [stdout] --> src/layout/mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Constraint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/layout/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl Constraint { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 116 | pub fn new(size: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_font` and `get_font_instance_key` are never used [INFO] [stdout] --> src/layout/context.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl FontCache { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_font(&mut self, face_info: &FaceInfo) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_font_instance_key(&mut self, face_info: &FaceInfo, font_size: u8) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `viewport_size` is never read [INFO] [stdout] --> src/layout/context.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct LayoutContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | viewport_size: Size, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReplacedContent` is never used [INFO] [stdout] --> src/layout/fragment.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ReplacedContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplacedFragment` is never constructed [INFO] [stdout] --> src/layout/fragment.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ReplacedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `margin` is never read [INFO] [stdout] --> src/layout/fragment.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct BoxFragment { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 29 | pub rect: Rect, [INFO] [stdout] 30 | pub margin: Sides, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Box` is never constructed [INFO] [stdout] --> src/layout/fragment.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Fragment { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Box(BoxFragment), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fragments` is never read [INFO] [stdout] --> src/layout/inline.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Line { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 72 | fragments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lines` and `inline_position` are never read [INFO] [stdout] --> src/layout/inline.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct InlineState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 76 | pub lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 77 | pub inline_position: Au, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Widget` is never used [INFO] [stdout] --> src/layout/widget.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Widget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `font_family`, `font_weight`, and `font_style` are never read [INFO] [stdout] --> src/layout/widget.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TextStyle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | pub color: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub font_family: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub font_size: f32, [INFO] [stdout] 20 | pub font_weight: Weight, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | pub font_style: FontStyle, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `font_keys`, `font_instance_keys`, and `fonts` are never read [INFO] [stdout] --> src/layout/widget.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct FontCache { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 45 | font_keys: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | font_instance_keys: HashMap<(FaceInfo, u8), FontInstanceKey>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | fonts: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_font` and `get_font_instance_key` are never used [INFO] [stdout] --> src/layout/widget.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl FontCache { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_font(&mut self, face_info: &FaceInfo) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_font_instance_key(&mut self, face_info: &FaceInfo, font_size: u8) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "4ba84e9fcb746b965998e1dd79d200631c4cbdf545c26eb8e7ee022c67eb98e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba84e9fcb746b965998e1dd79d200631c4cbdf545c26eb8e7ee022c67eb98e7", kill_on_drop: false }` [INFO] [stdout] 4ba84e9fcb746b965998e1dd79d200631c4cbdf545c26eb8e7ee022c67eb98e7