[INFO] fetching crate winit 0.29.1-beta... [INFO] checking winit-0.29.1-beta against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate winit 0.29.1-beta into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate winit 0.29.1-beta on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate winit 0.29.1-beta [INFO] finished tweaking crates.io crate winit 0.29.1-beta [INFO] tweaked toml for crates.io crate winit 0.29.1-beta written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate winit 0.29.1-beta 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5673d74218d1bc79438fbcb42e4040f5292ea4db4fd5d411fd8e356ac11dd8e4 [INFO] running `Command { std: "docker" "start" "-a" "5673d74218d1bc79438fbcb42e4040f5292ea4db4fd5d411fd8e356ac11dd8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5673d74218d1bc79438fbcb42e4040f5292ea4db4fd5d411fd8e356ac11dd8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5673d74218d1bc79438fbcb42e4040f5292ea4db4fd5d411fd8e356ac11dd8e4", kill_on_drop: false }` [INFO] [stdout] 5673d74218d1bc79438fbcb42e4040f5292ea4db4fd5d411fd8e356ac11dd8e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc7167c2f5a598be70352836bea691fe5340f4aa4edcc79b8ad19cfc09b8b9a3 [INFO] running `Command { std: "docker" "start" "-a" "bc7167c2f5a598be70352836bea691fe5340f4aa4edcc79b8ad19cfc09b8b9a3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling thiserror v1.0.46 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.17.0 [INFO] [stderr] Checking ttf-parser v0.19.1 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking gethostname v0.3.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking tiny-skia-path v0.11.1 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.0 [INFO] [stderr] Checking ab_glyph v0.2.21 [INFO] [stderr] Checking tiny-skia v0.11.1 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Compiling winit v0.29.1-beta (/opt/rustwide/workdir) [INFO] [stderr] Compiling softbuffer v0.3.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.46 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking xkbcommon-dl v0.4.1 [INFO] [stderr] Checking memmap2 v0.6.2 [INFO] [stderr] Checking smol_str v0.2.0 [INFO] [stderr] Checking x11rb-protocol v0.12.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking cursor-icon v1.0.0 [INFO] [stderr] Checking simple_logger v2.3.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking wayland-client v0.30.2 [INFO] [stderr] Checking wayland-protocols v0.30.1 [INFO] [stderr] Checking wayland-cursor v0.30.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.1.0 [INFO] [stderr] Checking sctk-adwaita v0.6.1 [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/platform_impl/linux/mod.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / match $what { [INFO] [stdout] 215 | | #[cfg(x11_platform)] [INFO] [stdout] 216 | | $enum::X($($c1)*) => $x, [INFO] [stdout] 217 | | #[cfg(wayland_platform)] [INFO] [stdout] 218 | | $enum::Wayland($($c1)*) => $x, [INFO] [stdout] 219 | | } [INFO] [stdout] | |_________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn video_modes(&self) -> Box> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 256 | x11_or_wayland!(match self; MonitorHandle(m) => Box::new(m.video_modes())) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_or_wayland` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 255 | pub fn video_modes(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `winit` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/platform_impl/linux/mod.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / match $what { [INFO] [stdout] 215 | | #[cfg(x11_platform)] [INFO] [stdout] 216 | | $enum::X($($c1)*) => $x, [INFO] [stdout] 217 | | #[cfg(wayland_platform)] [INFO] [stdout] 218 | | $enum::Wayland($($c1)*) => $x, [INFO] [stdout] 219 | | } [INFO] [stdout] | |_________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn video_modes(&self) -> Box> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 256 | x11_or_wayland!(match self; MonitorHandle(m) => Box::new(m.video_modes())) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_or_wayland` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 255 | pub fn video_modes(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `winit` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bc7167c2f5a598be70352836bea691fe5340f4aa4edcc79b8ad19cfc09b8b9a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7167c2f5a598be70352836bea691fe5340f4aa4edcc79b8ad19cfc09b8b9a3", kill_on_drop: false }` [INFO] [stdout] bc7167c2f5a598be70352836bea691fe5340f4aa4edcc79b8ad19cfc09b8b9a3