[INFO] crate gtk-macros 0.2.0 is already in cache [INFO] testing gtk-macros-0.2.0 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate gtk-macros 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate gtk-macros 0.2.0 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", 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] d4ace9a683a1d21cbb51da4b1ae781d3f2c6814bbc3629af96d45019abfc5e72 [INFO] running `Command { std: "docker" "start" "-a" "d4ace9a683a1d21cbb51da4b1ae781d3f2c6814bbc3629af96d45019abfc5e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4ace9a683a1d21cbb51da4b1ae781d3f2c6814bbc3629af96d45019abfc5e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ace9a683a1d21cbb51da4b1ae781d3f2c6814bbc3629af96d45019abfc5e72", kill_on_drop: false }` [INFO] [stdout] d4ace9a683a1d21cbb51da4b1ae781d3f2c6814bbc3629af96d45019abfc5e72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0559c49a0e41b35583d23bd5cc85d2ad839e73fc1c66d513ac382f83449410c4 [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" "0559c49a0e41b35583d23bd5cc85d2ad839e73fc1c66d513ac382f83449410c4", 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.43s [INFO] running `Command { std: "docker" "inspect" "0559c49a0e41b35583d23bd5cc85d2ad839e73fc1c66d513ac382f83449410c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0559c49a0e41b35583d23bd5cc85d2ad839e73fc1c66d513ac382f83449410c4", kill_on_drop: false }` [INFO] [stdout] 0559c49a0e41b35583d23bd5cc85d2ad839e73fc1c66d513ac382f83449410c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e13a0c6f1cbc82d0eaf82bf1a4e783965cd070d6051d1e09ff375fe49c9819d5 [INFO] running `Command { std: "docker" "start" "-a" "e13a0c6f1cbc82d0eaf82bf1a4e783965cd070d6051d1e09ff375fe49c9819d5", 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.65s [INFO] running `Command { std: "docker" "inspect" "e13a0c6f1cbc82d0eaf82bf1a4e783965cd070d6051d1e09ff375fe49c9819d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e13a0c6f1cbc82d0eaf82bf1a4e783965cd070d6051d1e09ff375fe49c9819d5", kill_on_drop: false }` [INFO] [stdout] e13a0c6f1cbc82d0eaf82bf1a4e783965cd070d6051d1e09ff375fe49c9819d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4419f9651015c793e6e5d6c22142c2269861ca6def5779e88ef56dc910d07bb4 [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" "4419f9651015c793e6e5d6c22142c2269861ca6def5779e88ef56dc910d07bb4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gtk_macros-8178a6436359fd92 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests gtk-macros [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - spawn (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - action (line 105) ... FAILED [INFO] [stdout] test src/lib.rs - stateful_action (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - send (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - action (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - get_action (line 202) ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 29) ... FAILED [INFO] [stdout] test src/lib.rs - stateful_action (line 171) ... FAILED [INFO] [stdout] test src/lib.rs - send (line 79) ... 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 - get_widget (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 49) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] error: aborting due to previous error [INFO] [stdout] [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] error[E0433]: failed to resolve: use of undeclared type 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 type or module `gio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 - stateful_action (line 153) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `gio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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] ---- 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] error: aborting due to previous error [INFO] [stdout] [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] 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] error[E0433]: failed to resolve: use of undeclared type 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 type 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_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] error[E0433]: failed to resolve: use of undeclared type 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 type or module `gio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `gio` [INFO] [stdout] --> src/lib.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 13 | .downcast::() [INFO] [stdout] | ^^^ use of undeclared type 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] error[E0433]: failed to resolve: use of undeclared type 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 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] error[E0433]: failed to resolve: use of undeclared type 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 type 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 - send (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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 - 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] 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] error[E0433]: failed to resolve: use of undeclared type 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 type 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] error[E0433]: failed to resolve: use of undeclared type 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 - get_widget (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `gtk` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 - spawn (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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] [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" "4419f9651015c793e6e5d6c22142c2269861ca6def5779e88ef56dc910d07bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4419f9651015c793e6e5d6c22142c2269861ca6def5779e88ef56dc910d07bb4", kill_on_drop: false }` [INFO] [stdout] 4419f9651015c793e6e5d6c22142c2269861ca6def5779e88ef56dc910d07bb4