[INFO] fetching crate native-windows-derive 1.0.4... [INFO] testing native-windows-derive-1.0.4 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate native-windows-derive 1.0.4 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate native-windows-derive 1.0.4 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate native-windows-derive 1.0.4 [INFO] finished tweaking crates.io crate native-windows-derive 1.0.4 [INFO] tweaked toml for crates.io crate native-windows-derive 1.0.4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-crate v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4be2bd76703cb5b3292561a800a76f600c30c95ec587649fef039a777d02f410 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4be2bd76703cb5b3292561a800a76f600c30c95ec587649fef039a777d02f410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4be2bd76703cb5b3292561a800a76f600c30c95ec587649fef039a777d02f410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be2bd76703cb5b3292561a800a76f600c30c95ec587649fef039a777d02f410", kill_on_drop: false }` [INFO] [stdout] 4be2bd76703cb5b3292561a800a76f600c30c95ec587649fef039a777d02f410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4ea12fcc99a94c68c4340b02f25876480fb96d5a7c00051b684ee8c6f0ea341 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4ea12fcc99a94c68c4340b02f25876480fb96d5a7c00051b684ee8c6f0ea341", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling native-windows-derive v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.29s [INFO] running `Command { std: "docker" "inspect" "c4ea12fcc99a94c68c4340b02f25876480fb96d5a7c00051b684ee8c6f0ea341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ea12fcc99a94c68c4340b02f25876480fb96d5a7c00051b684ee8c6f0ea341", kill_on_drop: false }` [INFO] [stdout] c4ea12fcc99a94c68c4340b02f25876480fb96d5a7c00051b684ee8c6f0ea341 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dfde296ee8d2c35b33c0672ad3c24a4a57eb6cd8334c4dd646d81c0b75e62123 [INFO] running `Command { std: "docker" "start" "-a" "dfde296ee8d2c35b33c0672ad3c24a4a57eb6cd8334c4dd646d81c0b75e62123", kill_on_drop: false }` [INFO] [stderr] Compiling native-windows-derive v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "dfde296ee8d2c35b33c0672ad3c24a4a57eb6cd8334c4dd646d81c0b75e62123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfde296ee8d2c35b33c0672ad3c24a4a57eb6cd8334c4dd646d81c0b75e62123", kill_on_drop: false }` [INFO] [stdout] dfde296ee8d2c35b33c0672ad3c24a4a57eb6cd8334c4dd646d81c0b75e62123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1aaa0d961c2f524aa57649c212da5a26c672c6c12fb4d1030ac9288c3f9b428b [INFO] running `Command { std: "docker" "start" "-a" "1aaa0d961c2f524aa57649c212da5a26c672c6c12fb4d1030ac9288c3f9b428b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/native_windows_derive-96789f25b4cf8164) [INFO] [stderr] Doc-tests native-windows-derive [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - derive_ui (line 133) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 163) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - derive_partial (line 349) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 233) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 190) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_ui (line 133) stdout ---- [INFO] [stdout] error: expected identifier, found `*` [INFO] [stdout] --> src/lib.rs:134:42 [INFO] [stdout] | [INFO] [stdout] 3 | nwg_control(builder_field: builder_value,*) [INFO] [stdout] | ----------- while parsing this struct ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/lib.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 3 | nwg_control(builder_field: builder_value,*) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_ui (line 163) stdout ---- [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/lib.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 3 | nwg_events( EVENT_TYPE: [CALLBACK(ARGS),*] ) [INFO] [stdout] | ---------- while parsing this struct ^ expected expression [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `+`, `->`, `::`, `;`, or `]`, found `,` [INFO] [stdout] --> src/lib.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 3 | nwg_events( EVENT_TYPE: [CALLBACK(ARGS),*] ) [INFO] [stdout] | - ^ expected one of `!`, `+`, `->`, `::`, `;`, or `]` [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this type ascription [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_ui (line 140) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `,` [INFO] [stdout] --> src/lib.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 4 | name_edit: nwg::TextInput, [INFO] [stdout] | - ^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: maybe write a path separator here: `::` [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_partial (line 349) stdout ---- [INFO] [stdout] error: cannot find derive macro `NwgUi` in this scope [INFO] [stdout] --> src/lib.rs:358:19 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Default, NwgUi)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] native_windows_derive::NwgUi [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:362:6 [INFO] [stdout] | [INFO] [stdout] 15 | #[nwg_control] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_events` in this scope [INFO] [stdout] --> src/lib.rs:363:6 [INFO] [stdout] | [INFO] [stdout] 16 | #[nwg_events( OnInit: [hello], OnWindowClose: [nwg::stop_thread_dispatch()] )] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_partial` in this scope [INFO] [stdout] --> src/lib.rs:366:6 [INFO] [stdout] | [INFO] [stdout] 19 | #[nwg_partial(parent: window)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NwgPartial` in this scope [INFO] [stdout] --> src/lib.rs:350:19 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Default, NwgPartial)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] native_windows_derive::NwgPartial [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[nwg_control] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nwg` [INFO] [stdout] --> src/lib.rs:355:11 [INFO] [stdout] | [INFO] [stdout] 8 | button: nwg::Button [INFO] [stdout] | ^^^ use of undeclared crate or module `nwg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nwg` [INFO] [stdout] --> src/lib.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 17 | window: nwg::Window, [INFO] [stdout] | ^^^ use of undeclared crate or module `nwg` [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:364:4 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Default, NwgUi)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 17 | window: nwg::Window, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:355:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Default, NwgPartial)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 8 | button: nwg::Button [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_ui (line 233) stdout ---- [INFO] [stdout] error: cannot find attribute `nwg_partial` in this scope [INFO] [stdout] --> src/lib.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[nwg_partial(parent: window)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nwg` [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 4 | window: nwg::Window, [INFO] [stdout] | ^^^ use of undeclared crate or module `nwg` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyPartial` in this scope [INFO] [stdout] --> src/lib.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 7 | partial: MyPartial [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_ui (line 92) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `native_windows_gui` [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 3 | use native_windows_gui as nwg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `native_windows_gui` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NwgUi` in this scope [INFO] [stdout] --> src/lib.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NwgUi, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] native_windows_derive::NwgUi [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[nwg_control(title: "Window")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_events` in this scope [INFO] [stdout] --> src/lib.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[nwg_events( OnWindowClose: [nwg::stop_thread_dispatch()] )] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_resource` in this scope [INFO] [stdout] --> src/lib.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[nwg_resource(family: "Arial")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_layout` in this scope [INFO] [stdout] --> src/lib.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[nwg_layout(parent: window)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[nwg_control(text: "Button")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_layout_item` in this scope [INFO] [stdout] --> src/lib.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[nwg_layout_item(layout: my_layout, col: 0, row: 0)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicAppUi` [INFO] [stdout] --> src/lib.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 24 | let my_ui = BasicAppUi::build_ui(Default::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BasicAppUi` [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NwgUi, Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | window: nwg::Window, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_ui (line 190) stdout ---- [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[nwg_control] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_events` in this scope [INFO] [stdout] --> src/lib.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[nwg_events( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nwg` [INFO] [stdout] --> src/lib.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 10 | button: nwg::Button [INFO] [stdout] | ^^^ use of undeclared crate or module `nwg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nwg` [INFO] [stdout] --> src/lib.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 19 | fn callback3(&self, ctrl: &nwg::Button) { } [INFO] [stdout] | ^^^ use of undeclared crate or module `nwg` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_partial (line 349) [INFO] [stdout] src/lib.rs - derive_ui (line 133) [INFO] [stdout] src/lib.rs - derive_ui (line 140) [INFO] [stdout] src/lib.rs - derive_ui (line 163) [INFO] [stdout] src/lib.rs - derive_ui (line 190) [INFO] [stdout] src/lib.rs - derive_ui (line 233) [INFO] [stdout] src/lib.rs - derive_ui (line 92) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "1aaa0d961c2f524aa57649c212da5a26c672c6c12fb4d1030ac9288c3f9b428b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aaa0d961c2f524aa57649c212da5a26c672c6c12fb4d1030ac9288c3f9b428b", kill_on_drop: false }` [INFO] [stdout] 1aaa0d961c2f524aa57649c212da5a26c672c6c12fb4d1030ac9288c3f9b428b