[INFO] fetching crate gtk-macros 0.3.0... [INFO] testing gtk-macros-0.3.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate gtk-macros 0.3.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate gtk-macros 0.3.0 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 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-13/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 641210c2e60c58a43396e7ae510ef092cbee53f9f0707a28d491288115821534 [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" "641210c2e60c58a43396e7ae510ef092cbee53f9f0707a28d491288115821534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "641210c2e60c58a43396e7ae510ef092cbee53f9f0707a28d491288115821534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641210c2e60c58a43396e7ae510ef092cbee53f9f0707a28d491288115821534", kill_on_drop: false }` [INFO] [stdout] 641210c2e60c58a43396e7ae510ef092cbee53f9f0707a28d491288115821534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a555d98fc11ec2895a0805f342cb3864aa7bdd82a5a18fd31c2d622e61dd6709 [INFO] running `Command { std: "docker" "start" "-a" "a555d98fc11ec2895a0805f342cb3864aa7bdd82a5a18fd31c2d622e61dd6709", 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.43s [INFO] running `Command { std: "docker" "inspect" "a555d98fc11ec2895a0805f342cb3864aa7bdd82a5a18fd31c2d622e61dd6709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a555d98fc11ec2895a0805f342cb3864aa7bdd82a5a18fd31c2d622e61dd6709", kill_on_drop: false }` [INFO] [stdout] a555d98fc11ec2895a0805f342cb3864aa7bdd82a5a18fd31c2d622e61dd6709 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stdout] 20f6b4941279c3f47f892e977ec1f9102bb96ca9c3d7073ecf7c5a17a2187171 [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" "20f6b4941279c3f47f892e977ec1f9102bb96ca9c3d7073ecf7c5a17a2187171", 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.69s [INFO] running `Command { std: "docker" "inspect" "20f6b4941279c3f47f892e977ec1f9102bb96ca9c3d7073ecf7c5a17a2187171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f6b4941279c3f47f892e977ec1f9102bb96ca9c3d7073ecf7c5a17a2187171", kill_on_drop: false }` [INFO] [stdout] 20f6b4941279c3f47f892e977ec1f9102bb96ca9c3d7073ecf7c5a17a2187171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stdout] 5efb5096793d969c86b01d67b477642fe6b5d4aa46cd18d520774faf91ddbdd5 [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" "5efb5096793d969c86b01d67b477642fe6b5d4aa46cd18d520774faf91ddbdd5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gtk_macros-8a30233c99f68861) [INFO] [stdout] [INFO] [stderr] Doc-tests gtk-macros [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 - get_widget (line 26) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 269) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_action (line 224) - compile ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 51) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_action (line 204) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 287) - compile ... FAILED [INFO] [stdout] test src/lib.rs - send (line 81) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 280) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 19) - compile ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 62) - compile ... FAILED [INFO] [stdout] test src/lib.rs - action (line 107) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 8) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 261) - compile ... FAILED [INFO] [stdout] test src/lib.rs - action (line 123) - compile ... FAILED [INFO] [stdout] test src/lib.rs - send (line 89) - compile ... FAILED [INFO] [stdout] test src/lib.rs - stateful_action (line 172) - compile ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - stateful_action (line 155) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - get_widget (line 26) stdout ---- [INFO] [stdout] error: cannot find macro `get_widget` in this scope [INFO] [stdout] --> src/lib.rs:28: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:27: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 - add_style_class (line 269) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:270: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 224) stdout ---- [INFO] [stdout] error: cannot find macro `get_action` in this scope [INFO] [stdout] --> src/lib.rs:233: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:226: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:225: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 - spawn (line 51) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> src/lib.rs:52: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:54: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 - get_action (line 204) stdout ---- [INFO] [stdout] error: cannot find macro `action` in this scope [INFO] [stdout] --> src/lib.rs:206: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:205: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:215: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 - add_style_class (line 287) stdout ---- [INFO] [stdout] error: cannot find macro `add_style_class` in this scope [INFO] [stdout] --> src/lib.rs:289: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:288: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 - send (line 81) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/lib.rs:82: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:82: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 - add_style_class (line 280) stdout ---- [INFO] [stdout] error: cannot find macro `add_style_class` in this scope [INFO] [stdout] --> src/lib.rs:282: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:281: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 19) stdout ---- [INFO] [stdout] error: cannot find macro `get_widget` in this scope [INFO] [stdout] --> src/lib.rs:21: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:20: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:22: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 - spawn (line 62) stdout ---- [INFO] [stdout] error: cannot find macro `spawn` in this scope [INFO] [stdout] --> src/lib.rs:63: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 107) stdout ---- [INFO] [stdout] error: cannot find macro `get_widget` in this scope [INFO] [stdout] --> src/lib.rs:108: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:109: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:112: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 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:10: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:9: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 261) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gtk` [INFO] [stdout] --> src/lib.rs:262: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 - action (line 123) stdout ---- [INFO] [stdout] error: cannot find macro `action` in this scope [INFO] [stdout] --> src/lib.rs:127: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:124: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:125: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 - send (line 89) stdout ---- [INFO] [stdout] error: cannot find macro `send` in this scope [INFO] [stdout] --> src/lib.rs:90: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 172) stdout ---- [INFO] [stdout] error: cannot find macro `stateful_action` in this scope [INFO] [stdout] --> src/lib.rs:175: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:173: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 - stateful_action (line 155) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gio` [INFO] [stdout] --> src/lib.rs:156: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:159: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:159: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:164: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 107) [INFO] [stdout] src/lib.rs - action (line 123) [INFO] [stdout] src/lib.rs - add_style_class (line 261) [INFO] [stdout] src/lib.rs - add_style_class (line 269) [INFO] [stdout] src/lib.rs - add_style_class (line 280) [INFO] [stdout] src/lib.rs - add_style_class (line 287) [INFO] [stdout] src/lib.rs - get_action (line 204) [INFO] [stdout] src/lib.rs - get_action (line 224) [INFO] [stdout] src/lib.rs - get_widget (line 19) [INFO] [stdout] src/lib.rs - get_widget (line 26) [INFO] [stdout] src/lib.rs - get_widget (line 8) [INFO] [stdout] src/lib.rs - send (line 81) [INFO] [stdout] src/lib.rs - send (line 89) [INFO] [stdout] src/lib.rs - spawn (line 51) [INFO] [stdout] src/lib.rs - spawn (line 62) [INFO] [stdout] src/lib.rs - stateful_action (line 155) [INFO] [stdout] src/lib.rs - stateful_action (line 172) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.93s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5efb5096793d969c86b01d67b477642fe6b5d4aa46cd18d520774faf91ddbdd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5efb5096793d969c86b01d67b477642fe6b5d4aa46cd18d520774faf91ddbdd5", kill_on_drop: false }` [INFO] [stdout] 5efb5096793d969c86b01d67b477642fe6b5d4aa46cd18d520774faf91ddbdd5