[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#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [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 b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libadwaita-sys v0.5.3 [INFO] [stderr] Downloaded libadwaita v0.5.3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62364334c50a45598bba81f913d7ca240f14abaf7f1b630309e03d2f42e28b92 [INFO] running `Command { std: "docker" "start" "-a" "62364334c50a45598bba81f913d7ca240f14abaf7f1b630309e03d2f42e28b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62364334c50a45598bba81f913d7ca240f14abaf7f1b630309e03d2f42e28b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62364334c50a45598bba81f913d7ca240f14abaf7f1b630309e03d2f42e28b92", kill_on_drop: false }` [INFO] [stdout] 62364334c50a45598bba81f913d7ca240f14abaf7f1b630309e03d2f42e28b92 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e70d22d538290cc118ca1fbf407e2423185d5b53e31f9559f8a80d34009303c6 [INFO] running `Command { std: "docker" "start" "-a" "e70d22d538290cc118ca1fbf407e2423185d5b53e31f9559f8a80d34009303c6", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.33 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error v1.0.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 cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cfg-expr v0.15.6 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-channel v2.1.1 [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 system-deps v6.2.0 [INFO] [stderr] Compiling glib-macros v0.18.5 [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 pango-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-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 futures-executor v0.3.30 [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 pango v0.18.3 [INFO] [stderr] Compiling gdk-pixbuf v0.18.5 [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 45s [INFO] running `Command { std: "docker" "inspect" "e70d22d538290cc118ca1fbf407e2423185d5b53e31f9559f8a80d34009303c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e70d22d538290cc118ca1fbf407e2423185d5b53e31f9559f8a80d34009303c6", kill_on_drop: false }` [INFO] [stdout] e70d22d538290cc118ca1fbf407e2423185d5b53e31f9559f8a80d34009303c6 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c95265f51bb0d8869238b5fa238219b06789337625c7c34435cf1c0f0ed2927b [INFO] running `Command { std: "docker" "start" "-a" "c95265f51bb0d8869238b5fa238219b06789337625c7c34435cf1c0f0ed2927b", 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.95s [INFO] running `Command { std: "docker" "inspect" "c95265f51bb0d8869238b5fa238219b06789337625c7c34435cf1c0f0ed2927b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c95265f51bb0d8869238b5fa238219b06789337625c7c34435cf1c0f0ed2927b", kill_on_drop: false }` [INFO] [stdout] c95265f51bb0d8869238b5fa238219b06789337625c7c34435cf1c0f0ed2927b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] da407f676ef4263f4e7c73f9734c086c563fa674c72e7452140f7fefa9d79540 [INFO] running `Command { std: "docker" "start" "-a" "da407f676ef4263f4e7c73f9734c086c563fa674c72e7452140f7fefa9d79540", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [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/spawn.rs - future::spawn::spawn_async (line 16) ... FAILED [INFO] [stdout] test src/future/channels.rs - future::channels::Channel::new (line 11) ... FAILED [INFO] [stdout] test src/future/spawn.rs - future::spawn::spawn_background_thread (line 60) ... FAILED [INFO] [stdout] test src/utils/weak_ref.rs - utils::weak_ref::T::week_ref (line 19) ... 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/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/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_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/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/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.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "da407f676ef4263f4e7c73f9734c086c563fa674c72e7452140f7fefa9d79540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da407f676ef4263f4e7c73f9734c086c563fa674c72e7452140f7fefa9d79540", kill_on_drop: false }` [INFO] [stdout] da407f676ef4263f4e7c73f9734c086c563fa674c72e7452140f7fefa9d79540