[INFO] cloning repository https://github.com/tbfleming/rust-windows-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tbfleming/rust-windows-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbfleming%2Frust-windows-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbfleming%2Frust-windows-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36e7c890d7b9dcfb75a34118f63ae3a3b80c91d8 [INFO] checking tbfleming/rust-windows-experiments against try#9cbe924c1a7ad92a8d63366fe967735898f13b4d for pr-149195-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbfleming%2Frust-windows-experiments" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tbfleming/rust-windows-experiments [INFO] finished tweaking git repo https://github.com/tbfleming/rust-windows-experiments [INFO] tweaked toml for git repo https://github.com/tbfleming/rust-windows-experiments written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tbfleming/rust-windows-experiments on toolchain 9cbe924c1a7ad92a8d63366fe967735898f13b4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9cbe924c1a7ad92a8d63366fe967735898f13b4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tbfleming/rust-windows-experiments 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" "+9cbe924c1a7ad92a8d63366fe967735898f13b4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9cbe924c1a7ad92a8d63366fe967735898f13b4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d9ce975b253fb0dd8776326a4b672b1b2095ac14d0d7ffb11d4b8b5bd59399c [INFO] running `Command { std: "docker" "start" "-a" "1d9ce975b253fb0dd8776326a4b672b1b2095ac14d0d7ffb11d4b8b5bd59399c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d9ce975b253fb0dd8776326a4b672b1b2095ac14d0d7ffb11d4b8b5bd59399c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9ce975b253fb0dd8776326a4b672b1b2095ac14d0d7ffb11d4b8b5bd59399c", kill_on_drop: false }` [INFO] [stdout] 1d9ce975b253fb0dd8776326a4b672b1b2095ac14d0d7ffb11d4b8b5bd59399c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9cbe924c1a7ad92a8d63366fe967735898f13b4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecccde4fe562b9aab5dd1cc65efdc2f819d31737643461ee3c7e21e5d9848995 [INFO] running `Command { std: "docker" "start" "-a" "ecccde4fe562b9aab5dd1cc65efdc2f819d31737643461ee3c7e21e5d9848995", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking windows-core v0.51.1 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking syn v2.0.31 [INFO] [stderr] Checking windows v0.51.1 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Compiling closure_attr_core v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling closure_attr_derive v0.3.0 [INFO] [stderr] Checking closure_attr v0.3.0 [INFO] [stderr] Checking codexform v0.1.0 (/opt/rustwide/workdir/codexform) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codexform/src/lib.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn get_functions(ast: &syn::File) -> Result, Box> { [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] 285 | pub fn get_functions(ast: &syn::File) -> Result>, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codexform/src/lib.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn get_functions(ast: &syn::File) -> Result, Box> { [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] 285 | pub fn get_functions(ast: &syn::File) -> Result>, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trywin v0.1.0 (/opt/rustwide/workdir/trywin) [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(hwnd: &'a Hwnd) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:147:52 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(hwnd: &'a Hwnd) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:180:82 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn compatible>(other_dc: &OtherDC) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:268:91 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn compatible>(dc: &DC, width: i32, height: i32) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:308:52 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn solid(color: Color) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(hwnd: &'a Hwnd) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:147:52 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(hwnd: &'a Hwnd) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:180:82 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn compatible>(other_dc: &OtherDC) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:268:91 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn compatible>(dc: &DC, width: i32, height: i32) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Error` is ambiguous [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:308:52 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn solid(color: Color) -> Result { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the struct imported here [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:211:42 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct BorrowedGdiobj<'a, Owner>(&'a Owner, HGDIOBJ); [INFO] [stdout] | -------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 211 - pub struct BorrowedGdiobj<'a, Owner>(&'a Owner, HGDIOBJ); [INFO] [stdout] 211 + pub struct BorrowedGdiobj<'a, Owner>((), HGDIOBJ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> trywin/src/comm_ctrl.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | fn borrow(&self) -> CallbackRef { [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] 100 | fn borrow(&self) -> CallbackRef<'_, F> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn gdiobj(&self) -> BorrowedGdiobj { [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] 278 | pub fn gdiobj(&self) -> BorrowedGdiobj<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:211:42 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct BorrowedGdiobj<'a, Owner>(&'a Owner, HGDIOBJ); [INFO] [stdout] | -------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 211 - pub struct BorrowedGdiobj<'a, Owner>(&'a Owner, HGDIOBJ); [INFO] [stdout] 211 + pub struct BorrowedGdiobj<'a, Owner>((), HGDIOBJ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> trywin/src/comm_ctrl.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | fn borrow(&self) -> CallbackRef { [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] 100 | fn borrow(&self) -> CallbackRef<'_, F> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> trywin/src/comm_ctrl/object_wrappers.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn gdiobj(&self) -> BorrowedGdiobj { [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] 278 | pub fn gdiobj(&self) -> BorrowedGdiobj<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trywin` (lib) due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `trywin` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ecccde4fe562b9aab5dd1cc65efdc2f819d31737643461ee3c7e21e5d9848995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecccde4fe562b9aab5dd1cc65efdc2f819d31737643461ee3c7e21e5d9848995", kill_on_drop: false }` [INFO] [stdout] ecccde4fe562b9aab5dd1cc65efdc2f819d31737643461ee3c7e21e5d9848995