[INFO] fetching crate byteplug 0.0.1... [INFO] testing byteplug-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate byteplug 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate byteplug 0.0.1 [INFO] finished tweaking crates.io crate byteplug 0.0.1 [INFO] tweaked toml for crates.io crate byteplug 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate byteplug 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate byteplug 0.0.1 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lock_api v0.3.2 [INFO] [stderr] Downloaded glutin v0.24.0 [INFO] [stderr] Downloaded instant v0.1.2 [INFO] [stderr] Downloaded proc-macro-crate v0.1.4 [INFO] [stderr] Downloaded cocoa v0.20.1 [INFO] [stderr] Downloaded core-graphics v0.19.0 [INFO] [stderr] Downloaded syn v1.0.28 [INFO] [stderr] Downloaded smallvec v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbb8d99e78531d2fe4dce8769267f229b10c1f24ab98fc3d04421463ce08befc [INFO] running `Command { std: "docker" "start" "-a" "cbb8d99e78531d2fe4dce8769267f229b10c1f24ab98fc3d04421463ce08befc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbb8d99e78531d2fe4dce8769267f229b10c1f24ab98fc3d04421463ce08befc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb8d99e78531d2fe4dce8769267f229b10c1f24ab98fc3d04421463ce08befc", kill_on_drop: false }` [INFO] [stdout] cbb8d99e78531d2fe4dce8769267f229b10c1f24ab98fc3d04421463ce08befc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e72a346cb944dca07b8230f42f9f398bfce6c4a3d975282fa61bdff9a45c6045 [INFO] running `Command { std: "docker" "start" "-a" "e72a346cb944dca07b8230f42f9f398bfce6c4a3d975282fa61bdff9a45c6045", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling byteplug v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.0 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | #[link(name="GLESv2")] extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/byteplug-f08bc53cc3dd9051/out/bindings.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::draw::gl` [INFO] [stdout] --> src/draw/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::draw::gl; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl` [INFO] [stdout] --> src/application/window.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::draw::{gl, Surface}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | control: input.modifiers.ctrl(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | shift: input.modifiers.shift(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | alternate: input.modifiers.alt(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | system: input.modifiers.logo() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:358:78 [INFO] [stdout] | [INFO] [stdout] 358 | winit::event::WindowEvent::CursorMoved { device_id: _, position, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:361:82 [INFO] [stdout] | [INFO] [stdout] 361 | winit::event::WindowEvent::MouseInput { device_id: _, state, button, modifiers }=> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:364:81 [INFO] [stdout] | [INFO] [stdout] 364 | winit::event::WindowEvent::MouseWheel { device_id: _, delta, phase, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/draw/surface.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(size: Size, options: Options) -> Surface { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application/window.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut raw_context, window) = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/application/window.rs:203:99 [INFO] [stdout] | [INFO] [stdout] 203 | fn handle_keyboard_input(&mut self, states: &mut States, input: &winit::event::KeyboardInput, is_synthetic: &bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_synthetic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `states` [INFO] [stdout] --> src/application/window.rs:283:27 [INFO] [stdout] | [INFO] [stdout] 283 | states: &mut States, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/application/window.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | state: &winit::event::ElementState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/application/window.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | button: &winit::event::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/application/window.rs:286:27 [INFO] [stdout] | [INFO] [stdout] 286 | modifiers: &winit::event::ModifiersState) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `depth_bits`, `stencil_bits`, `antialiasing_level`, `srgb`, `vsync`, and `debug` are never read [INFO] [stdout] --> src/draw/options.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Options { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | depth_bits: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | stencil_bits: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | antialiasing_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | srgb: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | vsync: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | debug: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `render_buffer`, `frame_buffer`, and `size` are never read [INFO] [stdout] --> src/draw/surface.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Surface { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 65 | context: Option, // shouldn't be a Option, but the make_current() methods consume themselves [INFO] [stdout] 66 | render_buffer: u32, // not used in the case of a window surface [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 67 | frame_buffer: u32, // not used in the case of a window surface [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | size: Size [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex_shader` and `fragment_shader` are never read [INFO] [stdout] --> src/draw/shader.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Shader { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | vertex_shader: gl::types::GLuint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | fragment_shader: gl::types::GLuint, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEFAULT_SHADER` is never used [INFO] [stdout] --> src/draw/default_shader.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | static mut DEFAULT_SHADER: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTEX_SHADER_SRC` is never used [INFO] [stdout] --> src/draw/default_shader.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const VERTEX_SHADER_SRC: &'static [u8] = b" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAGMENT_SHADER_SRC` is never used [INFO] [stdout] --> src/draw/default_shader.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const FRAGMENT_SHADER_SRC: &'static [u8] = b" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_default_shader` is never used [INFO] [stdout] --> src/draw/default_shader.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn ensure_default_shader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_or_create_default_shader` is never used [INFO] [stdout] --> src/draw/default_shader.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_or_create_default_shader() -> &'static mut Shader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pressed_keys` is never read [INFO] [stdout] --> src/controller/keyboard.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Keyboard { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 140 | pressed_keys: HashMap [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `window` are never read [INFO] [stdout] --> src/application/window.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 47 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | window: winit::window::Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/draw/context.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | match &raw const CONTEXT { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/draw/context.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | CONTEXT.as_mut().unwrap() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/draw/default_shader.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | match &DEFAULT_SHADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 43 | match &raw const DEFAULT_SHADER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/draw/default_shader.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | DEFAULT_SHADER.as_mut().unwrap() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/application/event_loop.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | match &EVENT_LOOP { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | match &raw const EVENT_LOOP { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/application/event_loop.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | EVENT_LOOP.as_mut().unwrap() [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.40s [INFO] running `Command { std: "docker" "inspect" "e72a346cb944dca07b8230f42f9f398bfce6c4a3d975282fa61bdff9a45c6045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e72a346cb944dca07b8230f42f9f398bfce6c4a3d975282fa61bdff9a45c6045", kill_on_drop: false }` [INFO] [stdout] e72a346cb944dca07b8230f42f9f398bfce6c4a3d975282fa61bdff9a45c6045 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8906a053dfee572d4ed148446b6521bbbfb974570afcf6a16439a9096870b619 [INFO] running `Command { std: "docker" "start" "-a" "8906a053dfee572d4ed148446b6521bbbfb974570afcf6a16439a9096870b619", kill_on_drop: false }` [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | #[link(name="GLESv2")] extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/byteplug-f08bc53cc3dd9051/out/bindings.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::draw::gl` [INFO] [stdout] --> src/draw/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::draw::gl; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling byteplug v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `gl` [INFO] [stdout] --> src/application/window.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::draw::{gl, Surface}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | control: input.modifiers.ctrl(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | shift: input.modifiers.shift(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | alternate: input.modifiers.alt(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | system: input.modifiers.logo() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:358:78 [INFO] [stdout] | [INFO] [stdout] 358 | winit::event::WindowEvent::CursorMoved { device_id: _, position, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:361:82 [INFO] [stdout] | [INFO] [stdout] 361 | winit::event::WindowEvent::MouseInput { device_id: _, state, button, modifiers }=> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:364:81 [INFO] [stdout] | [INFO] [stdout] 364 | winit::event::WindowEvent::MouseWheel { device_id: _, delta, phase, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/draw/surface.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(size: Size, options: Options) -> Surface { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application/window.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut raw_context, window) = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/application/window.rs:203:99 [INFO] [stdout] | [INFO] [stdout] 203 | fn handle_keyboard_input(&mut self, states: &mut States, input: &winit::event::KeyboardInput, is_synthetic: &bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_synthetic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `states` [INFO] [stdout] --> src/application/window.rs:283:27 [INFO] [stdout] | [INFO] [stdout] 283 | states: &mut States, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/application/window.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | state: &winit::event::ElementState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/application/window.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | button: &winit::event::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/application/window.rs:286:27 [INFO] [stdout] | [INFO] [stdout] 286 | modifiers: &winit::event::ModifiersState) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `depth_bits`, `stencil_bits`, `antialiasing_level`, `srgb`, `vsync`, and `debug` are never read [INFO] [stdout] --> src/draw/options.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Options { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | depth_bits: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | stencil_bits: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | antialiasing_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | srgb: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | vsync: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | debug: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `render_buffer`, `frame_buffer`, and `size` are never read [INFO] [stdout] --> src/draw/surface.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Surface { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 65 | context: Option, // shouldn't be a Option, but the make_current() methods consume themselves [INFO] [stdout] 66 | render_buffer: u32, // not used in the case of a window surface [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 67 | frame_buffer: u32, // not used in the case of a window surface [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | size: Size [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex_shader` and `fragment_shader` are never read [INFO] [stdout] --> src/draw/shader.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Shader { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | vertex_shader: gl::types::GLuint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | fragment_shader: gl::types::GLuint, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEFAULT_SHADER` is never used [INFO] [stdout] --> src/draw/default_shader.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | static mut DEFAULT_SHADER: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTEX_SHADER_SRC` is never used [INFO] [stdout] --> src/draw/default_shader.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const VERTEX_SHADER_SRC: &'static [u8] = b" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAGMENT_SHADER_SRC` is never used [INFO] [stdout] --> src/draw/default_shader.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const FRAGMENT_SHADER_SRC: &'static [u8] = b" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_default_shader` is never used [INFO] [stdout] --> src/draw/default_shader.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn ensure_default_shader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_or_create_default_shader` is never used [INFO] [stdout] --> src/draw/default_shader.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_or_create_default_shader() -> &'static mut Shader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pressed_keys` is never read [INFO] [stdout] --> src/controller/keyboard.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Keyboard { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 140 | pressed_keys: HashMap [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `window` are never read [INFO] [stdout] --> src/application/window.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 47 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | window: winit::window::Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/draw/context.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | match &raw const CONTEXT { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/draw/context.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | CONTEXT.as_mut().unwrap() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/draw/default_shader.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | match &DEFAULT_SHADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 43 | match &raw const DEFAULT_SHADER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/draw/default_shader.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | DEFAULT_SHADER.as_mut().unwrap() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/application/event_loop.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | match &EVENT_LOOP { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | match &raw const EVENT_LOOP { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/application/event_loop.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | EVENT_LOOP.as_mut().unwrap() [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | #[link(name="GLESv2")] extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/byteplug-f08bc53cc3dd9051/out/bindings.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::draw::gl` [INFO] [stdout] --> src/draw/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::draw::gl; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl` [INFO] [stdout] --> src/application/window.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::draw::{gl, Surface}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | control: input.modifiers.ctrl(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | shift: input.modifiers.shift(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | alternate: input.modifiers.alt(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | system: input.modifiers.logo() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:358:78 [INFO] [stdout] | [INFO] [stdout] 358 | winit::event::WindowEvent::CursorMoved { device_id: _, position, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:361:82 [INFO] [stdout] | [INFO] [stdout] 361 | winit::event::WindowEvent::MouseInput { device_id: _, state, button, modifiers }=> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/application/window.rs:364:81 [INFO] [stdout] | [INFO] [stdout] 364 | winit::event::WindowEvent::MouseWheel { device_id: _, delta, phase, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/draw/surface.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(size: Size, options: Options) -> Surface { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcLwjxM9/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbyteplug-8dc334dc6a6ee58a.rlib}.rlib" "-lGLESv2" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libglutin-83e99eb20e496a31.rlib,libosmesa_sys-4452986205ca815e.rlib,libshared_library-a6b8e6293b0d1023.rlib,libglutin_glx_sys-8498e675732b03ac.rlib,libglutin_egl_sys-b8cdbb824e5e9629.rlib,libwinit-adb2668feaa06d6d.rlib,libx11_dl-8aac6400acdf7de2.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libmaybe_uninit-56cae5b1ed8837f0.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libsmithay_client_toolkit-325054fb4a42672e.rlib,libwayland_protocols-ee59fa2dccf6e80a.rlib,libwayland_client-c69fd37dc873799c.rlib,libwayland_commons-fd991862f75bc905.rlib,libwayland_sys-8689350696a9027a.rlib,libcalloop-f58e4df9194f0ba4.rlib,libmio_extras-20a6bdb5571e4668.rlib,liblazycell-14e21b8b2f4a34b2.rlib,libmio-db2f7ec5f719575e.rlib,libslab-7c577fd9ceb1ab41.rlib,libiovec-3604cc2f41c3865d.rlib,libnet2-263d3cba5e412985.rlib,libnix-8f5d8b9784a636f5.rlib,libvoid-93586161032aa49a.rlib,libmemmap-ce3192e900135982.rlib,libandrew-dfbce508a4ef32c9.rlib,libxml-b81ac3ac824082da.rlib,libxdg-f7294b9b5e8fc405.rlib,libwalkdir-6b9a51c61d19c90f.rlib,libsame_file-6e238e849469a793.rlib,librusttype-ee714296abbe8fb1.rlib,librusttype-3100b527bb6ecc30.rlib,libstb_truetype-30f516c466d7c5f5.rlib,libbyteorder-407c63fb026ffdbd.rlib,libarrayvec-cff0c911503b3a21.rlib,libordered_float-aeb00154bd4ac8c2.rlib,libapprox-47e51680ab9639c3.rlib,libline_drawing-2766617756158472.rlib,libnum_traits-0bf7f32224c3660a.rlib,libdlib-28f3153011fd3923.rlib,liblibloading-f7c5a52a3d50c61f.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libraw_window_handle-4fd2491dce6c2aa5.rlib,libparking_lot-5b48d89d2f0e7756.rlib,libparking_lot_core-5c8e3a603509fc62.rlib,liblibc-a5d945d27d142663.rlib,libsmallvec-17acfe2b78cddd18.rlib,liblock_api-44d6c9f332ca6afe.rlib,libscopeguard-31ea71a279b39840.rlib,libinstant-132d232cfb99288c.rlib,libbitflags-561a4f1321538a32.rlib,liblog-04ef586fc7526ac5.rlib,libcfg_if-2d17986ae484e939.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcLwjxM9/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/libloading-cc4c629f128caffb/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/helloworld-21d0c98e278d3960" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lGLESv2: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `byteplug` (example "helloworld") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application/window.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut raw_context, window) = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/application/window.rs:203:99 [INFO] [stdout] | [INFO] [stdout] 203 | fn handle_keyboard_input(&mut self, states: &mut States, input: &winit::event::KeyboardInput, is_synthetic: &bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_synthetic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `states` [INFO] [stdout] --> src/application/window.rs:283:27 [INFO] [stdout] | [INFO] [stdout] 283 | states: &mut States, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/application/window.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | state: &winit::event::ElementState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/application/window.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | button: &winit::event::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/application/window.rs:286:27 [INFO] [stdout] | [INFO] [stdout] 286 | modifiers: &winit::event::ModifiersState) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `depth_bits`, `stencil_bits`, `antialiasing_level`, `srgb`, `vsync`, and `debug` are never read [INFO] [stdout] --> src/draw/options.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Options { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | depth_bits: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | stencil_bits: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | antialiasing_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | srgb: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | vsync: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | debug: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `render_buffer`, `frame_buffer`, and `size` are never read [INFO] [stdout] --> src/draw/surface.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Surface { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 65 | context: Option, // shouldn't be a Option, but the make_current() methods consume themselves [INFO] [stdout] 66 | render_buffer: u32, // not used in the case of a window surface [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 67 | frame_buffer: u32, // not used in the case of a window surface [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | size: Size [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex_shader` and `fragment_shader` are never read [INFO] [stdout] --> src/draw/shader.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Shader { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | vertex_shader: gl::types::GLuint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | fragment_shader: gl::types::GLuint, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEFAULT_SHADER` is never used [INFO] [stdout] --> src/draw/default_shader.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | static mut DEFAULT_SHADER: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTEX_SHADER_SRC` is never used [INFO] [stdout] --> src/draw/default_shader.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const VERTEX_SHADER_SRC: &'static [u8] = b" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAGMENT_SHADER_SRC` is never used [INFO] [stdout] --> src/draw/default_shader.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const FRAGMENT_SHADER_SRC: &'static [u8] = b" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_default_shader` is never used [INFO] [stdout] --> src/draw/default_shader.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn ensure_default_shader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_or_create_default_shader` is never used [INFO] [stdout] --> src/draw/default_shader.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_or_create_default_shader() -> &'static mut Shader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pressed_keys` is never read [INFO] [stdout] --> src/controller/keyboard.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Keyboard { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 140 | pressed_keys: HashMap [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `window` are never read [INFO] [stdout] --> src/application/window.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 47 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | window: winit::window::Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/draw/context.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | match &raw const CONTEXT { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/draw/context.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | CONTEXT.as_mut().unwrap() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/draw/default_shader.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | match &DEFAULT_SHADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 43 | match &raw const DEFAULT_SHADER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/draw/default_shader.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | DEFAULT_SHADER.as_mut().unwrap() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/application/event_loop.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | match &EVENT_LOOP { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | match &raw const EVENT_LOOP { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/application/event_loop.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | EVENT_LOOP.as_mut().unwrap() [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] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcJHHJuI/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbyteplug-8dc334dc6a6ee58a.rlib}.rlib" "-lGLESv2" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libglutin-83e99eb20e496a31.rlib,libosmesa_sys-4452986205ca815e.rlib,libshared_library-a6b8e6293b0d1023.rlib,libglutin_glx_sys-8498e675732b03ac.rlib,libglutin_egl_sys-b8cdbb824e5e9629.rlib,libwinit-adb2668feaa06d6d.rlib,libx11_dl-8aac6400acdf7de2.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libmaybe_uninit-56cae5b1ed8837f0.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libsmithay_client_toolkit-325054fb4a42672e.rlib,libwayland_protocols-ee59fa2dccf6e80a.rlib,libwayland_client-c69fd37dc873799c.rlib,libwayland_commons-fd991862f75bc905.rlib,libwayland_sys-8689350696a9027a.rlib,libcalloop-f58e4df9194f0ba4.rlib,libmio_extras-20a6bdb5571e4668.rlib,liblazycell-14e21b8b2f4a34b2.rlib,libmio-db2f7ec5f719575e.rlib,libslab-7c577fd9ceb1ab41.rlib,libiovec-3604cc2f41c3865d.rlib,libnet2-263d3cba5e412985.rlib,libnix-8f5d8b9784a636f5.rlib,libvoid-93586161032aa49a.rlib,libmemmap-ce3192e900135982.rlib,libandrew-dfbce508a4ef32c9.rlib,libxml-b81ac3ac824082da.rlib,libxdg-f7294b9b5e8fc405.rlib,libwalkdir-6b9a51c61d19c90f.rlib,libsame_file-6e238e849469a793.rlib,librusttype-ee714296abbe8fb1.rlib,librusttype-3100b527bb6ecc30.rlib,libstb_truetype-30f516c466d7c5f5.rlib,libbyteorder-407c63fb026ffdbd.rlib,libarrayvec-cff0c911503b3a21.rlib,libordered_float-aeb00154bd4ac8c2.rlib,libapprox-47e51680ab9639c3.rlib,libline_drawing-2766617756158472.rlib,libnum_traits-0bf7f32224c3660a.rlib,libdlib-28f3153011fd3923.rlib,liblibloading-f7c5a52a3d50c61f.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libraw_window_handle-4fd2491dce6c2aa5.rlib,libparking_lot-5b48d89d2f0e7756.rlib,libparking_lot_core-5c8e3a603509fc62.rlib,liblibc-a5d945d27d142663.rlib,libsmallvec-17acfe2b78cddd18.rlib,liblock_api-44d6c9f332ca6afe.rlib,libscopeguard-31ea71a279b39840.rlib,libinstant-132d232cfb99288c.rlib,libbitflags-561a4f1321538a32.rlib,liblog-04ef586fc7526ac5.rlib,libcfg_if-2d17986ae484e939.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcJHHJuI/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/libloading-cc4c629f128caffb/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/modules-08385d62245d49d9" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lGLESv2: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `byteplug` (example "modules") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcdAX9L7/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lGLESv2" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libglutin-83e99eb20e496a31.rlib,libosmesa_sys-4452986205ca815e.rlib,libshared_library-a6b8e6293b0d1023.rlib,libglutin_glx_sys-8498e675732b03ac.rlib,libglutin_egl_sys-b8cdbb824e5e9629.rlib,libwinit-adb2668feaa06d6d.rlib,libx11_dl-8aac6400acdf7de2.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libmaybe_uninit-56cae5b1ed8837f0.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libsmithay_client_toolkit-325054fb4a42672e.rlib,libwayland_protocols-ee59fa2dccf6e80a.rlib,libwayland_client-c69fd37dc873799c.rlib,libwayland_commons-fd991862f75bc905.rlib,libwayland_sys-8689350696a9027a.rlib,libcalloop-f58e4df9194f0ba4.rlib,libmio_extras-20a6bdb5571e4668.rlib,liblazycell-14e21b8b2f4a34b2.rlib,libmio-db2f7ec5f719575e.rlib,libslab-7c577fd9ceb1ab41.rlib,libiovec-3604cc2f41c3865d.rlib,libnet2-263d3cba5e412985.rlib,libnix-8f5d8b9784a636f5.rlib,libvoid-93586161032aa49a.rlib,libmemmap-ce3192e900135982.rlib,libandrew-dfbce508a4ef32c9.rlib,libxml-b81ac3ac824082da.rlib,libxdg-f7294b9b5e8fc405.rlib,libwalkdir-6b9a51c61d19c90f.rlib,libsame_file-6e238e849469a793.rlib,librusttype-ee714296abbe8fb1.rlib,librusttype-3100b527bb6ecc30.rlib,libstb_truetype-30f516c466d7c5f5.rlib,libbyteorder-407c63fb026ffdbd.rlib,libarrayvec-cff0c911503b3a21.rlib,libordered_float-aeb00154bd4ac8c2.rlib,libapprox-47e51680ab9639c3.rlib,libline_drawing-2766617756158472.rlib,libnum_traits-0bf7f32224c3660a.rlib,libdlib-28f3153011fd3923.rlib,liblibloading-f7c5a52a3d50c61f.rlib}.rlib" "-ldl" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libraw_window_handle-4fd2491dce6c2aa5.rlib,libparking_lot-5b48d89d2f0e7756.rlib,libparking_lot_core-5c8e3a603509fc62.rlib,liblibc-a5d945d27d142663.rlib,libsmallvec-17acfe2b78cddd18.rlib,liblock_api-44d6c9f332ca6afe.rlib,libscopeguard-31ea71a279b39840.rlib,libinstant-132d232cfb99288c.rlib,libbitflags-561a4f1321538a32.rlib,liblog-04ef586fc7526ac5.rlib,libcfg_if-2d17986ae484e939.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcdAX9L7/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/libloading-cc4c629f128caffb/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/byteplug-bca1ba01161c52aa" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lGLESv2: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `byteplug` (lib test) due to 1 previous error; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8906a053dfee572d4ed148446b6521bbbfb974570afcf6a16439a9096870b619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8906a053dfee572d4ed148446b6521bbbfb974570afcf6a16439a9096870b619", kill_on_drop: false }` [INFO] [stdout] 8906a053dfee572d4ed148446b6521bbbfb974570afcf6a16439a9096870b619