[INFO] fetching crate glium_text_nxt 0.15.0... [INFO] checking glium_text_nxt-0.15.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate glium_text_nxt 0.15.0 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate glium_text_nxt 0.15.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad6f50a9de8189ae472a28f2d5f75849cd2257bf8db55898741e4b9be3c82245 [INFO] running `Command { std: "docker" "start" "-a" "ad6f50a9de8189ae472a28f2d5f75849cd2257bf8db55898741e4b9be3c82245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad6f50a9de8189ae472a28f2d5f75849cd2257bf8db55898741e4b9be3c82245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad6f50a9de8189ae472a28f2d5f75849cd2257bf8db55898741e4b9be3c82245", kill_on_drop: false }` [INFO] [stdout] ad6f50a9de8189ae472a28f2d5f75849cd2257bf8db55898741e4b9be3c82245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee81201fa5d36d35b7805746cbfd839bace7b7454953ec975d2d5a23b7e7b46d [INFO] running `Command { std: "docker" "start" "-a" "ee81201fa5d36d35b7805746cbfd839bace7b7454953ec975d2d5a23b7e7b46d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [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: unexpected `cfg` condition name: `allow_clippy` [INFO] [stdout] --> src/lib.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `_memoffset__field_check` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `_memoffset__field_check` may come from an old version of the `memoffset` crate, try updating your dependency with `cargo update -p memoffset` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `_memoffset__field_check` which comes from the expansion of the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `allow_clippy` [INFO] [stdout] --> src/lib.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `_memoffset__field_check` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `_memoffset__field_check` may come from an old version of the `memoffset` crate, try updating your dependency with `cargo update -p memoffset` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `_memoffset__field_check` which comes from the expansion of the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [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: unexpected `cfg` condition name: `allow_clippy` [INFO] [stdout] --> src/lib.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `_memoffset__field_check` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `_memoffset__field_check` may come from an old version of the `memoffset` crate, try updating your dependency with `cargo update -p memoffset` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `_memoffset__field_check` which comes from the expansion of the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `allow_clippy` [INFO] [stdout] --> src/lib.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | implement_vertex!(VertexFormat, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `_memoffset__field_check` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `_memoffset__field_check` may come from an old version of the `memoffset` crate, try updating your dependency with `cargo update -p memoffset` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `_memoffset__field_check` which comes from the expansion of the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [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 [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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | if freetype::FT_New_Library(&raw 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: unnecessary transmute [INFO] [stdout] --> src/lib.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | result.push(std::mem::transmute(c as u32)); // TODO: better solution? [INFO] [stdout] | -------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [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 [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | if freetype::FT_New_Library(&raw 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: unnecessary transmute [INFO] [stdout] --> src/lib.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | result.push(std::mem::transmute(c as u32)); // TODO: better solution? [INFO] [stdout] | -------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [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[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[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 `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] 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 "user_text") due to 4 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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/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/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] 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 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ee81201fa5d36d35b7805746cbfd839bace7b7454953ec975d2d5a23b7e7b46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee81201fa5d36d35b7805746cbfd839bace7b7454953ec975d2d5a23b7e7b46d", kill_on_drop: false }` [INFO] [stdout] ee81201fa5d36d35b7805746cbfd839bace7b7454953ec975d2d5a23b7e7b46d