[INFO] cloning repository https://github.com/korintheninth/font_render [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/korintheninth/font_render" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorintheninth%2Ffont_render", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorintheninth%2Ffont_render'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fd7ec62e6664773c4d8b3ab21399fc22b115285 [INFO] checking korintheninth/font_render/3fd7ec62e6664773c4d8b3ab21399fc22b115285 against master#fce0e74720d199eb7839fdb51af35ac5226da178 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorintheninth%2Ffont_render" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/korintheninth/font_render [INFO] finished tweaking git repo https://github.com/korintheninth/font_render [INFO] tweaked toml for git repo https://github.com/korintheninth/font_render written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/korintheninth/font_render on toolchain fce0e74720d199eb7839fdb51af35ac5226da178 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/korintheninth/font_render 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" "+fce0e74720d199eb7839fdb51af35ac5226da178" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83c80b76f551b7de4ddf64f7a76798047d884f3b09f110f28f9b54f507ad4f7f [INFO] running `Command { std: "docker" "start" "-a" "83c80b76f551b7de4ddf64f7a76798047d884f3b09f110f28f9b54f507ad4f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c80b76f551b7de4ddf64f7a76798047d884f3b09f110f28f9b54f507ad4f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c80b76f551b7de4ddf64f7a76798047d884f3b09f110f28f9b54f507ad4f7f", kill_on_drop: false }` [INFO] [stdout] 83c80b76f551b7de4ddf64f7a76798047d884f3b09f110f28f9b54f507ad4f7f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be9dc902b72e8607760e6560d41583b59f5c90bdf4275085076f3ab42396a7ce [INFO] running `Command { std: "docker" "start" "-a" "be9dc902b72e8607760e6560d41583b59f5c90bdf4275085076f3ab42396a7ce", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Compiling glutin v0.32.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.6 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.8 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.6 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.6 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking font_render v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/window_manager.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::render_manager::{self, RenderManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glow::HasContext` [INFO] [stdout] --> src/window_manager.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use glow::HasContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `char` [INFO] [stdout] --> src/render_manager.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{char, ffi::CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env::Args, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableDirectory` [INFO] [stdout] --> src/main.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use font_loader::{FontFile, TableDirectory}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/window_manager.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::render_manager::{self, RenderManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glow::HasContext` [INFO] [stdout] --> src/window_manager.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use glow::HasContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `char` [INFO] [stdout] --> src/render_manager.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{char, ffi::CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env::Args, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableDirectory` [INFO] [stdout] --> src/main.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use font_loader::{FontFile, TableDirectory}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Wgl` found for enum `DisplayApiPreference` in the current scope [INFO] [stdout] --> src/render_manager.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | DisplayApiPreference::Wgl(None) [INFO] [stdout] | ^^^ variant or associated item not found in `DisplayApiPreference` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 72 - DisplayApiPreference::Wgl(None) [INFO] [stdout] 72 + DisplayApiPreference::Egl [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/font_loader.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | for i in 0..num_glyphs as u32{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Wgl` found for enum `DisplayApiPreference` in the current scope [INFO] [stdout] --> src/render_manager.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | DisplayApiPreference::Wgl(None) [INFO] [stdout] | ^^^ variant or associated item not found in `DisplayApiPreference` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 72 - DisplayApiPreference::Wgl(None) [INFO] [stdout] 72 + DisplayApiPreference::Egl [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/font_loader.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | for i in 0..glyph.number_of_contours as usize{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/font_loader.rs:207:7 [INFO] [stdout] | [INFO] [stdout] 207 | for i in 0..num_tables as usize{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/font_loader.rs:252:7 [INFO] [stdout] | [INFO] [stdout] 252 | let length = get_u16(&self.file_buffer, offset); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `font_render` (bin "font_render" test) due to 1 previous error; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/font_loader.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | for i in 0..num_glyphs as u32{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/font_loader.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | for i in 0..glyph.number_of_contours as usize{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/font_loader.rs:207:7 [INFO] [stdout] | [INFO] [stdout] 207 | for i in 0..num_tables as usize{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/font_loader.rs:252:7 [INFO] [stdout] | [INFO] [stdout] 252 | let length = get_u16(&self.file_buffer, offset); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `font_render` (bin "font_render") due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "be9dc902b72e8607760e6560d41583b59f5c90bdf4275085076f3ab42396a7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be9dc902b72e8607760e6560d41583b59f5c90bdf4275085076f3ab42396a7ce", kill_on_drop: false }` [INFO] [stdout] be9dc902b72e8607760e6560d41583b59f5c90bdf4275085076f3ab42396a7ce