[INFO] fetching crate glib-macros 0.15.10... [INFO] testing glib-macros-0.15.10 against 1.60.0 for beta-1.61-1 [INFO] extracting crate glib-macros 0.15.10 into /workspace/builds/worker-95/source [INFO] validating manifest of crates.io crate glib-macros 0.15.10 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 glib-macros 0.15.10 [INFO] finished tweaking crates.io crate glib-macros 0.15.10 [INFO] tweaked toml for crates.io crate glib-macros 0.15.10 written to /workspace/builds/worker-95/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] [stderr] Blocking waiting for file lock on package cache [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-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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] cec3c5ee7ccb5ed84b86e9fb3beb9bbfb1b3bc7e4f80ae547b135a06b05ed86b [INFO] running `Command { std: "docker" "start" "-a" "cec3c5ee7ccb5ed84b86e9fb3beb9bbfb1b3bc7e4f80ae547b135a06b05ed86b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cec3c5ee7ccb5ed84b86e9fb3beb9bbfb1b3bc7e4f80ae547b135a06b05ed86b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec3c5ee7ccb5ed84b86e9fb3beb9bbfb1b3bc7e4f80ae547b135a06b05ed86b", kill_on_drop: false }` [INFO] [stdout] cec3c5ee7ccb5ed84b86e9fb3beb9bbfb1b3bc7e4f80ae547b135a06b05ed86b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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] abf0a34bd197fddf1c4577503f23c1b62f715e8efa03059fc98b29427b958895 [INFO] running `Command { std: "docker" "start" "-a" "abf0a34bd197fddf1c4577503f23c1b62f715e8efa03059fc98b29427b958895", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling glib-macros v0.15.10 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.63s [INFO] running `Command { std: "docker" "inspect" "abf0a34bd197fddf1c4577503f23c1b62f715e8efa03059fc98b29427b958895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf0a34bd197fddf1c4577503f23c1b62f715e8efa03059fc98b29427b958895", kill_on_drop: false }` [INFO] [stdout] abf0a34bd197fddf1c4577503f23c1b62f715e8efa03059fc98b29427b958895 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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] c7b23bc85589036cc3ede556e911a67e6c15b87032b59081615f80c6d94a4655 [INFO] running `Command { std: "docker" "start" "-a" "c7b23bc85589036cc3ede556e911a67e6c15b87032b59081615f80c6d94a4655", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling glib-macros v0.15.10 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glib::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use glib::translate::{FromGlib, IntoGlib}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | use glib::subclass::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | use glib::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | use glib::subclass::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `glib::translate::FromGlib`, `glib::translate::IntoGlib`, `glib::subclass::prelude::*`, `glib::prelude::*`, `glib::subclass::prelude::*` [INFO] [stdout] --> tests/test.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use glib::translate::{FromGlib, IntoGlib}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | use glib::subclass::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | use glib::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 456 | use glib::subclass::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Eq, PartialEq, Clone, Copy, glib::ErrorDomain)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Eq, PartialEq, Clone, glib::SharedBoxed)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Clone, Debug, PartialEq, Eq, glib::SharedBoxed)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:93:49 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Eq, PartialEq, Clone, Copy, glib::Enum)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:136:43 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Clone, Debug, PartialEq, Eq, glib::Boxed)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Clone, Debug, PartialEq, Eq, glib::Boxed)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 185 | #[glib::flags(name = "MyFlags")] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | #[glib::object_subclass] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | glib::wrapper! { [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:284:36 [INFO] [stdout] | [INFO] [stdout] 284 | #[derive(Debug, PartialEq, Eq, glib::Variant)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:299:36 [INFO] [stdout] | [INFO] [stdout] 299 | #[derive(Debug, PartialEq, Eq, glib::Variant)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:314:36 [INFO] [stdout] | [INFO] [stdout] 314 | #[derive(Debug, PartialEq, Eq, glib::Variant)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:323:36 [INFO] [stdout] | [INFO] [stdout] 323 | #[derive(Debug, PartialEq, Eq, glib::Variant)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:332:36 [INFO] [stdout] | [INFO] [stdout] 332 | #[derive(Debug, PartialEq, Eq, glib::Variant)] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | let empty = glib::closure!(|| {}); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | let no_arg = glib::closure!(|| 2i32); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | let add_1 = glib::closure!(|x: i32| x + 1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | let concat_str = glib::closure!(|s: &str| s.to_owned() + " World"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | let weak_test = glib::closure_local!(@watch obj => move || obj.ref_count()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:376:31 [INFO] [stdout] | [INFO] [stdout] 376 | let closure = glib::closure_local!(@watch self as obj => move || obj.ref_count()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | glib::closure_local!(@watch self.obj as obj => move || obj.ref_count()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:407:27 [INFO] [stdout] | [INFO] [stdout] 407 | let strong_test = glib::closure_local!(@strong obj => move || obj.ref_count()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | let weak_none_test = glib::closure_local!(@weak-allow-none obj => move || { [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | glib::closure!(|a: glib::Object, b: glib::Object| { a.ref_count() + b.ref_count() }); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let alias_test = glib::closure_local!(@strong obj1 as a, @strong obj2 => move || { [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:448:27 [INFO] [stdout] | [INFO] [stdout] 448 | let struct_test = glib::closure_local!(@strong a_struct.a as a => move || { [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:461:11 [INFO] [stdout] | [INFO] [stdout] 461 | #[glib::object_subclass] [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | glib::wrapper! { [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:483:29 [INFO] [stdout] | [INFO] [stdout] 483 | let cast_test = glib::closure_local!(@watch foo => move || foo.my_ref_count()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 489 | let _ = glib::closure_local!(@watch foo_ref => move || foo_ref.my_ref_count()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error_domain` in this scope [INFO] [stdout] --> tests/test.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[error_domain(name = "TestError")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared_boxed_type` in this scope [INFO] [stdout] --> tests/test.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[shared_boxed_type(name = "MyShared")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared_boxed_type` in this scope [INFO] [stdout] --> tests/test.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[shared_boxed_type(name = "MyNullableShared", nullable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `enum_type` in this scope [INFO] [stdout] --> tests/test.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | #[enum_type(name = "TestAnimalType")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `enum_value` in this scope [INFO] [stdout] --> tests/test.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[enum_value(name = "The Dog")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `enum_value` in this scope [INFO] [stdout] --> tests/test.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[enum_value(name = "The Cat", nick = "chat")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `boxed_type` in this scope [INFO] [stdout] --> tests/test.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | #[boxed_type(name = "MyBoxed")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `boxed_type` in this scope [INFO] [stdout] --> tests/test.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | #[boxed_type(name = "MyNullableBoxed", nullable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `flags_value` in this scope [INFO] [stdout] --> tests/test.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | #[flags_value(name = "Flag A", nick = "nick-a")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `flags_value` in this scope [INFO] [stdout] --> tests/test.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | #[flags_value(name = "Flag B")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `flags_value` in this scope [INFO] [stdout] --> tests/test.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 191 | #[flags_value(skip)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | assert!(t.is_a(glib::Type::BOXED)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | assert!(t.is_a(glib::Type::BOXED)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | assert!(t.is_a(glib::Type::ENUM)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let e = glib::EnumClass::new(t).expect("EnumClass::new failed"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | assert!(t.is_a(glib::Type::BOXED)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | assert!(t.is_a(glib::Type::BOXED)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | assert!(t.is_a(glib::Type::FLAGS)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let e = glib::FlagsClass::new(t).expect("FlagsClass::new failed"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:357:19 [INFO] [stdout] | [INFO] [stdout] 357 | let obj = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:357:39 [INFO] [stdout] | [INFO] [stdout] 357 | let obj = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | impl TestExt for glib::Object { [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:381:19 [INFO] [stdout] | [INFO] [stdout] 381 | let obj = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:381:39 [INFO] [stdout] | [INFO] [stdout] 381 | let obj = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:387:18 [INFO] [stdout] | [INFO] [stdout] 387 | obj: glib::Object, [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | obj: glib::Object::new::(&[]).unwrap(), [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:399:38 [INFO] [stdout] | [INFO] [stdout] 399 | obj: glib::Object::new::(&[]).unwrap(), [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | let obj = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:405:39 [INFO] [stdout] | [INFO] [stdout] 405 | let obj = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 415 | let obj = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:415:39 [INFO] [stdout] | [INFO] [stdout] 415 | let obj = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:427:20 [INFO] [stdout] | [INFO] [stdout] 427 | let obj1 = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:427:40 [INFO] [stdout] | [INFO] [stdout] 427 | let obj1 = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 428 | let obj2 = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:428:40 [INFO] [stdout] | [INFO] [stdout] 428 | let obj2 = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 443 | a: glib::Object, [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | let a = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:446:37 [INFO] [stdout] | [INFO] [stdout] 446 | let a = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:480:23 [INFO] [stdout] | [INFO] [stdout] 480 | let foo = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `glib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `glib` [INFO] [stdout] --> tests/test.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let err = glib::Error::new(TestError::Bad, "oh no!"); [INFO] [stdout] | ^^^^^ not found in `glib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro_crate::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectSubclass` in this scope [INFO] [stdout] --> tests/test.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | impl ObjectSubclass for Foo { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in module `super` [INFO] [stdout] --> tests/test.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | type Type = super::Foo; [INFO] [stdout] | ^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectImpl` in this scope [INFO] [stdout] --> tests/test.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | impl ObjectImpl for Foo {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IsA` in this scope [INFO] [stdout] --> tests/test.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | impl> FooExt for O { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/test.rs:269:21 [INFO] [stdout] | [INFO] [stdout] 269 | impl> FooExt for O { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/test.rs:271:58 [INFO] [stdout] | [INFO] [stdout] 269 | impl> FooExt for O { [INFO] [stdout] | - help: you might be missing a type parameter: `, Foo` [INFO] [stdout] 270 | fn test(&self) { [INFO] [stdout] 271 | let _self = self.as_ref().downcast_ref::().unwrap().imp(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectSubclass` in this scope [INFO] [stdout] --> tests/test.rs:462:14 [INFO] [stdout] | [INFO] [stdout] 462 | impl ObjectSubclass for FooPrivate { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/test.rs:464:25 [INFO] [stdout] | [INFO] [stdout] 464 | type Type = Foo; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectImpl` in this scope [INFO] [stdout] --> tests/test.rs:467:14 [INFO] [stdout] | [INFO] [stdout] 467 | impl ObjectImpl for FooPrivate {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/test.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 473 | impl Foo { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> tests/test.rs:480:43 [INFO] [stdout] | [INFO] [stdout] 343 | fn closure() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 480 | let foo = glib::Object::new::(&[]).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/test.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/test.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bits` found for enum `MyFlags` in the current scope [INFO] [stdout] --> tests/test.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 186 | enum MyFlags { [INFO] [stdout] | ------------ method `bits` not found for this [INFO] [stdout] ... [INFO] [stdout] 192 | AB = Self::A.bits() | Self::B.bits(), [INFO] [stdout] | ^^^^ method not found in `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bits` found for enum `MyFlags` in the current scope [INFO] [stdout] --> tests/test.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 186 | enum MyFlags { [INFO] [stdout] | ------------ method `bits` not found for this [INFO] [stdout] ... [INFO] [stdout] 192 | AB = Self::A.bits() | Self::B.bits(), [INFO] [stdout] | ^^^^ method not found in `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 89 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glib-macros` due to 90 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c7b23bc85589036cc3ede556e911a67e6c15b87032b59081615f80c6d94a4655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b23bc85589036cc3ede556e911a67e6c15b87032b59081615f80c6d94a4655", kill_on_drop: false }` [INFO] [stdout] c7b23bc85589036cc3ede556e911a67e6c15b87032b59081615f80c6d94a4655