[INFO] fetching crate gtk-macros 0.2.0... [INFO] testing gtk-macros-0.2.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate gtk-macros 0.2.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate gtk-macros 0.2.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate gtk-macros 0.2.0 [INFO] finished tweaking crates.io crate gtk-macros 0.2.0 [INFO] tweaked toml for crates.io crate gtk-macros 0.2.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab0c1bf74030eed11ade6931cce9e11a966a81256eca1cde253834d63b13f09a [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" "ab0c1bf74030eed11ade6931cce9e11a966a81256eca1cde253834d63b13f09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab0c1bf74030eed11ade6931cce9e11a966a81256eca1cde253834d63b13f09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab0c1bf74030eed11ade6931cce9e11a966a81256eca1cde253834d63b13f09a", kill_on_drop: false }` [INFO] [stdout] ab0c1bf74030eed11ade6931cce9e11a966a81256eca1cde253834d63b13f09a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a9cc534d5f2bf6c7fe0d08ad444de8ab5cb8fcba6e28afc213f2b45dd2c2d9 [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" "03a9cc534d5f2bf6c7fe0d08ad444de8ab5cb8fcba6e28afc213f2b45dd2c2d9", kill_on_drop: false }` [INFO] [stderr] Compiling gtk-macros v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "03a9cc534d5f2bf6c7fe0d08ad444de8ab5cb8fcba6e28afc213f2b45dd2c2d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a9cc534d5f2bf6c7fe0d08ad444de8ab5cb8fcba6e28afc213f2b45dd2c2d9", kill_on_drop: false }` [INFO] [stdout] 03a9cc534d5f2bf6c7fe0d08ad444de8ab5cb8fcba6e28afc213f2b45dd2c2d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9ade49caa340efb6760d76fd3f4083978c360b211349cb0f6d2d42f97bf0721 [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" "d9ade49caa340efb6760d76fd3f4083978c360b211349cb0f6d2d42f97bf0721", kill_on_drop: false }` [INFO] [stderr] Compiling gtk-macros v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "d9ade49caa340efb6760d76fd3f4083978c360b211349cb0f6d2d42f97bf0721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ade49caa340efb6760d76fd3f4083978c360b211349cb0f6d2d42f97bf0721", kill_on_drop: false }` [INFO] [stdout] d9ade49caa340efb6760d76fd3f4083978c360b211349cb0f6d2d42f97bf0721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 76cec09143da4f636e2709e4cdee286cf7835c2fa959d314d7e4fafcbdc5e899 [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" "76cec09143da4f636e2709e4cdee286cf7835c2fa959d314d7e4fafcbdc5e899", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gtk_macros-449199d7eb21efaf [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests gtk-macros [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - send (line 79) ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - stateful_action (line 171) ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - send (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - get_action (line 202) ... FAILED [INFO] [stdout] test src/lib.rs - action (line 105) ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 29) ... FAILED [INFO] [stdout] test src/lib.rs - get_action (line 223) ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - action (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - stateful_action (line 153) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - send (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/lib.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 3 | sender.send(Action::DoThing).expect("Failed to send DoThing through the glib channel?"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sender` in this scope [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 3 | sender.send(Action::DoThing).expect("Failed to send DoThing through the glib channel?"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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] ---- src/lib.rs - spawn (line 61) stdout ---- [INFO] [stdout] error: cannot find macro `spawn` in this scope [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 3 | spawn!(async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::spawn [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - stateful_action (line 171) stdout ---- [INFO] [stdout] error: cannot find macro `stateful_action` in this scope [INFO] [stdout] --> src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 5 | stateful_action!(actions, "dark-mode", is_dark_mode, move |action, _| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::stateful_action [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 3 | let actions = gio::SimpleActionGroup::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gio` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 - get_widget (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 4 | let widget: gtk::Label = builder.get_object("my_label").expect("Failed to find my_label object"); [INFO] [stdout] | ^^^ use of undeclared crate or module `gtk` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = gtk::Builder::new_frm_resource("/org/gnome/App/ui/widget.ui"); [INFO] [stdout] | ^^^^^^^ not found in `gtk` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 - send (line 88) stdout ---- [INFO] [stdout] error: cannot find macro `send` in this scope [INFO] [stdout] --> src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 3 | send!(self.sender, Action::DoThing); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::send [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - get_action (line 202) stdout ---- [INFO] [stdout] error: cannot find macro `action` in this scope [INFO] [stdout] --> src/lib.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 4 | action!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::action [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 3 | let actions = gio::SimpleActionGroup::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 13 | .downcast::() [INFO] [stdout] | ^^^ use of undeclared crate or module `gio` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - action (line 105) stdout ---- [INFO] [stdout] error: cannot find macro `get_widget` in this scope [INFO] [stdout] --> src/lib.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 3 | let widget = get_widget!(builder, gtk::Window, widget); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::get_widget [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 4 | let actions = gio::SimpleActionGroup::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 7 | let action = gio::SimpleAction::new("do", None); [INFO] [stdout] | ^^^ use of undeclared crate or module `gio` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - get_widget (line 29) stdout ---- [INFO] [stdout] error: cannot find macro `get_widget` in this scope [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 4 | get_widget!(builder, gtk::Label, @my_label).set_text("Hello world!"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::get_widget [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = gtk::Builder::new_from_resource("/org/gnome/App/ui/widget.ui"); [INFO] [stdout] | ^^^^^^^ not found in `gtk` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 - get_action (line 223) stdout ---- [INFO] [stdout] error: cannot find macro `get_action` in this scope [INFO] [stdout] --> src/lib.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 11 | get_action!(actions, @delete).set_enabled(false); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::get_action [INFO] [stdout] [INFO] [stdout] error: cannot find macro `action` in this scope [INFO] [stdout] --> src/lib.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 4 | action!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::action [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 3 | let actions = gio::SimpleActionGroup::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gio` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - get_widget (line 21) stdout ---- [INFO] [stdout] error: cannot find macro `get_widget` in this scope [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 4 | get_widget!(builder, gtk::Label, my_label); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::get_widget [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = gtk::Builder::new_from_resource("/org/gnome/App/ui/widget.ui"); [INFO] [stdout] | ^^^^^^^ not found in `gtk` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `my_label` in this scope [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 5 | my_label.set_text("Hello world!"); [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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - action (line 122) stdout ---- [INFO] [stdout] error: cannot find macro `action` in this scope [INFO] [stdout] --> src/lib.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 6 | action!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::action [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_widget` in this scope [INFO] [stdout] --> src/lib.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 3 | let widget = get_widget!(builder, gtk::Window, widget); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::get_widget [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 4 | let actions = gio::SimpleActionGroup::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gio` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - spawn (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 3 | let ctx = glib::MainContext::default(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `something` in this scope [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 5 | something.await; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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] ---- src/lib.rs - stateful_action (line 153) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 3 | let actions = gio::SimpleActionGroup::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 6 | let action = gio::SimpleAction::new_stateful("dark-mode", None, &is_dark_mode.to_variant()); [INFO] [stdout] | ^^^ use of undeclared crate or module `gio` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_variant` found for type `bool` in the current scope [INFO] [stdout] --> src/lib.rs:157:79 [INFO] [stdout] | [INFO] [stdout] 6 | let action = gio::SimpleAction::new_stateful("dark-mode", None, &is_dark_mode.to_variant()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_variant` found for type `bool` in the current scope [INFO] [stdout] --> src/lib.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 11 | action.set_state(&is_dark_mode.to_variant()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - action (line 105) [INFO] [stdout] src/lib.rs - action (line 122) [INFO] [stdout] src/lib.rs - get_action (line 202) [INFO] [stdout] src/lib.rs - get_action (line 223) [INFO] [stdout] src/lib.rs - get_widget (line 21) [INFO] [stdout] src/lib.rs - get_widget (line 29) [INFO] [stdout] src/lib.rs - get_widget (line 9) [INFO] [stdout] src/lib.rs - send (line 79) [INFO] [stdout] src/lib.rs - send (line 88) [INFO] [stdout] src/lib.rs - spawn (line 49) [INFO] [stdout] src/lib.rs - spawn (line 61) [INFO] [stdout] src/lib.rs - stateful_action (line 153) [INFO] [stdout] src/lib.rs - stateful_action (line 171) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "76cec09143da4f636e2709e4cdee286cf7835c2fa959d314d7e4fafcbdc5e899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76cec09143da4f636e2709e4cdee286cf7835c2fa959d314d7e4fafcbdc5e899", kill_on_drop: false }` [INFO] [stdout] 76cec09143da4f636e2709e4cdee286cf7835c2fa959d314d7e4fafcbdc5e899