[INFO] fetching crate gtk-macros 0.3.0... [INFO] testing gtk-macros-0.3.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate gtk-macros 0.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate gtk-macros 0.3.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gtk-macros 0.3.0 [INFO] finished tweaking crates.io crate gtk-macros 0.3.0 [INFO] tweaked toml for crates.io crate gtk-macros 0.3.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a5032fb996eac5eea8cf430fdc7a3255ce7a55f7d691ba25d3c817c9554de91 [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" "3a5032fb996eac5eea8cf430fdc7a3255ce7a55f7d691ba25d3c817c9554de91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a5032fb996eac5eea8cf430fdc7a3255ce7a55f7d691ba25d3c817c9554de91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5032fb996eac5eea8cf430fdc7a3255ce7a55f7d691ba25d3c817c9554de91", kill_on_drop: false }` [INFO] [stdout] 3a5032fb996eac5eea8cf430fdc7a3255ce7a55f7d691ba25d3c817c9554de91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--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] 7803d3a6c8c7d486664f7dc25780e2e54863df506446dc3e5929cfc8ca18dbfe [INFO] running `Command { std: "docker" "start" "-a" "7803d3a6c8c7d486664f7dc25780e2e54863df506446dc3e5929cfc8ca18dbfe", kill_on_drop: false }` [INFO] [stderr] Compiling gtk-macros v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "7803d3a6c8c7d486664f7dc25780e2e54863df506446dc3e5929cfc8ca18dbfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7803d3a6c8c7d486664f7dc25780e2e54863df506446dc3e5929cfc8ca18dbfe", kill_on_drop: false }` [INFO] [stdout] 7803d3a6c8c7d486664f7dc25780e2e54863df506446dc3e5929cfc8ca18dbfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5969103502d7b076edd6a19eb742754d887daa42e582e20c0bb4393c93fffc81 [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" "5969103502d7b076edd6a19eb742754d887daa42e582e20c0bb4393c93fffc81", kill_on_drop: false }` [INFO] [stderr] Compiling gtk-macros v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "5969103502d7b076edd6a19eb742754d887daa42e582e20c0bb4393c93fffc81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5969103502d7b076edd6a19eb742754d887daa42e582e20c0bb4393c93fffc81", kill_on_drop: false }` [INFO] [stdout] 5969103502d7b076edd6a19eb742754d887daa42e582e20c0bb4393c93fffc81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "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] 642cedee86e92a3c94b86713ee3303220a45ce70e3f1b321b00db6c35c7428fe [INFO] running `Command { std: "docker" "start" "-a" "642cedee86e92a3c94b86713ee3303220a45ce70e3f1b321b00db6c35c7428fe", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gtk_macros-2ea01ecfcc4947e0) [INFO] [stdout] [INFO] [stderr] Doc-tests gtk-macros [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 17 tests [INFO] [stdout] test src/lib.rs - add_style_class (line 291) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 21) - compile ... FAILED [INFO] [stdout] test src/lib.rs - send (line 82) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_action (line 226) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 9) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 271) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_action (line 205) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 29) - compile ... FAILED [INFO] [stdout] test src/lib.rs - stateful_action (line 156) - compile ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 64) - compile ... FAILED [INFO] [stdout] test src/lib.rs - action (line 125) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 262) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 283) - compile ... FAILED [INFO] [stdout] test src/lib.rs - action (line 108) - compile ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 52) - compile ... FAILED [INFO] [stdout] test src/lib.rs - send (line 91) - compile ... FAILED [INFO] [stdout] test src/lib.rs - stateful_action (line 174) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - add_style_class (line 291) stdout ---- [INFO] [stdout] error: cannot find macro `add_style_class` in this scope [INFO] [stdout] --> src/lib.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 4 | add_style_class!(button, &["foo", "bar"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::add_style_class [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:292:14 [INFO] [stdout] | [INFO] [stdout] 3 | let button = gtk::Button::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gtk` [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 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 - send (line 82) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/lib.rs:83: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:83: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 - get_action (line 226) stdout ---- [INFO] [stdout] error: cannot find macro `get_action` in this scope [INFO] [stdout] --> src/lib.rs:235: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:228: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:227: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 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.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 - add_style_class (line 271) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 3 | let button = gtk::Button::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gtk` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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 205) stdout ---- [INFO] [stdout] error: cannot find macro `action` in this scope [INFO] [stdout] --> src/lib.rs:207: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:206: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:216: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 - 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 - stateful_action (line 156) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:157: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:160: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:160: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:165: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] ---- src/lib.rs - spawn (line 64) stdout ---- [INFO] [stdout] error: cannot find macro `spawn` in this scope [INFO] [stdout] --> src/lib.rs:65: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 - action (line 125) stdout ---- [INFO] [stdout] error: cannot find macro `action` in this scope [INFO] [stdout] --> src/lib.rs:129: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:126: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:127: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 - add_style_class (line 262) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 3 | let button = gtk::Button::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gtk` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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 - add_style_class (line 283) stdout ---- [INFO] [stdout] error: cannot find macro `add_style_class` in this scope [INFO] [stdout] --> src/lib.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 4 | add_style_class!(button, @foo); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] gtk_macros::add_style_class [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 3 | let button = gtk::Button::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `gtk` [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 - action (line 108) stdout ---- [INFO] [stdout] error: cannot find macro `get_widget` in this scope [INFO] [stdout] --> src/lib.rs:109: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:110: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:113: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 - spawn (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> src/lib.rs:53: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:55: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 - send (line 91) stdout ---- [INFO] [stdout] error: cannot find macro `send` in this scope [INFO] [stdout] --> src/lib.rs:92: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 - stateful_action (line 174) stdout ---- [INFO] [stdout] error: cannot find macro `stateful_action` in this scope [INFO] [stdout] --> src/lib.rs:177: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:175: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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - action (line 108) [INFO] [stdout] src/lib.rs - action (line 125) [INFO] [stdout] src/lib.rs - add_style_class (line 262) [INFO] [stdout] src/lib.rs - add_style_class (line 271) [INFO] [stdout] src/lib.rs - add_style_class (line 283) [INFO] [stdout] src/lib.rs - add_style_class (line 291) [INFO] [stdout] src/lib.rs - get_action (line 205) [INFO] [stdout] src/lib.rs - get_action (line 226) [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 82) [INFO] [stdout] src/lib.rs - send (line 91) [INFO] [stdout] src/lib.rs - spawn (line 52) [INFO] [stdout] src/lib.rs - spawn (line 64) [INFO] [stdout] src/lib.rs - stateful_action (line 156) [INFO] [stdout] src/lib.rs - stateful_action (line 174) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.93s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "642cedee86e92a3c94b86713ee3303220a45ce70e3f1b321b00db6c35c7428fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "642cedee86e92a3c94b86713ee3303220a45ce70e3f1b321b00db6c35c7428fe", kill_on_drop: false }` [INFO] [stdout] 642cedee86e92a3c94b86713ee3303220a45ce70e3f1b321b00db6c35c7428fe