[INFO] fetching crate pel 0.1.0... [INFO] testing pel-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate pel 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pel 0.1.0 [INFO] finished tweaking crates.io crate pel 0.1.0 [INFO] tweaked toml for crates.io crate pel 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pel 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pel 0.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.22.0 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded wayland-sys v0.23.6 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.3 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.5 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.4 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.0 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.3 [INFO] [stderr] Downloaded gl_generator v0.11.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.0 [INFO] [stderr] Downloaded parking_lot v0.10.0 [INFO] [stderr] Downloaded cocoa v0.19.1 [INFO] [stderr] Downloaded wayland-client v0.23.6 [INFO] [stderr] Downloaded x11-dl v2.18.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.4 [INFO] [stderr] Downloaded rusttype v0.8.2 [INFO] [stderr] Downloaded core-video-sys v0.1.3 [INFO] [stderr] Downloaded wayland-protocols v0.23.6 [INFO] [stderr] Downloaded dispatch v0.1.4 [INFO] [stderr] Downloaded ordered-float v1.0.2 [INFO] [stderr] Downloaded winit v0.20.0 [INFO] [stderr] Downloaded downcast-rs v1.1.1 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded wayland-commons v0.23.6 [INFO] [stderr] Downloaded wayland-scanner v0.23.6 [INFO] [stderr] Downloaded instant v0.1.2 [INFO] [stderr] Downloaded ogl33 v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a4ca6ddd11c2be19c9b5484b07416b114310a173f9e31356176dcc72880f44d [INFO] running `Command { std: "docker" "start" "-a" "9a4ca6ddd11c2be19c9b5484b07416b114310a173f9e31356176dcc72880f44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a4ca6ddd11c2be19c9b5484b07416b114310a173f9e31356176dcc72880f44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4ca6ddd11c2be19c9b5484b07416b114310a173f9e31356176dcc72880f44d", kill_on_drop: false }` [INFO] [stdout] 9a4ca6ddd11c2be19c9b5484b07416b114310a173f9e31356176dcc72880f44d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42a8ab4f9c2ec6dd99e591228ff4f8c157d816af0d36f72dc8795f4efee4dbe6 [INFO] running `Command { std: "docker" "start" "-a" "42a8ab4f9c2ec6dd99e591228ff4f8c157d816af0d36f72dc8795f4efee4dbe6", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling ogl33 v0.2.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.4 [INFO] [stderr] Compiling winit v0.20.0 [INFO] [stderr] Compiling glutin v0.22.0 [INFO] [stderr] Compiling pel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn texture(&mut self) -> TextureHandle { [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] 31 | pub fn texture(&mut self) -> TextureHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/gpu/texture.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | mem::replace(&mut self.inner, Surface::new(w, h)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = mem::replace(&mut self.inner, Surface::new(w, h)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu/texture.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn texture(&mut self) -> TextureHandle { [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 | pub(crate) fn texture(&mut self) -> TextureHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.96s [INFO] running `Command { std: "docker" "inspect" "42a8ab4f9c2ec6dd99e591228ff4f8c157d816af0d36f72dc8795f4efee4dbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a8ab4f9c2ec6dd99e591228ff4f8c157d816af0d36f72dc8795f4efee4dbe6", kill_on_drop: false }` [INFO] [stdout] 42a8ab4f9c2ec6dd99e591228ff4f8c157d816af0d36f72dc8795f4efee4dbe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d07119fe0f85e4a1c24cfff214370b6c0d743af8ca7fd5301a9ee009442cc07e [INFO] running `Command { std: "docker" "start" "-a" "d07119fe0f85e4a1c24cfff214370b6c0d743af8ca7fd5301a9ee009442cc07e", kill_on_drop: false }` [INFO] [stderr] Compiling pel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn texture(&mut self) -> TextureHandle { [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] 31 | pub fn texture(&mut self) -> TextureHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/gpu/texture.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | mem::replace(&mut self.inner, Surface::new(w, h)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = mem::replace(&mut self.inner, Surface::new(w, h)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu/texture.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn texture(&mut self) -> TextureHandle { [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 | pub(crate) fn texture(&mut self) -> TextureHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn texture(&mut self) -> TextureHandle { [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] 31 | pub fn texture(&mut self) -> TextureHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/gpu/texture.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | mem::replace(&mut self.inner, Surface::new(w, h)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = mem::replace(&mut self.inner, Surface::new(w, h)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu/texture.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn texture(&mut self) -> TextureHandle { [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 | pub(crate) fn texture(&mut self) -> TextureHandle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.90s [INFO] running `Command { std: "docker" "inspect" "d07119fe0f85e4a1c24cfff214370b6c0d743af8ca7fd5301a9ee009442cc07e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07119fe0f85e4a1c24cfff214370b6c0d743af8ca7fd5301a9ee009442cc07e", kill_on_drop: false }` [INFO] [stdout] d07119fe0f85e4a1c24cfff214370b6c0d743af8ca7fd5301a9ee009442cc07e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11f00066185cd39c86065016cbcb5e5cc4d502456eb3324c81e68d023a1bbf5a [INFO] running `Command { std: "docker" "start" "-a" "11f00066185cd39c86065016cbcb5e5cc4d502456eb3324c81e68d023a1bbf5a", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/context.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn texture(&mut self) -> TextureHandle { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 31 | pub fn texture(&mut self) -> TextureHandle<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/gpu/texture.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | mem::replace(&mut self.inner, Surface::new(w, h)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 85 | let _ = mem::replace(&mut self.inner, Surface::new(w, h)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gpu/texture.rs:91:27 [INFO] [stderr] | [INFO] [stderr] 91 | pub(crate) fn texture(&mut self) -> TextureHandle { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 91 | pub(crate) fn texture(&mut self) -> TextureHandle<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pel` (lib) generated 3 warnings (run `cargo fix --lib -p pel` to apply 2 suggestions) [INFO] [stderr] warning: `pel` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pel-800c79ecd51c9722) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pel [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "11f00066185cd39c86065016cbcb5e5cc4d502456eb3324c81e68d023a1bbf5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f00066185cd39c86065016cbcb5e5cc4d502456eb3324c81e68d023a1bbf5a", kill_on_drop: false }` [INFO] [stdout] 11f00066185cd39c86065016cbcb5e5cc4d502456eb3324c81e68d023a1bbf5a