[INFO] fetching crate huozi 0.5.2... [INFO] testing huozi-0.5.2 against master#595316b4006932405a63862d8fe65f71a6356293 for pr-128254 [INFO] extracting crate huozi 0.5.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate huozi 0.5.2 on toolchain 595316b4006932405a63862d8fe65f71a6356293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate huozi 0.5.2 [INFO] finished tweaking crates.io crate huozi 0.5.2 [INFO] tweaked toml for crates.io crate huozi 0.5.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate huozi 0.5.2 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" "+595316b4006932405a63862d8fe65f71a6356293" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.90 [INFO] [stderr] Downloaded strict-num v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.90 [INFO] [stderr] Downloaded xkbcommon-dl v0.4.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.90 [INFO] [stderr] Downloaded phf_macros v0.11.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.40 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded xcursor v0.3.5 [INFO] [stderr] Downloaded anstyle-wincon v3.0.2 [INFO] [stderr] Downloaded wayland-scanner v0.31.1 [INFO] [stderr] Downloaded console_log v0.2.2 [INFO] [stderr] Downloaded csscolorparser v0.6.2 [INFO] [stderr] Downloaded miniz_oxide v0.7.1 [INFO] [stderr] Downloaded png v0.17.11 [INFO] [stderr] Downloaded indexmap v2.2.2 [INFO] [stderr] Downloaded fontdue v0.7.3 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded winnow v0.5.36 [INFO] [stderr] Downloaded quick-xml v0.31.0 [INFO] [stderr] Downloaded tiny-skia v0.11.3 [INFO] [stderr] Downloaded wayland-protocols v0.31.2 [INFO] [stderr] Downloaded syn v2.0.48 [INFO] [stderr] Downloaded smithay-client-toolkit v0.18.0 [INFO] [stderr] Downloaded bumpalo v3.14.0 [INFO] [stderr] Downloaded unicode-segmentation v1.10.1 [INFO] [stderr] Downloaded bytemuck v1.14.1 [INFO] [stderr] Downloaded wayland-backend v0.3.3 [INFO] [stderr] Downloaded wayland-client v0.31.2 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.2.0 [INFO] [stderr] Downloaded js-sys v0.3.67 [INFO] [stderr] Downloaded wasm-bindgen v0.2.90 [INFO] [stderr] Downloaded tiny-skia-path v0.11.3 [INFO] [stderr] Downloaded sctk-adwaita v0.8.1 [INFO] [stderr] Downloaded polling v3.3.2 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.2.0 [INFO] [stderr] Downloaded jobserver v0.1.27 [INFO] [stderr] Downloaded anstyle-parse v0.2.3 [INFO] [stderr] Downloaded ahash v0.8.7 [INFO] [stderr] Downloaded memmap2 v0.9.4 [INFO] [stderr] Downloaded anstyle-query v1.0.2 [INFO] [stderr] Downloaded anstyle v1.0.5 [INFO] [stderr] Downloaded env_logger v0.11.1 [INFO] [stderr] Downloaded profiling v1.0.14 [INFO] [stderr] Downloaded thiserror v1.0.56 [INFO] [stderr] Downloaded wayland-sys v0.31.1 [INFO] [stderr] Downloaded anstream v0.6.11 [INFO] [stderr] Downloaded humantime v2.1.0 [INFO] [stderr] Downloaded lru v0.12.2 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded pollster v0.3.0 [INFO] [stderr] Downloaded calloop-wayland-source v0.2.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.56 [INFO] [stderr] Downloaded wayland-csd-frame v0.3.0 [INFO] [stderr] Downloaded wayland-cursor v0.31.1 [INFO] [stderr] Downloaded pkg-config v0.3.29 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53ca5f5f96ae886ebd15105692dd8cb59f5e9024deb2088fbfa9a8bdff116aea [INFO] running `Command { std: "docker" "start" "-a" "53ca5f5f96ae886ebd15105692dd8cb59f5e9024deb2088fbfa9a8bdff116aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53ca5f5f96ae886ebd15105692dd8cb59f5e9024deb2088fbfa9a8bdff116aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53ca5f5f96ae886ebd15105692dd8cb59f5e9024deb2088fbfa9a8bdff116aea", kill_on_drop: false }` [INFO] [stdout] 53ca5f5f96ae886ebd15105692dd8cb59f5e9024deb2088fbfa9a8bdff116aea [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c85fe4973edd18afefae30f28783dd079723b9fc02c1bc7f94c667dc374e1732 [INFO] running `Command { std: "docker" "start" "-a" "c85fe4973edd18afefae30f28783dd079723b9fc02c1bc7f94c667dc374e1732", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling wgpu-hal v0.19.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling wgpu-core v0.19.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-types v0.19.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling profiling v1.0.14 [INFO] [stderr] Compiling wgpu v0.19.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling lru v0.12.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling bytemuck v1.14.1 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling naga v0.19.0 [INFO] [stderr] Compiling csscolorparser v0.6.2 [INFO] [stderr] Compiling huozi v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/font_extractor/fontdue.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | / /// scale glyph size once it larger than 1em, it will affect width or height. [INFO] [stdout] 22 | | /// For example, `width / x_scale` should be the actual size if `x_scale` is not None. [INFO] [stdout] | |__________________________________________________________________________________________________^ [INFO] [stdout] 23 | x_scale: None, [INFO] [stdout] | ------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Glyph` [INFO] [stdout] --> src/layout/text_section.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Glyph; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_height_of_section` is never read [INFO] [stdout] --> src/layout.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | let mut total_height_of_section: f64 = 0.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_height_of_section` is never read [INFO] [stdout] --> src/layout.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | total_height_of_section = current_y + FONT_SIZE * style.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_height_of_section` is never read [INFO] [stdout] --> src/layout.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | total_height_of_section = current_y + FONT_SIZE * style.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.90s [INFO] running `Command { std: "docker" "inspect" "c85fe4973edd18afefae30f28783dd079723b9fc02c1bc7f94c667dc374e1732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85fe4973edd18afefae30f28783dd079723b9fc02c1bc7f94c667dc374e1732", kill_on_drop: false }` [INFO] [stdout] c85fe4973edd18afefae30f28783dd079723b9fc02c1bc7f94c667dc374e1732 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc8e2447f6047eb069b99b054c35280943f835901de7ce32a9f9f0719c6fe8c2 [INFO] running `Command { std: "docker" "start" "-a" "cc8e2447f6047eb069b99b054c35280943f835901de7ce32a9f9f0719c6fe8c2", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling bytemuck v1.14.1 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wgpu-types v0.19.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.3 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Compiling tiny-skia v0.11.3 [INFO] [stderr] Compiling anstyle v1.0.5 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling lru v0.12.2 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling xkbcommon-dl v0.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling naga v0.19.0 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.1 [INFO] [stderr] Compiling polling v3.3.2 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wgpu-hal v0.19.1 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling wgpu-core v0.19.0 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling wgpu v0.19.1 [INFO] [stderr] Compiling huozi v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/font_extractor/fontdue.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | / /// scale glyph size once it larger than 1em, it will affect width or height. [INFO] [stdout] 22 | | /// For example, `width / x_scale` should be the actual size if `x_scale` is not None. [INFO] [stdout] | |__________________________________________________________________________________________________^ [INFO] [stdout] 23 | x_scale: None, [INFO] [stdout] | ------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Glyph` [INFO] [stdout] --> src/layout/text_section.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Glyph; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_height_of_section` is never read [INFO] [stdout] --> src/layout.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | let mut total_height_of_section: f64 = 0.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_height_of_section` is never read [INFO] [stdout] --> src/layout.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | total_height_of_section = current_y + FONT_SIZE * style.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_height_of_section` is never read [INFO] [stdout] --> src/layout.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | total_height_of_section = current_y + FONT_SIZE * style.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/font_extractor/fontdue.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | / /// scale glyph size once it larger than 1em, it will affect width or height. [INFO] [stdout] 22 | | /// For example, `width / x_scale` should be the actual size if `x_scale` is not None. [INFO] [stdout] | |__________________________________________________________________________________________________^ [INFO] [stdout] 23 | x_scale: None, [INFO] [stdout] | ------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Glyph` [INFO] [stdout] --> src/layout/text_section.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Glyph; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_height_of_section` is never read [INFO] [stdout] --> src/layout.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | let mut total_height_of_section: f64 = 0.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_height_of_section` is never read [INFO] [stdout] --> src/layout.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | total_height_of_section = current_y + FONT_SIZE * style.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_height_of_section` is never read [INFO] [stdout] --> src/layout.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | total_height_of_section = current_y + FONT_SIZE * style.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "cc8e2447f6047eb069b99b054c35280943f835901de7ce32a9f9f0719c6fe8c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8e2447f6047eb069b99b054c35280943f835901de7ce32a9f9f0719c6fe8c2", kill_on_drop: false }` [INFO] [stdout] cc8e2447f6047eb069b99b054c35280943f835901de7ce32a9f9f0719c6fe8c2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 450367e7a5e4ee19118460fa0e94f756e4f6987b1fe07f09eaa3a87bb05c6050 [INFO] running `Command { std: "docker" "start" "-a" "450367e7a5e4ee19118460fa0e94f756e4f6987b1fe07f09eaa3a87bb05c6050", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/font_extractor/fontdue.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | / /// scale glyph size once it larger than 1em, it will affect width or height. [INFO] [stderr] 22 | | /// For example, `width / x_scale` should be the actual size if `x_scale` is not None. [INFO] [stderr] | |__________________________________________________________________________________________________^ [INFO] [stderr] 23 | x_scale: None, [INFO] [stderr] | ------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::Glyph` [INFO] [stderr] --> src/layout/text_section.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::Glyph; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `total_height_of_section` is never read [INFO] [stderr] --> src/layout.rs:206:21 [INFO] [stderr] | [INFO] [stderr] 206 | let mut total_height_of_section: f64 = 0.; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `total_height_of_section` is never read [INFO] [stderr] --> src/layout.rs:230:21 [INFO] [stderr] | [INFO] [stderr] 230 | total_height_of_section = current_y + FONT_SIZE * style.line_height; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `total_height_of_section` is never read [INFO] [stderr] --> src/layout.rs:255:21 [INFO] [stderr] | [INFO] [stderr] 255 | total_height_of_section = current_y + FONT_SIZE * style.line_height; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: `huozi` (lib) generated 5 warnings (run `cargo fix --lib -p huozi` to apply 1 suggestion) [INFO] [stderr] warning: `huozi` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/huozi-606435bea011b2a6) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test parser::tests::empty ... ok [INFO] [stdout] test parser::tests::parse_text ... ignored [INFO] [stdout] test parser::tests::complex_elements ... ok [INFO] [stdout] test parser::tests::mixed_text_and_block ... ok [INFO] [stdout] test parser::tests::nested_blocks ... ok [INFO] [stdout] test parser::tests::plain_text ... ok [INFO] [stdout] test parser::tests::plain_text_escaped ... ok [INFO] [stdout] test parser::tests::plain_text_multiple_line ... ok [INFO] [stdout] test parser::tests::single_block_multiline ... ok [INFO] [stdout] test parser::tests::single_block_with_value ... ok [INFO] [stdout] test parser::tests::single_block_with_value_quoted ... ok [INFO] [stdout] test parser::tests::single_block_without_value ... ok [INFO] [stdout] test parser::tests::tagpair_with_spaces ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests huozi [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/layout/text_section.rs - layout::text_section::TextSection (line 8) ... ok [INFO] [stdout] test src/layout/text_section.rs - layout::text_section::TextSection (line 18) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "450367e7a5e4ee19118460fa0e94f756e4f6987b1fe07f09eaa3a87bb05c6050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "450367e7a5e4ee19118460fa0e94f756e4f6987b1fe07f09eaa3a87bb05c6050", kill_on_drop: false }` [INFO] [stdout] 450367e7a5e4ee19118460fa0e94f756e4f6987b1fe07f09eaa3a87bb05c6050