[INFO] cloning repository https://github.com/Icemic/huozi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Icemic/huozi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIcemic%2Fhuozi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIcemic%2Fhuozi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 849d16cdb1a250ed5219747d3d6e02450089a6ec [INFO] testing Icemic/huozi-rs against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIcemic%2Fhuozi-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Icemic/huozi-rs on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Icemic/huozi-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Icemic/huozi-rs [INFO] tweaked toml for git repo https://github.com/Icemic/huozi-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Icemic/huozi-rs 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/examples/render/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `example` target `render` [INFO] [stderr] * `example` target `render-lib` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-cursor v0.31.5 [INFO] [stderr] Downloaded fontdue v0.9.2 [INFO] [stderr] Downloaded wgpu v22.0.0 [INFO] [stderr] Downloaded wgpu-core v22.0.0 [INFO] [stderr] Downloaded naga v22.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dd4c0159c0fa6feb6b829fdb3d1ee1e8525c3ea1718f90ef34e1badc68db6bb [INFO] running `Command { std: "docker" "start" "-a" "8dd4c0159c0fa6feb6b829fdb3d1ee1e8525c3ea1718f90ef34e1badc68db6bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dd4c0159c0fa6feb6b829fdb3d1ee1e8525c3ea1718f90ef34e1badc68db6bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd4c0159c0fa6feb6b829fdb3d1ee1e8525c3ea1718f90ef34e1badc68db6bb", kill_on_drop: false }` [INFO] [stdout] 8dd4c0159c0fa6feb6b829fdb3d1ee1e8525c3ea1718f90ef34e1badc68db6bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19122f0fae96e97cc5d4f1a72f23ec4b0cb0c9d40230823dc54897fcf29c4022 [INFO] running `Command { std: "docker" "start" "-a" "19122f0fae96e97cc5d4f1a72f23ec4b0cb0c9d40230823dc54897fcf29c4022", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/render/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `example` target `render` [INFO] [stderr] * `example` target `render-lib` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling bit-vec v0.7.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling naga v22.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bit-set v0.6.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling wgpu-types v22.0.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling wgpu-core v22.0.0 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling wgpu v22.0.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling gpu-descriptor v0.3.0 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling fontdue v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling csscolorparser v0.6.2 [INFO] [stderr] Compiling huozi v0.8.0 (/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:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | 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:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | 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:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "19122f0fae96e97cc5d4f1a72f23ec4b0cb0c9d40230823dc54897fcf29c4022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19122f0fae96e97cc5d4f1a72f23ec4b0cb0c9d40230823dc54897fcf29c4022", kill_on_drop: false }` [INFO] [stdout] 19122f0fae96e97cc5d4f1a72f23ec4b0cb0c9d40230823dc54897fcf29c4022 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feccdf2a33e2b8c8448ca175259e7772019e4ffe0d7ebf31ff591a824a1b8971 [INFO] running `Command { std: "docker" "start" "-a" "feccdf2a33e2b8c8448ca175259e7772019e4ffe0d7ebf31ff591a824a1b8971", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/render/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `example` target `render` [INFO] [stderr] * `example` target `render-lib` [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling wgpu-types v22.0.0 [INFO] [stderr] Compiling ttf-parser v0.24.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling arrayref v0.3.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling xcursor v0.3.6 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling gpu-descriptor v0.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling fontdue v0.9.2 [INFO] [stderr] Compiling naga v22.0.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling ab_glyph v0.2.28 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.5 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling wgpu-core v22.0.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling sctk-adwaita v0.8.3 [INFO] [stderr] Compiling wgpu v22.0.0 [INFO] [stderr] Compiling huozi v0.8.0 (/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:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | 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:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | 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:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | 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: 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:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | 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:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | 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:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | 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: unused import: `GenericImageView` [INFO] [stdout] --> examples/render/texture.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{GenericImageView, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> examples/render/texture.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{GenericImageView, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> examples/render/main.rs:587:4 [INFO] [stdout] | [INFO] [stdout] 587 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> examples/render/texture.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Texture { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> examples/render/texture.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Texture { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 54.35s [INFO] running `Command { std: "docker" "inspect" "feccdf2a33e2b8c8448ca175259e7772019e4ffe0d7ebf31ff591a824a1b8971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feccdf2a33e2b8c8448ca175259e7772019e4ffe0d7ebf31ff591a824a1b8971", kill_on_drop: false }` [INFO] [stdout] feccdf2a33e2b8c8448ca175259e7772019e4ffe0d7ebf31ff591a824a1b8971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b780ffe53eec4d31c556e102d38127dee2c9e92aa1e8a2538feca33314871ec [INFO] running `Command { std: "docker" "start" "-a" "0b780ffe53eec4d31c556e102d38127dee2c9e92aa1e8a2538feca33314871ec", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/render/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `example` target `render` [INFO] [stderr] * `example` target `render-lib` [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:215:21 [INFO] [stderr] | [INFO] [stderr] 215 | 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:239:21 [INFO] [stderr] | [INFO] [stderr] 239 | 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:264:21 [INFO] [stderr] | [INFO] [stderr] 264 | 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: unused import: `GenericImageView` [INFO] [stderr] --> examples/render/texture.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use image::{GenericImageView, RgbaImage}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> examples/render/main.rs:587:4 [INFO] [stderr] | [INFO] [stderr] 587 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `from_bytes` is never used [INFO] [stderr] --> examples/render/texture.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Texture { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] 12 | pub fn from_bytes( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_bytes` is never used [INFO] [stderr] --> examples/render/texture.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Texture { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] 12 | pub fn from_bytes( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `huozi` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `huozi` (example "render-lib") generated 3 warnings [INFO] [stderr] warning: `huozi` (example "render") generated 2 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/huozi-54a0a706d7d8d9e2) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test parser::tests::parse_text ... ignored [INFO] [stdout] test parser::tests::mixed_text_and_block ... 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::plain_text_escaped ... 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] test parser::tests::plain_text ... ok [INFO] [stdout] test parser::tests::complex_elements ... ok [INFO] [stdout] test parser::tests::empty ... ok [INFO] [stdout] test parser::tests::nested_blocks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [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 18) ... ok [INFO] [stdout] test src/layout/text_section.rs - layout::text_section::TextSection (line 8) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.71s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0b780ffe53eec4d31c556e102d38127dee2c9e92aa1e8a2538feca33314871ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b780ffe53eec4d31c556e102d38127dee2c9e92aa1e8a2538feca33314871ec", kill_on_drop: false }` [INFO] [stdout] 0b780ffe53eec4d31c556e102d38127dee2c9e92aa1e8a2538feca33314871ec