[INFO] cloning repository https://github.com/Kakemixen/RustLy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kakemixen/RustLy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKakemixen%2FRustLy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKakemixen%2FRustLy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4827bf1e11672c2b25569eb0e2769ddf472425a9 [INFO] checking Kakemixen/RustLy/4827bf1e11672c2b25569eb0e2769ddf472425a9 against try#52ae2445414b2a196b318d85c2819995c6e5f1aa for pr-133397 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKakemixen%2FRustLy" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kakemixen/RustLy on toolchain 52ae2445414b2a196b318d85c2819995c6e5f1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kakemixen/RustLy [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Kakemixen/RustLy [INFO] tweaked toml for git repo https://github.com/Kakemixen/RustLy written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kakemixen/RustLy 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" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd93a2dc64187ecaa83e4ec810e88d3d49e13580e822739e9df6ca7e10175951 [INFO] running `Command { std: "docker" "start" "-a" "cd93a2dc64187ecaa83e4ec810e88d3d49e13580e822739e9df6ca7e10175951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd93a2dc64187ecaa83e4ec810e88d3d49e13580e822739e9df6ca7e10175951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd93a2dc64187ecaa83e4ec810e88d3d49e13580e822739e9df6ca7e10175951", kill_on_drop: false }` [INFO] [stdout] cd93a2dc64187ecaa83e4ec810e88d3d49e13580e822739e9df6ca7e10175951 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0994fe9aaf006c3487f931726ce9221bee7c1f4d374e15dc0f9c1b889a8b4a51 [INFO] running `Command { std: "docker" "start" "-a" "0994fe9aaf006c3487f931726ce9221bee7c1f4d374e15dc0f9c1b889a8b4a51", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking ly_input v0.1.0 (/opt/rustwide/workdir/crates/ly_input) [INFO] [stderr] Checking state v0.5.2 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling ash v0.36.0+1.3.206 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ly_log v0.1.0 (/opt/rustwide/workdir/crates/ly_log) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> crates/ly_log/src/lib.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | LOGGER.log_die(message); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> crates/ly_log/src/lib.rs:206:3 [INFO] [stdout] | [INFO] [stdout] 206 | LOGGER.log(event); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> crates/ly_log/src/lib.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | LOGGER.log_die(message); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> crates/ly_log/src/lib.rs:206:3 [INFO] [stdout] | [INFO] [stdout] 206 | LOGGER.log(event); [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] [INFO] [stdout] [INFO] [stderr] Checking ly_app v0.1.0 (/opt/rustwide/workdir/crates/ly_app) [INFO] [stderr] Checking ly_events v0.1.0 (/opt/rustwide/workdir/crates/ly_events) [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking ly_renderer v0.1.0 (/opt/rustwide/workdir/crates/ly_renderer) [INFO] [stderr] Checking ly_window v0.1.0 (/opt/rustwide/workdir/crates/ly_window) [INFO] [stdout] error[E0271]: expected `Box, &EventLoopWindowTarget<()>, &mut ControlFlow)>>` to be a struct that returns `()`, but it returns `, &EventLoopWindowTarget<()>, &mut ControlFlow)> as FnOnce<(Event<'_, ()>, &EventLoopWindowTarget<()>, &mut ControlFlow)>>::Output` [INFO] [stdout] --> crates/ly_window/src/lib.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(event_handler) => self.run(event_handler), [INFO] [stdout] | --- ^^^^^^^^^^^^^ expected `()`, found associated type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found associated type `, &..., ...)> as FnOnce<...>>::Output` [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/ly_window-478925f8cbe9e705.long-type-1470122170629981788.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = help: consider constraining the associated type ` FnMut<(Event<'a, ()>, &'b winit::event_loop::EventLoopWindowTarget<()>, &'c mut winit::event_loop::ControlFlow)> as FnOnce<(Event<'_, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>>::Output` to `()` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] = note: required for `Box, &EventLoopWindowTarget<()>, &mut ...)>>` to implement `EventHandler` [INFO] [stdout] note: required by a bound in `LyWindow::run` [INFO] [stdout] --> crates/ly_window/src/lib.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 52 | fn run(mut self, event_handler: E) [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 53 | where [INFO] [stdout] 54 | E: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `LyWindow::run` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ly_window-478925f8cbe9e705.long-type-17381279400827130525.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `Box, &EventLoopWindowTarget<()>, &mut ControlFlow)>>` to be a struct that returns `()`, but it returns `, &EventLoopWindowTarget<()>, &mut ControlFlow)> as FnOnce<(Event<'_, ()>, &EventLoopWindowTarget<()>, &mut ControlFlow)>>::Output` [INFO] [stdout] --> crates/ly_window/src/lib.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(event_handler) => self.run(event_handler), [INFO] [stdout] | --- ^^^^^^^^^^^^^ expected `()`, found associated type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found associated type `, &..., ...)> as FnOnce<...>>::Output` [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/ly_window-b5fd87e043772d31.long-type-17448037898449470617.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = help: consider constraining the associated type ` FnMut<(Event<'a, ()>, &'b winit::event_loop::EventLoopWindowTarget<()>, &'c mut winit::event_loop::ControlFlow)> as FnOnce<(Event<'_, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>>::Output` to `()` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] = note: required for `Box, &EventLoopWindowTarget<()>, &mut ...)>>` to implement `EventHandler` [INFO] [stdout] note: required by a bound in `LyWindow::run` [INFO] [stdout] --> crates/ly_window/src/lib.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 52 | fn run(mut self, event_handler: E) [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 53 | where [INFO] [stdout] 54 | E: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `LyWindow::run` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/ly_window-b5fd87e043772d31.long-type-17598858558321298825.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> crates/ly_window/src/lib.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 84 | / Box::new(move |event, _, control_flow: &mut ControlFlow| { [INFO] [stdout] 85 | | if let event::Event::WindowEvent { [INFO] [stdout] 86 | | event: event::WindowEvent::CloseRequested, [INFO] [stdout] 87 | | .. [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | }) [INFO] [stdout] | |______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `for<'a> fn(Event<'2, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &'a mut winit::event_loop::ControlFlow)` must implement `FnMut<(Event<'1, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(Event<'2, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> crates/ly_window/src/lib.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 84 | / Box::new(move |event, _, control_flow: &mut ControlFlow| { [INFO] [stdout] 85 | | if let event::Event::WindowEvent { [INFO] [stdout] 86 | | event: event::WindowEvent::CloseRequested, [INFO] [stdout] 87 | | .. [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | }) [INFO] [stdout] | |______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `for<'a> fn(Event<'2, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &'a mut winit::event_loop::ControlFlow)` must implement `FnMut<(Event<'1, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(Event<'2, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> crates/ly_window/src/lib.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 84 | / Box::new(move |event, _, control_flow: &mut ControlFlow| { [INFO] [stdout] 85 | | if let event::Event::WindowEvent { [INFO] [stdout] 86 | | event: event::WindowEvent::CloseRequested, [INFO] [stdout] 87 | | .. [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | }) [INFO] [stdout] | |______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `for<'a> fn(Event<'_, ()>, &'2 winit::event_loop::EventLoopWindowTarget<()>, &'a mut winit::event_loop::ControlFlow)` must implement `FnMut<(Event<'_, ()>, &'1 winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(Event<'_, ()>, &'2 winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> crates/ly_window/src/lib.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 84 | / Box::new(move |event, _, control_flow: &mut ControlFlow| { [INFO] [stdout] 85 | | if let event::Event::WindowEvent { [INFO] [stdout] 86 | | event: event::WindowEvent::CloseRequested, [INFO] [stdout] 87 | | .. [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | }) [INFO] [stdout] | |______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `for<'a> fn(Event<'_, ()>, &'2 winit::event_loop::EventLoopWindowTarget<()>, &'a mut winit::event_loop::ControlFlow)` must implement `FnMut<(Event<'_, ()>, &'1 winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(Event<'_, ()>, &'2 winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> crates/ly_window/src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(Box::new( [INFO] [stdout] | ________^ [INFO] [stdout] 117 | | move |event, _, control_flow: &mut ControlFlow| match event { [INFO] [stdout] 118 | | event::Event::WindowEvent { [INFO] [stdout] 119 | | event, [INFO] [stdout] ... | [INFO] [stdout] 150 | | }, [INFO] [stdout] 151 | | )) [INFO] [stdout] | |_____^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `for<'a> fn(Event<'2, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &'a mut winit::event_loop::ControlFlow)` must implement `FnMut<(Event<'1, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(Event<'2, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> crates/ly_window/src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(Box::new( [INFO] [stdout] | ________^ [INFO] [stdout] 117 | | move |event, _, control_flow: &mut ControlFlow| match event { [INFO] [stdout] 118 | | event::Event::WindowEvent { [INFO] [stdout] 119 | | event, [INFO] [stdout] ... | [INFO] [stdout] 150 | | }, [INFO] [stdout] 151 | | )) [INFO] [stdout] | |_____^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `for<'a> fn(Event<'_, ()>, &'2 winit::event_loop::EventLoopWindowTarget<()>, &'a mut winit::event_loop::ControlFlow)` must implement `FnMut<(Event<'_, ()>, &'1 winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(Event<'_, ()>, &'2 winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> crates/ly_window/src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(Box::new( [INFO] [stdout] | ________^ [INFO] [stdout] 117 | | move |event, _, control_flow: &mut ControlFlow| match event { [INFO] [stdout] 118 | | event::Event::WindowEvent { [INFO] [stdout] 119 | | event, [INFO] [stdout] ... | [INFO] [stdout] 150 | | }, [INFO] [stdout] 151 | | )) [INFO] [stdout] | |_____^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `for<'a> fn(Event<'2, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &'a mut winit::event_loop::ControlFlow)` must implement `FnMut<(Event<'1, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(Event<'2, ()>, &winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> crates/ly_window/src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(Box::new( [INFO] [stdout] | ________^ [INFO] [stdout] 117 | | move |event, _, control_flow: &mut ControlFlow| match event { [INFO] [stdout] 118 | | event::Event::WindowEvent { [INFO] [stdout] 119 | | event, [INFO] [stdout] ... | [INFO] [stdout] 150 | | }, [INFO] [stdout] 151 | | )) [INFO] [stdout] | |_____^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `for<'a> fn(Event<'_, ()>, &'2 winit::event_loop::EventLoopWindowTarget<()>, &'a mut winit::event_loop::ControlFlow)` must implement `FnMut<(Event<'_, ()>, &'1 winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(Event<'_, ()>, &'2 winit::event_loop::EventLoopWindowTarget<()>, &mut winit::event_loop::ControlFlow)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ly_window` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ly_window` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "0994fe9aaf006c3487f931726ce9221bee7c1f4d374e15dc0f9c1b889a8b4a51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0994fe9aaf006c3487f931726ce9221bee7c1f4d374e15dc0f9c1b889a8b4a51", kill_on_drop: false }` [INFO] [stdout] 0994fe9aaf006c3487f931726ce9221bee7c1f4d374e15dc0f9c1b889a8b4a51