[INFO] fetching crate show-image 0.14.1... [INFO] checking show-image-0.14.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate show-image 0.14.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate show-image 0.14.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate show-image 0.14.1 [INFO] tweaked toml for crates.io crate show-image 0.14.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate show-image 0.14.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate show-image 0.14.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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c4b81f6919eff2fa695173b8b1e777013597395cd3cf2a70b83a239ee329907 [INFO] running `Command { std: "docker" "start" "-a" "5c4b81f6919eff2fa695173b8b1e777013597395cd3cf2a70b83a239ee329907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c4b81f6919eff2fa695173b8b1e777013597395cd3cf2a70b83a239ee329907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4b81f6919eff2fa695173b8b1e777013597395cd3cf2a70b83a239ee329907", kill_on_drop: false }` [INFO] [stdout] 5c4b81f6919eff2fa695173b8b1e777013597395cd3cf2a70b83a239ee329907 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccca31b9d62d9f2c7f75389ff971b24b1e1cbaa6ffb582d222a7c0dcf5dc2dc1 [INFO] running `Command { std: "docker" "start" "-a" "ccca31b9d62d9f2c7f75389ff971b24b1e1cbaa6ffb582d222a7c0dcf5dc2dc1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking wgpu-types v0.17.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling assert2-macros v0.3.15 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling show-image v0.14.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking is-terminal v0.4.15 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking glam v0.30.0 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling show-image-macros v0.12.4 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking assert2 v0.3.15 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking naga v0.13.0 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking wgpu-hal v0.17.2 [INFO] [stderr] Checking wgpu-core v0.17.1 [INFO] [stderr] Checking wgpu v0.17.2 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/backend/context.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn reborrow(&mut self) -> ContextHandle { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn reborrow(&mut self) -> ContextHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/backend/context.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn window(&mut self, window_id: WindowId) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | pub fn window(&mut self, window_id: WindowId) -> Result, InvalidWindowId> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/backend/context.rs:259:23 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn create_window(&mut self, title: impl Into, options: WindowOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | pub fn create_window(&mut self, title: impl Into, options: WindowOptions) -> Result, CreateWindowError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn as_image_view(&self) -> Result; [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | fn as_image_view(&self) -> Result, ImageDataError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_view(&self) -> ImageView { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_view(&self) -> ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn as_view(&self) -> ImageView { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | pub fn as_view(&self) -> ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/backend/context.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn reborrow(&mut self) -> ContextHandle { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn reborrow(&mut self) -> ContextHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/backend/context.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn window(&mut self, window_id: WindowId) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | pub fn window(&mut self, window_id: WindowId) -> Result, InvalidWindowId> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/backend/context.rs:259:23 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn create_window(&mut self, title: impl Into, options: WindowOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | pub fn create_window(&mut self, title: impl Into, options: WindowOptions) -> Result, CreateWindowError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn as_image_view(&self) -> Result; [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | fn as_image_view(&self) -> Result, ImageDataError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_view(&self) -> ImageView { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_view(&self) -> ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn as_view(&self) -> ImageView { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | pub fn as_view(&self) -> ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_types.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn as_image_view(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | fn as_image_view(&self) -> Result, ImageDataError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DynamicImage: AsImageView` is not satisfied [INFO] [stdout] --> examples/show-image.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | let image_info = show_image::image_info(&image).map_err(|e| e.to_string())?; [INFO] [stdout] | ---------------------- ^^^^^^ the trait `AsImageView` is not implemented for `DynamicImage` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsImageView`: [INFO] [stdout] ArcImage [INFO] [stdout] BoxImage [INFO] [stdout] Image [INFO] [stdout] ImageView<'a> [INFO] [stdout] std::boxed::Box [INFO] [stdout] std::sync::Arc [INFO] [stdout] note: required by a bound in `image_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/image_types.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn image_info(image: &impl AsImageView) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `image_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Image: From` is not satisfied [INFO] [stdout] --> examples/show-image.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | window.set_image(name, image).map_err(|e| e.to_string())?; [INFO] [stdout] | --------- ^^^^^ the trait `From` is not implemented for `Image` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Image` implements `From<&ImageView<'_>>` [INFO] [stdout] `Image` implements `From` [INFO] [stdout] `Image` implements `From` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] `Image` implements `From>` [INFO] [stdout] = note: required for `DynamicImage` to implement `Into` [INFO] [stdout] note: required by a bound in `WindowProxy::set_image` [INFO] [stdout] --> /opt/rustwide/workdir/src/backend/proxy.rs:265:63 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn set_image(&self, name: impl Into, image: impl Into) -> Result<(), SetImageError> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `WindowProxy::set_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `show-image` (example "show-image") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ccca31b9d62d9f2c7f75389ff971b24b1e1cbaa6ffb582d222a7c0dcf5dc2dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccca31b9d62d9f2c7f75389ff971b24b1e1cbaa6ffb582d222a7c0dcf5dc2dc1", kill_on_drop: false }` [INFO] [stdout] ccca31b9d62d9f2c7f75389ff971b24b1e1cbaa6ffb582d222a7c0dcf5dc2dc1