[INFO] cloning repository https://github.com/bedsteler20/rose-gtk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bedsteler20/rose-gtk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbedsteler20%2Frose-gtk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbedsteler20%2Frose-gtk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2074ddbb38caf89d2da72ba60f8ff28d292f5c4 [INFO] testing bedsteler20/rose-gtk against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbedsteler20%2Frose-gtk" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bedsteler20/rose-gtk [INFO] finished tweaking git repo https://github.com/bedsteler20/rose-gtk [INFO] tweaked toml for git repo https://github.com/bedsteler20/rose-gtk written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bedsteler20/rose-gtk on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bedsteler20/rose-gtk 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.8.2 [INFO] [stderr] Downloaded system-deps v6.2.0 [INFO] [stderr] Downloaded graphene-rs v0.18.1 [INFO] [stderr] Downloaded semver v1.0.21 [INFO] [stderr] Downloaded gsk4 v0.7.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.18 [INFO] [stderr] Downloaded gdk4-sys v0.7.2 [INFO] [stderr] Downloaded gdk4 v0.7.3 [INFO] [stderr] Downloaded gtk4-sys v0.7.3 [INFO] [stderr] Downloaded winnow v0.5.33 [INFO] [stderr] Downloaded gio-sys v0.18.1 [INFO] [stderr] Downloaded libadwaita v0.5.3 [INFO] [stderr] Downloaded glib-macros v0.18.5 [INFO] [stderr] Downloaded gio v0.18.4 [INFO] [stderr] Downloaded glib-sys v0.18.1 [INFO] [stderr] Downloaded cairo-rs v0.18.5 [INFO] [stderr] Downloaded anyhow v1.0.79 [INFO] [stderr] Downloaded glib v0.18.5 [INFO] [stderr] Downloaded target-lexicon v0.12.13 [INFO] [stderr] Downloaded cfg-expr v0.15.6 [INFO] [stderr] Downloaded graphene-sys v0.18.1 [INFO] [stderr] Downloaded libadwaita-sys v0.5.3 [INFO] [stderr] Downloaded pkg-config v0.3.28 [INFO] [stderr] Downloaded toml_edit v0.20.2 [INFO] [stderr] Downloaded pango-sys v0.18.0 [INFO] [stderr] Downloaded pango v0.18.3 [INFO] [stderr] Downloaded field-offset v0.3.6 [INFO] [stderr] Downloaded gtk4 v0.7.3 [INFO] [stderr] Downloaded gdk-pixbuf v0.18.5 [INFO] [stderr] Downloaded gtk4-macros v0.7.2 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Downloaded gsk4-sys v0.7.3 [INFO] [stderr] Downloaded proc-macro-crate v2.0.1 [INFO] [stderr] Downloaded gobject-sys v0.18.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbe52ad185ca16b99b702f286e8966a9150e78b3e65d3e6f34207c8ac4924965 [INFO] running `Command { std: "docker" "start" "-a" "fbe52ad185ca16b99b702f286e8966a9150e78b3e65d3e6f34207c8ac4924965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbe52ad185ca16b99b702f286e8966a9150e78b3e65d3e6f34207c8ac4924965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe52ad185ca16b99b702f286e8966a9150e78b3e65d3e6f34207c8ac4924965", kill_on_drop: false }` [INFO] [stdout] fbe52ad185ca16b99b702f286e8966a9150e78b3e65d3e6f34207c8ac4924965 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc098deac587c5e9c724bb81c5225bdbcd0dafa91c6f82e530563f83af2c703a [INFO] running `Command { std: "docker" "start" "-a" "dc098deac587c5e9c724bb81c5225bdbcd0dafa91c6f82e530563f83af2c703a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling winnow v0.5.33 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cfg-expr v0.15.6 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling gtk4-macros v0.7.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.1 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling graphene-sys v0.18.1 [INFO] [stderr] Compiling gdk4-sys v0.7.2 [INFO] [stderr] Compiling gsk4-sys v0.7.3 [INFO] [stderr] Compiling gtk4-sys v0.7.3 [INFO] [stderr] Compiling libadwaita-sys v0.5.3 [INFO] [stderr] Compiling glib v0.18.5 [INFO] [stderr] Compiling cairo-rs v0.18.5 [INFO] [stderr] Compiling graphene-rs v0.18.1 [INFO] [stderr] Compiling gdk-pixbuf v0.18.5 [INFO] [stderr] Compiling pango v0.18.3 [INFO] [stderr] Compiling gdk4 v0.7.3 [INFO] [stderr] Compiling gsk4 v0.7.3 [INFO] [stderr] Compiling gtk4 v0.7.3 [INFO] [stderr] Compiling libadwaita v0.5.3 [INFO] [stderr] Compiling rose-gtk v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "dc098deac587c5e9c724bb81c5225bdbcd0dafa91c6f82e530563f83af2c703a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc098deac587c5e9c724bb81c5225bdbcd0dafa91c6f82e530563f83af2c703a", kill_on_drop: false }` [INFO] [stdout] dc098deac587c5e9c724bb81c5225bdbcd0dafa91c6f82e530563f83af2c703a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5bc337756ea661a6fd85980f5147dcc748e410319ab12d9a2b394fd3f4a3ad5 [INFO] running `Command { std: "docker" "start" "-a" "c5bc337756ea661a6fd85980f5147dcc748e410319ab12d9a2b394fd3f4a3ad5", kill_on_drop: false }` [INFO] [stderr] Compiling rose-gtk v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "c5bc337756ea661a6fd85980f5147dcc748e410319ab12d9a2b394fd3f4a3ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5bc337756ea661a6fd85980f5147dcc748e410319ab12d9a2b394fd3f4a3ad5", kill_on_drop: false }` [INFO] [stdout] c5bc337756ea661a6fd85980f5147dcc748e410319ab12d9a2b394fd3f4a3ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6361b23eda3c1e019f019023af97d7ec66b3315cb6e45c5672ee774c1a834c13 [INFO] running `Command { std: "docker" "start" "-a" "6361b23eda3c1e019f019023af97d7ec66b3315cb6e45c5672ee774c1a834c13", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rose_gtk-8ca96aa29db78046) [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 rose_gtk [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/future/channels.rs - future::channels::Channel::new (line 11) ... FAILED [INFO] [stdout] test src/future/spawn.rs - future::spawn::spawn_async (line 16) ... FAILED [INFO] [stdout] test src/utils/weak_ref.rs - utils::weak_ref::T::week_ref (line 19) ... FAILED [INFO] [stdout] test src/future/spawn.rs - future::spawn::spawn_background_thread (line 60) ... FAILED [INFO] [stdout] test src/utils/widget.rs - utils::widget::RoseWidgetExt::show_tost (line 44) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/future/channels.rs - future::channels::Channel::new (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rose` [INFO] [stdout] --> src/future/channels.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 4 | let (sender, receiver) = rose::Channel::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rose`, use `cargo add rose` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rose_gtk::Channel; [INFO] [stdout] | [INFO] [stdout] help: if you import `Channel`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let (sender, receiver) = rose::Channel::new(); [INFO] [stdout] 4 + let (sender, receiver) = Channel::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RUNTIME` in this scope [INFO] [stdout] --> src/future/channels.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 6 | RUNTIME.spawn(async move { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 2 + use rose_gtk::RUNTIME; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/future/channels.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 10 | receiver.attach(move |resp| { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/spawn.rs - future::spawn::spawn_async (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rose` [INFO] [stdout] --> src/future/spawn.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 5 | rose::spawn_async(async move { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rose`, use `cargo add rose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> src/future/spawn.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 9 | reqwest::get(format!("https://www.rust-lang.org/{}", foo)) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/future/spawn.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 15 | }, move |resp| { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/weak_ref.rs - utils::weak_ref::T::week_ref (line 19) stdout ---- [INFO] [stdout] error[E0599]: no method named `connect_clicked` found for struct `gtk4::Button` in the current scope [INFO] [stdout] --> src/utils/weak_ref.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 5 | button.connect_clicked({ [INFO] [stdout] | -------^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gtk4-0.7.3/src/auto/button.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | fn connect_clicked(&self, f: F) -> SignalHandlerId { [INFO] [stdout] | --------------- the method is available for `gtk4::Button` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `connect_id` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.18.5/src/object.rs:1802:5 [INFO] [stdout] | [INFO] [stdout] 1802 | / fn connect_id( [INFO] [stdout] 1803 | | &self, [INFO] [stdout] 1804 | | signal_id: SignalId, [INFO] [stdout] 1805 | | details: Option, [INFO] [stdout] ... | [INFO] [stdout] 1809 | | where [INFO] [stdout] 1810 | | F: Fn(&[Value]) -> Option + Send + Sync + 'static; [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] help: trait `ButtonExt` which provides `connect_clicked` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use gtk4::prelude::ButtonExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `week_ref` found for struct `gtk4::Label` in the current scope [INFO] [stdout] --> src/utils/weak_ref.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 6 | let label = label.week_ref(); [INFO] [stdout] | ^^^^^^^^ method not found in `gtk4::Label` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/spawn.rs - future::spawn::spawn_background_thread (line 60) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/future/spawn.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 12 | thread::sleep(Duration::from_secs(1)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/future/spawn.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 12 | thread::sleep(Duration::from_secs(1)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rose` [INFO] [stdout] --> src/future/spawn.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 5 | rose::spawn_background_thread(move |sender| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rose`, use `cargo add rose` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/future/spawn.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 15 | }, move |resp| { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/widget.rs - utils::widget::RoseWidgetExt::show_tost (line 44) stdout ---- [INFO] [stdout] error[E0599]: no method named `connect_clicked` found for struct `gtk4::Button` in the current scope [INFO] [stdout] --> src/utils/widget.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 5 | button.connect_clicked(|this| { [INFO] [stdout] | -------^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gtk4-0.7.3/src/auto/button.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | fn connect_clicked(&self, f: F) -> SignalHandlerId { [INFO] [stdout] | --------------- the method is available for `gtk4::Button` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `connect_id` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.18.5/src/object.rs:1802:5 [INFO] [stdout] | [INFO] [stdout] 1802 | / fn connect_id( [INFO] [stdout] 1803 | | &self, [INFO] [stdout] 1804 | | signal_id: SignalId, [INFO] [stdout] 1805 | | details: Option, [INFO] [stdout] ... | [INFO] [stdout] 1809 | | where [INFO] [stdout] 1810 | | F: Fn(&[Value]) -> Option + Send + Sync + 'static; [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] help: trait `ButtonExt` which provides `connect_clicked` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use libadwaita::prelude::ButtonExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/widget.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 8 | overlay.set_child(&button); [INFO] [stdout] | --------- ^^^^^^^ expected `Option<&_>`, found `&Button` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&_>` [INFO] [stdout] found reference `>k4::Button` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libadwaita-0.5.3/src/auto/toast_overlay.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn set_child(&self, child: Option<&impl IsA>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 8 | overlay.set_child(Some(&button)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/future/channels.rs - future::channels::Channel::new (line 11) [INFO] [stdout] src/future/spawn.rs - future::spawn::spawn_async (line 16) [INFO] [stdout] src/future/spawn.rs - future::spawn::spawn_background_thread (line 60) [INFO] [stdout] src/utils/weak_ref.rs - utils::weak_ref::T::week_ref (line 19) [INFO] [stdout] src/utils/widget.rs - utils::widget::RoseWidgetExt::show_tost (line 44) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6361b23eda3c1e019f019023af97d7ec66b3315cb6e45c5672ee774c1a834c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6361b23eda3c1e019f019023af97d7ec66b3315cb6e45c5672ee774c1a834c13", kill_on_drop: false }` [INFO] [stdout] 6361b23eda3c1e019f019023af97d7ec66b3315cb6e45c5672ee774c1a834c13