[INFO] fetching crate native-windows-derive2 0.1.1... [INFO] testing native-windows-derive2-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate native-windows-derive2 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate native-windows-derive2 0.1.1 [INFO] finished tweaking crates.io crate native-windows-derive2 0.1.1 [INFO] tweaked toml for crates.io crate native-windows-derive2 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate native-windows-derive2 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate native-windows-derive2 0.1.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8a6a9f9adcc6159cb82f1d2b850238760e20b11c51786e540533abba0977c68 [INFO] running `Command { std: "docker" "start" "-a" "b8a6a9f9adcc6159cb82f1d2b850238760e20b11c51786e540533abba0977c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8a6a9f9adcc6159cb82f1d2b850238760e20b11c51786e540533abba0977c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8a6a9f9adcc6159cb82f1d2b850238760e20b11c51786e540533abba0977c68", kill_on_drop: false }` [INFO] [stdout] b8a6a9f9adcc6159cb82f1d2b850238760e20b11c51786e540533abba0977c68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bb9407ff657fe53dcba24102c1935e4bdd2f8d894c47ce6b2d715c02786f575 [INFO] running `Command { std: "docker" "start" "-a" "7bb9407ff657fe53dcba24102c1935e4bdd2f8d894c47ce6b2d715c02786f575", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling native-windows-derive2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.85s [INFO] running `Command { std: "docker" "inspect" "7bb9407ff657fe53dcba24102c1935e4bdd2f8d894c47ce6b2d715c02786f575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bb9407ff657fe53dcba24102c1935e4bdd2f8d894c47ce6b2d715c02786f575", kill_on_drop: false }` [INFO] [stdout] 7bb9407ff657fe53dcba24102c1935e4bdd2f8d894c47ce6b2d715c02786f575 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb76a1273e3d94360ea498445cffcf36b3deab016444aa12792f093b82c79bc6 [INFO] running `Command { std: "docker" "start" "-a" "fb76a1273e3d94360ea498445cffcf36b3deab016444aa12792f093b82c79bc6", kill_on_drop: false }` [INFO] [stderr] Compiling native-windows-derive2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "fb76a1273e3d94360ea498445cffcf36b3deab016444aa12792f093b82c79bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb76a1273e3d94360ea498445cffcf36b3deab016444aa12792f093b82c79bc6", kill_on_drop: false }` [INFO] [stdout] fb76a1273e3d94360ea498445cffcf36b3deab016444aa12792f093b82c79bc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d27cf5ce20c651c296bd6eda29447fc90c0283018e15fc261e78cf83f8faa70 [INFO] running `Command { std: "docker" "start" "-a" "9d27cf5ce20c651c296bd6eda29447fc90c0283018e15fc261e78cf83f8faa70", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/native_windows_derive2-1e6cdcefad69ab29) [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 native_windows_derive2 [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - derive_ui (line 167) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 137) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 194) ... FAILED [INFO] [stdout] test src/lib.rs - derive_partial (line 361) ... FAILED [INFO] [stdout] test src/lib.rs - derive_ui (line 237) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_ui (line 167) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/lib.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | nwg_events( EVENT_TYPE: [CALLBACK(ARGS),*] ) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 168 | nwg_events!( EVENT_TYPE: [CALLBACK(ARGS),*] ) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_ui (line 137) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/lib.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | nwg_control(builder_field: builder_value,*) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 138 | nwg_control!(builder_field: builder_value,*) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_ui (line 144) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/lib.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | name_edit: nwg::TextInput, [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_ui (line 96) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `native_windows_gui2` [INFO] [stdout] --> src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | use native_windows_gui2 as nwg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `native_windows_gui2` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NwgUi` in this scope [INFO] [stdout] --> src/lib.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(NwgUi, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 96 + use native_windows_derive2::NwgUi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[nwg_control(title: "Window")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `nwg_control` is an attribute that can be used by the derive macros `NwgPartial` and `NwgUi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_events` in this scope [INFO] [stdout] --> src/lib.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | #[nwg_events( OnWindowClose: [nwg::stop_thread_dispatch()] )] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `nwg_events` is an attribute that can be used by the derive macros `NwgPartial` and `NwgUi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_resource` in this scope [INFO] [stdout] --> src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[nwg_resource(family: "Arial")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `nwg_resource` is an attribute that can be used by the derive macros `NwgPartial` and `NwgUi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_layout` in this scope [INFO] [stdout] --> src/lib.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[nwg_layout(parent: window)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `nwg_layout` is an attribute that can be used by the derive macros `NwgPartial` and `NwgUi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[nwg_control(text: "Button")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `nwg_control` is an attribute that can be used by the derive macros `NwgPartial` and `NwgUi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_layout_item` in this scope [INFO] [stdout] --> src/lib.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[nwg_layout_item(layout: my_layout, col: 0, row: 0)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `nwg_layout_item` is an attribute that can be used by the derive macros `NwgPartial` and `NwgUi`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BasicAppUi` in this scope [INFO] [stdout] --> src/lib.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let my_ui = BasicAppUi::build_ui(Default::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BasicAppUi` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 118 - let my_ui = BasicAppUi::build_ui(Default::default()).unwrap(); [INFO] [stdout] 118 + let my_ui = BasicApp::build_ui(Default::default()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_ui (line 194) stdout ---- [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:196:7 [INFO] [stdout] | [INFO] [stdout] 196 | #[nwg_control] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_events` in this scope [INFO] [stdout] --> src/lib.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 197 | #[nwg_events( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `nwg` in this scope [INFO] [stdout] --> src/lib.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | button: nwg::Button [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `nwg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nwg`, use `cargo add nwg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `nwg` in this scope [INFO] [stdout] --> src/lib.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | fn callback3(&self, ctrl: &nwg::Button) { } [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `nwg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nwg`, use `cargo add nwg` to add it to your `Cargo.toml` [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] ---- src/lib.rs - derive_partial (line 361) stdout ---- [INFO] [stdout] error: cannot find derive macro `NwgUi` in this scope [INFO] [stdout] --> src/lib.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 370 | #[derive(Default, NwgUi)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 361 + use native_windows_derive2::NwgUi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:374:6 [INFO] [stdout] | [INFO] [stdout] 374 | #[nwg_control] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_events` in this scope [INFO] [stdout] --> src/lib.rs:375:6 [INFO] [stdout] | [INFO] [stdout] 375 | #[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:378:6 [INFO] [stdout] | [INFO] [stdout] 378 | #[nwg_partial(parent: window)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NwgPartial` in this scope [INFO] [stdout] --> src/lib.rs:362:19 [INFO] [stdout] | [INFO] [stdout] 362 | #[derive(Default, NwgPartial)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 361 + use native_windows_derive2::NwgPartial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nwg_control` in this scope [INFO] [stdout] --> src/lib.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | #[nwg_control] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `nwg` in this scope [INFO] [stdout] --> src/lib.rs:367:11 [INFO] [stdout] | [INFO] [stdout] 367 | button: nwg::Button [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `nwg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nwg`, use `cargo add nwg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `nwg` in this scope [INFO] [stdout] --> src/lib.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | window: nwg::Window, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `nwg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nwg`, use `cargo add nwg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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] ---- src/lib.rs - derive_ui (line 237) stdout ---- [INFO] [stdout] error: cannot find attribute `nwg_partial` in this scope [INFO] [stdout] --> src/lib.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | #[nwg_partial(parent: window)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyPartial` in this scope [INFO] [stdout] --> src/lib.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | partial: MyPartial [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `nwg` in this scope [INFO] [stdout] --> src/lib.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | window: nwg::Window, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `nwg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nwg`, use `cargo add nwg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_partial (line 361) [INFO] [stdout] src/lib.rs - derive_ui (line 137) [INFO] [stdout] src/lib.rs - derive_ui (line 144) [INFO] [stdout] src/lib.rs - derive_ui (line 167) [INFO] [stdout] src/lib.rs - derive_ui (line 194) [INFO] [stdout] src/lib.rs - derive_ui (line 237) [INFO] [stdout] src/lib.rs - derive_ui (line 96) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.51s; merged doctests compilation took 0.23s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9d27cf5ce20c651c296bd6eda29447fc90c0283018e15fc261e78cf83f8faa70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d27cf5ce20c651c296bd6eda29447fc90c0283018e15fc261e78cf83f8faa70", kill_on_drop: false }` [INFO] [stdout] 9d27cf5ce20c651c296bd6eda29447fc90c0283018e15fc261e78cf83f8faa70