[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#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [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 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0f6bfdac9aa86c6c319355cab778ef49f5a493aa76ab9953301e09e399b2c01 [INFO] running `Command { std: "docker" "start" "-a" "e0f6bfdac9aa86c6c319355cab778ef49f5a493aa76ab9953301e09e399b2c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0f6bfdac9aa86c6c319355cab778ef49f5a493aa76ab9953301e09e399b2c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f6bfdac9aa86c6c319355cab778ef49f5a493aa76ab9953301e09e399b2c01", kill_on_drop: false }` [INFO] [stdout] e0f6bfdac9aa86c6c319355cab778ef49f5a493aa76ab9953301e09e399b2c01 [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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f84a9a15cbd473b95f6b2e1729430b88ffe53b58e07893030d269027b7c0727 [INFO] running `Command { std: "docker" "start" "-a" "2f84a9a15cbd473b95f6b2e1729430b88ffe53b58e07893030d269027b7c0727", 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] Compiling serde v1.0.188 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking windows-core v0.51.1 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking syn v2.0.31 [INFO] [stderr] Checking flate2 v1.0.27 [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[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] error[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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] note: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] error[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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] note: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] error[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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] note: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] error[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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] note: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] error[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] error[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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] note: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] error[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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] note: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] error[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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] note: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] error[E0659]: `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] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could 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] note: `Error` could also 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] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trywin` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `trywin` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "2f84a9a15cbd473b95f6b2e1729430b88ffe53b58e07893030d269027b7c0727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f84a9a15cbd473b95f6b2e1729430b88ffe53b58e07893030d269027b7c0727", kill_on_drop: false }` [INFO] [stdout] 2f84a9a15cbd473b95f6b2e1729430b88ffe53b58e07893030d269027b7c0727