[INFO] fetching crate egui_glfw_gl2 0.1.2... [INFO] testing egui_glfw_gl2-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate egui_glfw_gl2 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate egui_glfw_gl2 0.1.2 [INFO] finished tweaking crates.io crate egui_glfw_gl2 0.1.2 [INFO] tweaked toml for crates.io crate egui_glfw_gl2 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate egui_glfw_gl2 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate egui_glfw_gl2 0.1.2 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd4f49341550199e271cf9537aa9cf55a6b94a0673de281f7bfed78000e0123a [INFO] running `Command { std: "docker" "start" "-a" "bd4f49341550199e271cf9537aa9cf55a6b94a0673de281f7bfed78000e0123a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd4f49341550199e271cf9537aa9cf55a6b94a0673de281f7bfed78000e0123a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd4f49341550199e271cf9537aa9cf55a6b94a0673de281f7bfed78000e0123a", kill_on_drop: false }` [INFO] [stdout] bd4f49341550199e271cf9537aa9cf55a6b94a0673de281f7bfed78000e0123a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de6450a6b047ff04df0eeed03e15650069d4daf27f4026ad5d55396b71319e47 [INFO] running `Command { std: "docker" "start" "-a" "de6450a6b047ff04df0eeed03e15650069d4daf27f4026ad5d55396b71319e47", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling emath v0.27.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling ecolor v0.27.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling chlorine v1.0.10 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling gl33 v0.2.1 [INFO] [stderr] Compiling webbrowser v0.8.13 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling os_pipe v1.1.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tree_magic_mini v3.1.4 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling epaint v0.27.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling egui v0.27.1 [INFO] [stderr] Compiling glfw v0.55.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling x11-clipboard v0.7.1 [INFO] [stderr] Compiling wl-clipboard-rs v0.7.0 [INFO] [stderr] Compiling cli-clipboard v0.4.0 [INFO] [stderr] Compiling egui_glfw_gl2 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/gui/raw_input_translate.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::ctypes::wchar_t; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/gui/raw_input_translate.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/gui/ui_input.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/gui/raw_input_translate.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextureFilter` [INFO] [stdout] --> src/gui/ui_render.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | use egui::{ClippedPrimitive, Color32, ImageData, Mesh, Rect, TextureFilter, TextureId, TextureOptions, TexturesDelta}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui/ui_render.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let mut texture = GuiTexture::new( [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/triangle.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let shader = unsafe { glCreateShader(ty) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/triangle.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let program = unsafe { glCreateProgram() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/triangle.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/triangle.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | unsafe { std::mem::transmute::<_, &std::ffi::CStr>(concat!($s, "\0")) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 147 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 154 | let c_out_color = cstr!("out_color"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/triangle.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | unsafe { std::mem::transmute::<_, &std::ffi::CStr>(concat!($s, "\0")) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 147 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 158 | let c_position = cstr!("position"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `egui_glfw_gl2` (lib) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "de6450a6b047ff04df0eeed03e15650069d4daf27f4026ad5d55396b71319e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6450a6b047ff04df0eeed03e15650069d4daf27f4026ad5d55396b71319e47", kill_on_drop: false }` [INFO] [stdout] de6450a6b047ff04df0eeed03e15650069d4daf27f4026ad5d55396b71319e47