[INFO] fetching crate egui_glfw_gl2 0.1.2... [INFO] checking egui_glfw_gl2-0.1.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-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 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 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6665f00447336f5cb5f3ec10da633b38648a6fa5649e62bddcf6d8834ce85ba [INFO] running `Command { std: "docker" "start" "-a" "b6665f00447336f5cb5f3ec10da633b38648a6fa5649e62bddcf6d8834ce85ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6665f00447336f5cb5f3ec10da633b38648a6fa5649e62bddcf6d8834ce85ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6665f00447336f5cb5f3ec10da633b38648a6fa5649e62bddcf6d8834ce85ba", kill_on_drop: false }` [INFO] [stdout] b6665f00447336f5cb5f3ec10da633b38648a6fa5649e62bddcf6d8834ce85ba [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de8833db452f486fd626926583a5531a4901bcbf7e1e78ab1ca1888a3d040207 [INFO] running `Command { std: "docker" "start" "-a" "de8833db452f486fd626926583a5531a4901bcbf7e1e78ab1ca1888a3d040207", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking ecolor v0.27.1 [INFO] [stderr] Checking emath v0.27.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking chlorine v1.0.10 [INFO] [stderr] Checking gl33 v0.2.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking os_pipe v1.1.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking webbrowser v0.8.13 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking epaint v0.27.1 [INFO] [stderr] Checking tree_magic_mini v3.1.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking egui v0.27.1 [INFO] [stderr] Checking glfw v0.55.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking x11rb-protocol v0.10.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking x11rb v0.10.1 [INFO] [stderr] Checking x11-clipboard v0.7.1 [INFO] [stderr] Checking wl-clipboard-rs v0.7.0 [INFO] [stderr] Checking cli-clipboard v0.4.0 [INFO] [stderr] Checking 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] 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)]` on by default [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)]` 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)]` 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)]` 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)]` 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] [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)]` 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] [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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `egui_glfw_gl2` (lib test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "de8833db452f486fd626926583a5531a4901bcbf7e1e78ab1ca1888a3d040207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8833db452f486fd626926583a5531a4901bcbf7e1e78ab1ca1888a3d040207", kill_on_drop: false }` [INFO] [stdout] de8833db452f486fd626926583a5531a4901bcbf7e1e78ab1ca1888a3d040207