[INFO] fetching crate glium_text_nxt 0.15.0... [INFO] checking glium_text_nxt-0.15.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate glium_text_nxt 0.15.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate glium_text_nxt 0.15.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate glium_text_nxt 0.15.0 [INFO] finished tweaking crates.io crate glium_text_nxt 0.15.0 [INFO] tweaked toml for crates.io crate glium_text_nxt 0.15.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate glium_text_nxt 0.15.0 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.24.0 [INFO] [stderr] Downloaded freetype-sys v0.7.1 [INFO] [stderr] Downloaded winit v0.22.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8ea3c41b3c9e0c215100fbcc1605bcb549f0593cc639674bf8ee60906b42832 [INFO] running `Command { std: "docker" "start" "-a" "e8ea3c41b3c9e0c215100fbcc1605bcb549f0593cc639674bf8ee60906b42832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8ea3c41b3c9e0c215100fbcc1605bcb549f0593cc639674bf8ee60906b42832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8ea3c41b3c9e0c215100fbcc1605bcb549f0593cc639674bf8ee60906b42832", kill_on_drop: false }` [INFO] [stdout] e8ea3c41b3c9e0c215100fbcc1605bcb549f0593cc639674bf8ee60906b42832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d340cf3a70b51d6ad48264422cd79f99aea5a21e9aaf955076016136b86346a4 [INFO] running `Command { std: "docker" "start" "-a" "d340cf3a70b51d6ad48264422cd79f99aea5a21e9aaf955076016136b86346a4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking glutin_glx_sys v0.1.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-client v0.23.6 [INFO] [stderr] Checking wayland-protocols v0.23.6 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.0 [INFO] [stderr] Checking glutin v0.24.0 [INFO] [stderr] Checking glium_text_nxt v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:189:54 [INFO] [stdout] | [INFO] [stdout] 189 | let mut g: freetype::FT_UInt = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:189:54 [INFO] [stdout] | [INFO] [stdout] 189 | let mut g: freetype::FT_UInt = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | if freetype::FT_New_Library(addr_of_mut!(MEMORY), &mut raw) != freetype::FT_Err_Ok { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | if freetype::FT_New_Library(&mut MEMORY, &mut raw) != freetype::FT_Err_Ok { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | if freetype::FT_New_Library(addr_of_mut!(MEMORY), &mut raw) != freetype::FT_Err_Ok { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | let mut g: freetype::FT_UInt = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | let mut g: freetype::FT_UInt = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `glium_text` [INFO] [stdout] --> examples/user_text.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate glium_text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `glium_text` [INFO] [stdout] --> examples/hello_world.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate glium_text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `glium::glutin::ControlFlow`, `glium::glutin::Event`, `glium::glutin::WindowEvent` [INFO] [stdout] --> examples/user_text.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use glium::glutin::{ControlFlow, Event, self, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ no `WindowEvent` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Event` in the root [INFO] [stdout] | | help: a similar name exists in the module: `event` [INFO] [stdout] | no `ControlFlow` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these enums instead: [INFO] [stdout] std::ops::ControlFlow [INFO] [stdout] glutin::event_loop::ControlFlow [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] glutin::event::Event [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] glutin::event::Event::WindowEvent [INFO] [stdout] glutin::event::WindowEvent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `glium::glutin::ControlFlow`, `glium::glutin::Event`, `glium::glutin::WindowEvent` [INFO] [stdout] --> examples/hello_world.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use glium::glutin::{ControlFlow, Event, self, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ no `WindowEvent` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Event` in the root [INFO] [stdout] | | help: a similar name exists in the module: `event` [INFO] [stdout] | no `ControlFlow` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these enums instead: [INFO] [stdout] std::ops::ControlFlow [INFO] [stdout] glutin::event_loop::ControlFlow [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] glutin::event::Event [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] glutin::event::Event::WindowEvent [INFO] [stdout] glutin::event::WindowEvent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `EventsLoop` in `glutin` [INFO] [stdout] --> examples/user_text.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | let mut event_loop = glutin::EventsLoop::new(); [INFO] [stdout] | ^^^^^^^^^^ could not find `EventsLoop` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `EventsLoop` in `glutin` [INFO] [stdout] --> examples/hello_world.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | let mut event_loop = glutin::EventsLoop::new(); [INFO] [stdout] | ^^^^^^^^^^ could not find `EventsLoop` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> examples/user_text.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | let window = glutin::WindowBuilder::new().with_dimensions((1024, 768).into()); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `WindowBuilder` in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `WindowBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let window = glutin::WindowBuilder::new().with_dimensions((1024, 768).into()); [INFO] [stdout] 13 + let window = WindowBuilder::new().with_dimensions((1024, 768).into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> examples/hello_world.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let window = glutin::WindowBuilder::new().with_dimensions((1024, 768).into()); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `WindowBuilder` in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `WindowBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - let window = glutin::WindowBuilder::new().with_dimensions((1024, 768).into()); [INFO] [stdout] 10 + let window = WindowBuilder::new().with_dimensions((1024, 768).into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glium_text_nxt` (example "hello_world") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `glium_text_nxt` (example "user_text") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "d340cf3a70b51d6ad48264422cd79f99aea5a21e9aaf955076016136b86346a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d340cf3a70b51d6ad48264422cd79f99aea5a21e9aaf955076016136b86346a4", kill_on_drop: false }` [INFO] [stdout] d340cf3a70b51d6ad48264422cd79f99aea5a21e9aaf955076016136b86346a4