[INFO] fetching crate gtk-macros 0.3.0... [INFO] testing gtk-macros-0.3.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate gtk-macros 0.3.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate gtk-macros 0.3.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 648831e68334c69f3e6eaed80195f274a89b6945684de5c7aa67efef339fe258 [INFO] running `Command { std: "docker" "start" "-a" "648831e68334c69f3e6eaed80195f274a89b6945684de5c7aa67efef339fe258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "648831e68334c69f3e6eaed80195f274a89b6945684de5c7aa67efef339fe258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648831e68334c69f3e6eaed80195f274a89b6945684de5c7aa67efef339fe258", kill_on_drop: false }` [INFO] [stdout] 648831e68334c69f3e6eaed80195f274a89b6945684de5c7aa67efef339fe258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4140ca7ae37c37eb6f283a72e4316304669cce34701d2a2b69292f18d1fc829 [INFO] running `Command { std: "docker" "start" "-a" "e4140ca7ae37c37eb6f283a72e4316304669cce34701d2a2b69292f18d1fc829", 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.64s [INFO] running `Command { std: "docker" "inspect" "e4140ca7ae37c37eb6f283a72e4316304669cce34701d2a2b69292f18d1fc829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4140ca7ae37c37eb6f283a72e4316304669cce34701d2a2b69292f18d1fc829", kill_on_drop: false }` [INFO] [stdout] e4140ca7ae37c37eb6f283a72e4316304669cce34701d2a2b69292f18d1fc829 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2749e0381d48a6d0c74797cbccfe0c49347b4ef600ca4993be213aeba988579 [INFO] running `Command { std: "docker" "start" "-a" "e2749e0381d48a6d0c74797cbccfe0c49347b4ef600ca4993be213aeba988579", 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.52s [INFO] running `Command { std: "docker" "inspect" "e2749e0381d48a6d0c74797cbccfe0c49347b4ef600ca4993be213aeba988579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2749e0381d48a6d0c74797cbccfe0c49347b4ef600ca4993be213aeba988579", kill_on_drop: false }` [INFO] [stdout] e2749e0381d48a6d0c74797cbccfe0c49347b4ef600ca4993be213aeba988579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 702ee68e38233a2c7fa051ea488e10222c4a78403d6e4d59555f491c3c4c9834 [INFO] running `Command { std: "docker" "start" "-a" "702ee68e38233a2c7fa051ea488e10222c4a78403d6e4d59555f491c3c4c9834", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gtk_macros-8c65724bd9ea8eae) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests gtk-macros [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/lib.rs - action (line 123) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 269) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 287) - 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 280) - compile ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 62) - compile ... FAILED [INFO] [stdout] test src/lib.rs - add_style_class (line 261) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 19) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_action (line 204) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_widget (line 26) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_action (line 224) - 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] [stdout] test src/lib.rs - stateful_action (line 155) - compile ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 51) - compile ... FAILED [INFO] [stdout] test src/lib.rs - send (line 81) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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 - 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 - 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 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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] ---- 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 - 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] [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 0.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "702ee68e38233a2c7fa051ea488e10222c4a78403d6e4d59555f491c3c4c9834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702ee68e38233a2c7fa051ea488e10222c4a78403d6e4d59555f491c3c4c9834", kill_on_drop: false }` [INFO] [stdout] 702ee68e38233a2c7fa051ea488e10222c4a78403d6e4d59555f491c3c4c9834