[INFO] fetching crate glyph_brush 0.7.11... [INFO] checking glyph_brush-0.7.11 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate glyph_brush 0.7.11 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate glyph_brush 0.7.11 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate glyph_brush 0.7.11 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate glyph_brush 0.7.11 [INFO] tweaked toml for crates.io crate glyph_brush 0.7.11 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate glyph_brush 0.7.11 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0c8c738ee3e2237284ecade4ede2d471307afd7987ce63290d648a4fca4ed5d [INFO] running `Command { std: "docker" "start" "-a" "b0c8c738ee3e2237284ecade4ede2d471307afd7987ce63290d648a4fca4ed5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0c8c738ee3e2237284ecade4ede2d471307afd7987ce63290d648a4fca4ed5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0c8c738ee3e2237284ecade4ede2d471307afd7987ce63290d648a4fca4ed5d", kill_on_drop: false }` [INFO] [stdout] b0c8c738ee3e2237284ecade4ede2d471307afd7987ce63290d648a4fca4ed5d [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b78a3275ffea3752be4d3c1e627d5493a6b295c88d0b3097788b337b7ea63811 [INFO] running `Command { std: "docker" "start" "-a" "b78a3275ffea3752be4d3c1e627d5493a6b295c88d0b3097788b337b7ea63811", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling glutin v0.32.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ordered-float v4.4.0 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking spin_sleep v1.2.1 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Checking spin_sleep_util v0.1.1 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.81 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking twox-hash v2.0.0 [INFO] [stderr] Checking glyph_brush v0.7.11 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.4 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.4 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Migrating examples/opengl.rs from 2021 edition to 2024 [INFO] [stdout] error: couldn't read `src/../../fonts/DejaVuSans.ttf`: No such file or directory (os error 2) [INFO] [stdout] --> src/glyph_brush.rs:826:46 [INFO] [stdout] | [INFO] [stdout] 826 | let font_a = FontRef::try_from_slice(include_bytes!("../../fonts/DejaVuSans.ttf")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../fonts/Exo2-Light.otf`: No such file or directory (os error 2) [INFO] [stdout] --> src/glyph_brush.rs:827:46 [INFO] [stdout] | [INFO] [stdout] 827 | let font_b = FontRef::try_from_slice(include_bytes!("../../fonts/Exo2-Light.otf")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../fonts/DejaVuSansMono.ttf`: No such file or directory (os error 2) [INFO] [stdout] --> src/glyph_calculator.rs:404:33 [INFO] [stdout] | [INFO] [stdout] 404 | FontArc::try_from_slice(include_bytes!("../../fonts/DejaVuSansMono.ttf") as &[u8]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../fonts/OpenSans-Light.ttf`: No such file or directory (os error 2) [INFO] [stdout] --> src/glyph_calculator.rs:407:33 [INFO] [stdout] | [INFO] [stdout] 407 | FontArc::try_from_slice(include_bytes!("../../fonts/OpenSans-Light.ttf") as &[u8]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glyph_brush` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read `examples/../../fonts/OpenSans-Light.ttf`: No such file or directory (os error 2) [INFO] [stdout] --> examples/opengl.rs:169:37 [INFO] [stdout] | [INFO] [stdout] 169 | FontRef::try_from_slice(include_bytes!("../../fonts/OpenSans-Light.ttf")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/glyph_brush.rs from 2021 edition to 2024 [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> examples/opengl.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | env::set_var("vblank_mode", "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 63 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 64 ~ unsafe { env::set_var("vblank_mode", "0") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glyph_brush` (example "opengl") due to 1 previous error; 1 warning emitted [INFO] [stdout] error: couldn't read `benches/../../fonts/DejaVuSansMono.ttf`: No such file or directory (os error 2) [INFO] [stdout] --> benches/glyph_brush.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | const TEST_FONT: &[u8] = include_bytes!("../../fonts/DejaVuSansMono.ttf"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/draw_cache_guts.rs from 2021 edition to 2024 [INFO] [stdout] error: couldn't read `benches/../../fonts/Exo2-Light.otf`: No such file or directory (os error 2) [INFO] [stdout] --> benches/glyph_brush.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | const TEST_OTF_FONT: &[u8] = include_bytes!("../../fonts/Exo2-Light.otf"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glyph_brush` (bench "glyph_brush") due to 2 previous errors [INFO] [stdout] error: couldn't read `examples/../../fonts/OpenSans-Light.ttf`: No such file or directory (os error 2) [INFO] [stdout] --> examples/opengl.rs:169:37 [INFO] [stdout] | [INFO] [stdout] 169 | FontRef::try_from_slice(include_bytes!("../../fonts/OpenSans-Light.ttf")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/../../fonts/OpenSans-Light.ttf`: No such file or directory (os error 2) [INFO] [stdout] --> examples/draw_cache_guts.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | let sans = FontRef::try_from_slice(include_bytes!("../../fonts/OpenSans-Light.ttf"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> examples/opengl.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | env::set_var("vblank_mode", "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 63 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 64 ~ unsafe { env::set_var("vblank_mode", "0") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> examples/draw_cache_guts.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | env::set_var("vblank_mode", "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 40 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 41 ~ unsafe { env::set_var("vblank_mode", "0") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glyph_brush` (example "draw_cache_guts") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b78a3275ffea3752be4d3c1e627d5493a6b295c88d0b3097788b337b7ea63811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78a3275ffea3752be4d3c1e627d5493a6b295c88d0b3097788b337b7ea63811", kill_on_drop: false }` [INFO] [stdout] b78a3275ffea3752be4d3c1e627d5493a6b295c88d0b3097788b337b7ea63811