[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] accb24c53e37701df8c3d9972399cbe1be37769a [INFO] testing Icemic/huozi-rs/accb24c53e37701df8c3d9972399cbe1be37769a against try#f23b22458132fb20faeb8a915b1c252478696f25 for pr-131095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIcemic%2Fhuozi-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Icemic/huozi-rs on toolchain f23b22458132fb20faeb8a915b1c252478696f25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "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-4-tc2/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" "+f23b22458132fb20faeb8a915b1c252478696f25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc2/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f75887e436a743b9f9d7f33c976b308e32af1ba692f465b24550979b11f2b9d [INFO] running `Command { std: "docker" "start" "-a" "0f75887e436a743b9f9d7f33c976b308e32af1ba692f465b24550979b11f2b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f75887e436a743b9f9d7f33c976b308e32af1ba692f465b24550979b11f2b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f75887e436a743b9f9d7f33c976b308e32af1ba692f465b24550979b11f2b9d", kill_on_drop: false }` [INFO] [stdout] 0f75887e436a743b9f9d7f33c976b308e32af1ba692f465b24550979b11f2b9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c36867a3573e9fe5fa3663e1b0ccefa4568be205cb4d43d7e8537f089e5f7f1e [INFO] running `Command { std: "docker" "start" "-a" "c36867a3573e9fe5fa3663e1b0ccefa4568be205cb4d43d7e8537f089e5f7f1e", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling naga v22.0.0 [INFO] [stderr] Compiling bit-vec v0.7.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bit-set v0.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling gpu-descriptor v0.3.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wgpu-types v22.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling wgpu-core v22.0.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling wgpu v22.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling lru v0.12.3 [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 fontdue v0.9.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.7.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:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | 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:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | 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:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | 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 28.47s [INFO] running `Command { std: "docker" "inspect" "c36867a3573e9fe5fa3663e1b0ccefa4568be205cb4d43d7e8537f089e5f7f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c36867a3573e9fe5fa3663e1b0ccefa4568be205cb4d43d7e8537f089e5f7f1e", kill_on_drop: false }` [INFO] [stdout] c36867a3573e9fe5fa3663e1b0ccefa4568be205cb4d43d7e8537f089e5f7f1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f113e3f1ff42b32e99bcaeaa79499d7333da61740ca4e24ccd69dccd8799081 [INFO] running `Command { std: "docker" "start" "-a" "8f113e3f1ff42b32e99bcaeaa79499d7333da61740ca4e24ccd69dccd8799081", 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 bitflags v2.6.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.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-alloc v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling gpu-descriptor v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Compiling wgpu-types v22.0.0 [INFO] [stderr] Compiling arrayref v0.3.8 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Compiling ttf-parser v0.24.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling naga v22.0.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling xcursor v0.3.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling ab_glyph v0.2.28 [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 colorchoice v1.0.2 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling fontdue v0.9.2 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling regex v1.10.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 env_filter v0.1.2 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [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 env_logger v0.11.5 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling wgpu-core v22.0.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.3 [INFO] [stderr] Compiling wgpu v22.0.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling huozi v0.7.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:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | 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:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | 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:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | 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:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | 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:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | 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:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | 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 23.52s [INFO] running `Command { std: "docker" "inspect" "8f113e3f1ff42b32e99bcaeaa79499d7333da61740ca4e24ccd69dccd8799081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f113e3f1ff42b32e99bcaeaa79499d7333da61740ca4e24ccd69dccd8799081", kill_on_drop: false }` [INFO] [stdout] 8f113e3f1ff42b32e99bcaeaa79499d7333da61740ca4e24ccd69dccd8799081 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a5f4b6f3c47f4d403dc79db16dc6cb0820fba73292c29ac14972c9e3e169bb6 [INFO] running `Command { std: "docker" "start" "-a" "1a5f4b6f3c47f4d403dc79db16dc6cb0820fba73292c29ac14972c9e3e169bb6", 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:213:21 [INFO] [stderr] | [INFO] [stderr] 213 | 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:237:21 [INFO] [stderr] | [INFO] [stderr] 237 | 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:262:21 [INFO] [stderr] | [INFO] [stderr] 262 | 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: 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: 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: `huozi` (example "render") generated 2 warnings [INFO] [stderr] warning: `huozi` (example "render-lib") generated 3 warnings (1 duplicate) [INFO] [stderr] warning: `huozi` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/huozi-25228f0cf0723dc1) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test parser::tests::empty ... ok [INFO] [stdout] test parser::tests::complex_elements ... ok [INFO] [stdout] test parser::tests::parse_text ... ignored [INFO] [stdout] test parser::tests::nested_blocks ... ok [INFO] [stdout] test parser::tests::mixed_text_and_block ... 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 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 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a5f4b6f3c47f4d403dc79db16dc6cb0820fba73292c29ac14972c9e3e169bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5f4b6f3c47f4d403dc79db16dc6cb0820fba73292c29ac14972c9e3e169bb6", kill_on_drop: false }` [INFO] [stdout] 1a5f4b6f3c47f4d403dc79db16dc6cb0820fba73292c29ac14972c9e3e169bb6