[INFO] fetching crate gtk4-macros 0.11.0... [INFO] testing gtk4-macros-0.11.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate gtk4-macros 0.11.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate gtk4-macros 0.11.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate gtk4-macros 0.11.0 [INFO] tweaked toml for crates.io crate gtk4-macros 0.11.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gtk4-macros 0.11.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gtk4-macros 0.11.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64ebd9dd661c9a4fb8e732f0120436cc4b7a4733fd1e8bb8eaf99859f0bff6b0 [INFO] running `Command { std: "docker" "start" "-a" "64ebd9dd661c9a4fb8e732f0120436cc4b7a4733fd1e8bb8eaf99859f0bff6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64ebd9dd661c9a4fb8e732f0120436cc4b7a4733fd1e8bb8eaf99859f0bff6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ebd9dd661c9a4fb8e732f0120436cc4b7a4733fd1e8bb8eaf99859f0bff6b0", kill_on_drop: false }` [INFO] [stdout] 64ebd9dd661c9a4fb8e732f0120436cc4b7a4733fd1e8bb8eaf99859f0bff6b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b055b1f6e626b4f9b61fe981b337ba52ff3034b21ff4805a4be014a32cc222 [INFO] running `Command { std: "docker" "start" "-a" "c0b055b1f6e626b4f9b61fe981b337ba52ff3034b21ff4805a4be014a32cc222", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling gtk4-macros v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.28s [INFO] running `Command { std: "docker" "inspect" "c0b055b1f6e626b4f9b61fe981b337ba52ff3034b21ff4805a4be014a32cc222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b055b1f6e626b4f9b61fe981b337ba52ff3034b21ff4805a4be014a32cc222", kill_on_drop: false }` [INFO] [stdout] c0b055b1f6e626b4f9b61fe981b337ba52ff3034b21ff4805a4be014a32cc222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54ab85819e8e72627224f0e0ad61a9cba4a04213e45be8e9f63c75e006ef6bab [INFO] running `Command { std: "docker" "start" "-a" "54ab85819e8e72627224f0e0ad61a9cba4a04213e45be8e9f63c75e006ef6bab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling trybuild2 v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling gtk4-macros v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtk::{glib, prelude::*, subclass::prelude::*}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | use gtk::subclass::widget::CompositeTemplateClass; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gtk` [INFO] [stdout] --> tests/templates.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gtk::{glib, prelude::*, subclass::prelude::*}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Default, gtk::CompositeTemplate)] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[gtk::test] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, gtk::CompositeTemplate)] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[gtk::template_callbacks] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | #[gtk::test] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, Default, gtk::CompositeTemplate)] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:204:3 [INFO] [stdout] | [INFO] [stdout] 204 | #[gtk::test] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:321:41 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Default, glib::Properties, gtk::CompositeTemplate)] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template` in this scope [INFO] [stdout] --> tests/templates.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[template(string = r#" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `template` is an attribute that can be used by the derive macro `CompositeTemplate`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 25 + #[derive(CompositeTemplate)] [INFO] [stdout] 26 | pub struct MyWidget { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template_child` in this scope [INFO] [stdout] --> tests/templates.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[template_child] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `template_child` is an attribute that can be used by the derive macro `CompositeTemplate`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template_child` in this scope [INFO] [stdout] --> tests/templates.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[template_child(id = "my_label2")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `template_child` is an attribute that can be used by the derive macro `CompositeTemplate`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template` in this scope [INFO] [stdout] --> tests/templates.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[template(string = r#" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `template` is an attribute that can be used by the derive macro `CompositeTemplate`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 87 + #[derive(CompositeTemplate)] [INFO] [stdout] 88 | pub struct MyWidget2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template_child` in this scope [INFO] [stdout] --> tests/templates.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[template_child] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `template_child` is an attribute that can be used by the derive macro `CompositeTemplate`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template_callback` in this scope [INFO] [stdout] --> tests/templates.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | #[template_callback] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template` in this scope [INFO] [stdout] --> tests/templates.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | #[template( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `template` is an attribute that can be used by the derive macro `CompositeTemplate`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 176 + #[derive(CompositeTemplate)] [INFO] [stdout] 177 | pub struct MyWidget3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template` in this scope [INFO] [stdout] --> tests/templates.rs:322:7 [INFO] [stdout] | [INFO] [stdout] 322 | #[template(string = r#" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `template` is an attribute that can be used by the derive macro `CompositeTemplate`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 333 + #[derive(CompositeTemplate)] [INFO] [stdout] 334 | pub struct TestWidget { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `properties` in this scope [INFO] [stdout] --> tests/templates.rs:332:7 [INFO] [stdout] | [INFO] [stdout] 332 | #[properties(wrapper_type = super::TestWidget)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `property` in this scope [INFO] [stdout] --> tests/templates.rs:334:11 [INFO] [stdout] | [INFO] [stdout] 334 | #[property(get)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template_child` in this scope [INFO] [stdout] --> tests/templates.rs:335:11 [INFO] [stdout] | [INFO] [stdout] 335 | #[template_child] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `template_child` is an attribute that can be used by the derive macro `CompositeTemplate`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | impl gtk::subclass::prelude::WidgetImpl for MyWidget3 {} [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `TemplateChild` in this scope [INFO] [stdout] --> tests/templates.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub label: TemplateChild, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::imp3::TemplateChild` exists but is inaccessible [INFO] [stdout] --> tests/templates.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | struct TemplateChild(T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectSubclass` in this scope [INFO] [stdout] --> tests/templates.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | impl ObjectSubclass for MyWidget { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyWidget` in module `super` [INFO] [stdout] --> tests/templates.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | type Type = super::MyWidget; [INFO] [stdout] | ^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectImpl` in this scope [INFO] [stdout] --> tests/templates.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | impl ObjectImpl for MyWidget { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `WidgetImpl` in this scope [INFO] [stdout] --> tests/templates.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | impl WidgetImpl for MyWidget {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyWidget` in this scope [INFO] [stdout] --> tests/templates.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let widget: MyWidget = glib::Object::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::imp::MyWidget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `TemplateChild` in this scope [INFO] [stdout] --> tests/templates.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | button: TemplateChild, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::imp3::TemplateChild` exists but is inaccessible [INFO] [stdout] --> tests/templates.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | struct TemplateChild(T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectSubclass` in this scope [INFO] [stdout] --> tests/templates.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | impl ObjectSubclass for MyWidget2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyWidget2` in module `super` [INFO] [stdout] --> tests/templates.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | type Type = super::MyWidget2; [INFO] [stdout] | ^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyWidget2` in module `super` [INFO] [stdout] --> tests/templates.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | impl super::MyWidget2 { [INFO] [stdout] | ^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectImpl` in this scope [INFO] [stdout] --> tests/templates.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | impl ObjectImpl for MyWidget2 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `WidgetImpl` in this scope [INFO] [stdout] --> tests/templates.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | impl WidgetImpl for MyWidget2 {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyWidget2` in this scope [INFO] [stdout] --> tests/templates.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let widget: MyWidget2 = glib::Object::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::imp2::MyWidget2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyWidget3` in module `super` [INFO] [stdout] --> tests/templates.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | type Type = super::MyWidget3; [INFO] [stdout] | ^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyWidget3` in this scope [INFO] [stdout] --> tests/templates.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | let _: MyWidget3 = glib::Object::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::imp3::MyWidget3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectSubclass` in this scope [INFO] [stdout] --> tests/templates.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | impl ObjectSubclass for TestWidget { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `TestWidget` in module `super` [INFO] [stdout] --> tests/templates.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | type Type = super::TestWidget; [INFO] [stdout] | ^^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectImpl` in this scope [INFO] [stdout] --> tests/templates.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | impl ObjectImpl for TestWidget {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `WidgetImpl` in this scope [INFO] [stdout] --> tests/templates.rs:356:10 [INFO] [stdout] | [INFO] [stdout] 356 | impl WidgetImpl for TestWidget {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub label: TemplateChild, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | pub label2: gtk::TemplateChild, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | pub label2: gtk::TemplateChild, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | type ParentType = gtk::Widget; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | button: TemplateChild, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | type ParentType = gtk::Widget; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:121:45 [INFO] [stdout] | [INFO] [stdout] 121 | async fn on_clicked(&self, button: >k::Button) { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | type ParentType = gtk::Widget; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | widget: gtk::TemplateChild, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:336:36 [INFO] [stdout] | [INFO] [stdout] 336 | widget: gtk::TemplateChild, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gtk` in this scope [INFO] [stdout] --> tests/templates.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | type ParentType = gtk::Widget; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gtk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gtk`, use `cargo add gtk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gtk4-macros` (test "templates") due to 53 previous errors [INFO] running `Command { std: "docker" "inspect" "54ab85819e8e72627224f0e0ad61a9cba4a04213e45be8e9f63c75e006ef6bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ab85819e8e72627224f0e0ad61a9cba4a04213e45be8e9f63c75e006ef6bab", kill_on_drop: false }` [INFO] [stdout] 54ab85819e8e72627224f0e0ad61a9cba4a04213e45be8e9f63c75e006ef6bab