[INFO] cloning repository https://github.com/kostja-me/gtkamp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kostja-me/gtkamp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkostja-me%2Fgtkamp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkostja-me%2Fgtkamp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4fc966e201d93dead5bd386da956b711d9dc97c [INFO] testing kostja-me/gtkamp against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkostja-me%2Fgtkamp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kostja-me/gtkamp [INFO] finished tweaking git repo https://github.com/kostja-me/gtkamp [INFO] tweaked toml for git repo https://github.com/kostja-me/gtkamp written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kostja-me/gtkamp 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 git repo https://github.com/kostja-me/gtkamp 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5abf79e0b5a9077f5ee0df928853fbc52b2bb34a3baa6f0d9a6dcd5dbd5618fa [INFO] running `Command { std: "docker" "start" "-a" "5abf79e0b5a9077f5ee0df928853fbc52b2bb34a3baa6f0d9a6dcd5dbd5618fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5abf79e0b5a9077f5ee0df928853fbc52b2bb34a3baa6f0d9a6dcd5dbd5618fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5abf79e0b5a9077f5ee0df928853fbc52b2bb34a3baa6f0d9a6dcd5dbd5618fa", kill_on_drop: false }` [INFO] [stdout] 5abf79e0b5a9077f5ee0df928853fbc52b2bb34a3baa6f0d9a6dcd5dbd5618fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8c9d5b2c31a42a906335aeee6e14fd096c2854200f08d63c95a903214c441911 [INFO] running `Command { std: "docker" "start" "-a" "8c9d5b2c31a42a906335aeee6e14fd096c2854200f08d63c95a903214c441911", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling toml_datetime v0.7.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling gio v0.20.12 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling gio v0.19.8 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling indexmap v2.11.3 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling cfg-expr v0.20.2 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling toml_edit v0.23.5 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling glib-macros v0.20.12 [INFO] [stderr] Compiling glib-macros v0.19.9 [INFO] [stderr] Compiling gtk4-macros v0.9.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling system-deps v7.0.5 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling glib-sys v0.19.8 [INFO] [stderr] Compiling gobject-sys v0.19.8 [INFO] [stderr] Compiling gio-sys v0.19.8 [INFO] [stderr] Compiling glib-sys v0.20.10 [INFO] [stderr] Compiling gobject-sys v0.20.10 [INFO] [stderr] Compiling gio-sys v0.20.10 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.20.10 [INFO] [stderr] Compiling cairo-sys-rs v0.20.10 [INFO] [stderr] Compiling pango-sys v0.20.10 [INFO] [stderr] Compiling graphene-sys v0.20.10 [INFO] [stderr] Compiling gdk4-sys v0.9.6 [INFO] [stderr] Compiling gsk4-sys v0.9.6 [INFO] [stderr] Compiling gtk4-sys v0.9.6 [INFO] [stderr] Compiling glib v0.20.12 [INFO] [stderr] Compiling glib v0.19.9 [INFO] [stderr] Compiling cairo-rs v0.20.12 [INFO] [stderr] Compiling graphene-rs v0.20.10 [INFO] [stderr] Compiling gdk-pixbuf v0.20.10 [INFO] [stderr] Compiling pango v0.20.12 [INFO] [stderr] Compiling gdk4 v0.9.6 [INFO] [stderr] Compiling gsk4 v0.9.6 [INFO] [stderr] Compiling gtk4 v0.9.7 [INFO] [stderr] Compiling gtkamp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ListBox` [INFO] [stdout] --> src/main.rs:2:88 [INFO] [stdout] | [INFO] [stdout] 2 | use gtk::{glib, Application, ApplicationWindow, Box, Button, FileChooserDialog, Label, ListBox, Orientation, ResponseType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gio::prelude::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/audio_player.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glib::Object` [INFO] [stdout] --> src/playlist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glib::Object; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `ApplicationExt` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 1 | use gtk::prelude::*; [INFO] [stdout] | ------------ `ApplicationExt` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 20 | app.connect_activate(build_ui); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `ApplicationExt` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147992 [INFO] [stdout] = note: `#[warn(ambiguous_glob_imported_traits)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `ApplicationExtManual` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 1 | use gtk::prelude::*; [INFO] [stdout] | ------------ `ApplicationExtManual` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 21 | app.run() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `ApplicationExtManual` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147992 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `ObjectExt` [INFO] [stdout] --> src/main.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 1 | use gtk::prelude::*; [INFO] [stdout] | ------------ `ObjectExt` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 62 | let window_weak = window.downgrade(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `ObjectExt` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147992 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `ObjectExt` [INFO] [stdout] --> src/main.rs:73:54 [INFO] [stdout] | [INFO] [stdout] 1 | use gtk::prelude::*; [INFO] [stdout] | ------------ `ObjectExt` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 73 | let current_song_label_weak = current_song_label.downgrade(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `ObjectExt` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147992 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `ObjectExt` [INFO] [stdout] --> src/main.rs:95:54 [INFO] [stdout] | [INFO] [stdout] 1 | use gtk::prelude::*; [INFO] [stdout] | ------------ `ObjectExt` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 95 | let current_song_label_weak = current_song_label.downgrade(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `ObjectExt` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147992 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `ListModelExt` [INFO] [stdout] --> src/main.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 1 | use gtk::prelude::*; [INFO] [stdout] | ------------ `ListModelExt` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 131 | for i in 0..files.n_items() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `ListModelExt` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147992 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `ListModelExt` [INFO] [stdout] --> src/main.rs:132:47 [INFO] [stdout] | [INFO] [stdout] 1 | use gtk::prelude::*; [INFO] [stdout] | ------------ `ListModelExt` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 132 | if let Some(file) = files.item(i) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `ListModelExt` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147992 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `Cast` [INFO] [stdout] --> src/main.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 1 | use gtk::prelude::*; [INFO] [stdout] | ------------ `Cast` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 133 | let file = file.downcast::().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `Cast` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147992 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `gio::File: gtk4::prelude::ObjectType` is not satisfied [INFO] [stdout] --> src/main.rs:133:52 [INFO] [stdout] | [INFO] [stdout] 133 | let file = file.downcast::().unwrap(); [INFO] [stdout] | -------- ^^^^^^^^^ the trait `gtk4::prelude::ObjectType` is not implemented for `gio::File` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `glib` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.20.12/src/object.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / pub unsafe trait ObjectType: [INFO] [stdout] 23 | | UnsafeFrom [INFO] [stdout] 24 | | + Into [INFO] [stdout] 25 | | + StaticType [INFO] [stdout] ... | [INFO] [stdout] 38 | | + IntoGlibPtr<*mut ::GlibType> [INFO] [stdout] 39 | | + 'static [INFO] [stdout] | |_____________^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.19.9/src/object.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub unsafe trait ObjectType: [INFO] [stdout] 22 | | UnsafeFrom [INFO] [stdout] 23 | | + Into [INFO] [stdout] 24 | | + StaticType [INFO] [stdout] ... | [INFO] [stdout] 37 | | + IntoGlibPtr<*mut ::GlibType> [INFO] [stdout] 38 | | + 'static [INFO] [stdout] | |_____________- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: item with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.20.12/src/object.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | / $visibility struct $name $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? { [INFO] [stdout] 625 | | inner: $crate::object::TypedObjectRef<$impl_type, $parent_type>, [INFO] [stdout] 626 | | phantom: std::marker::PhantomData<($($($generic),+)?)>, [INFO] [stdout] 627 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gio-0.20.12/src/auto/file.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[doc(alias = "GFile")] [INFO] [stdout] 16 | | pub struct File(Interface); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: there are multiple different versions of crate `gio` in the dependency graph [INFO] [stdout] = help: the following other types implement trait `gtk4::prelude::ObjectType`: [INFO] [stdout] ATContext [INFO] [stdout] AboutDialog [INFO] [stdout] Accessible [INFO] [stdout] ActionBar [INFO] [stdout] Actionable [INFO] [stdout] ActivateAction [INFO] [stdout] Adjustment [INFO] [stdout] AlternativeTrigger [INFO] [stdout] and 455 others [INFO] [stdout] = note: there are multiple different versions of crate `gio` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `gtk4::prelude::Cast::downcast` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.20.12/src/object.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | fn downcast(self) -> Result [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Cast::downcast` [INFO] [stdout] = note: this error originates in the macro `$crate::glib_object_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `gio::File: gtk4::prelude::IsA` is not satisfied [INFO] [stdout] --> src/main.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | let file = file.downcast::().unwrap(); [INFO] [stdout] | ^^^^^^^^ the trait `gtk4::prelude::IsA` is not implemented for `gio::File` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `glib` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.20.12/src/object.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / pub unsafe trait IsA: [INFO] [stdout] 67 | | ObjectType + Into + AsRef + std::borrow::Borrow [INFO] [stdout] | |____________________________________________________________^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.19.9/src/object.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / pub unsafe trait IsA: [INFO] [stdout] 66 | | ObjectType + Into + AsRef + std::borrow::Borrow [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |____________________________________________________________this is the found trait [INFO] [stdout] | this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: item with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.20.12/src/object.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | / $visibility struct $name $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? { [INFO] [stdout] 625 | | inner: $crate::object::TypedObjectRef<$impl_type, $parent_type>, [INFO] [stdout] 626 | | phantom: std::marker::PhantomData<($($($generic),+)?)>, [INFO] [stdout] 627 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gio-0.20.12/src/auto/file.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[doc(alias = "GFile")] [INFO] [stdout] 16 | | pub struct File(Interface); [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: there are multiple different versions of crate `gio` in the dependency graph [INFO] [stdout] = help: the following other types implement trait `gtk4::prelude::IsA`: [INFO] [stdout] ATContext [INFO] [stdout] AboutDialog [INFO] [stdout] Accessible [INFO] [stdout] ActionBar [INFO] [stdout] Actionable [INFO] [stdout] ActivateAction [INFO] [stdout] Adjustment [INFO] [stdout] AlternativeTrigger [INFO] [stdout] and 455 others [INFO] [stdout] = note: there are multiple different versions of crate `gio` in the dependency graph [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `gtk4::glib::Object` to implement `gtk4::glib::object::MayDowncastTo` [INFO] [stdout] note: required by a bound in `gtk4::prelude::Cast::downcast` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.20.12/src/object.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 138 | fn downcast(self) -> Result [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 139 | where [INFO] [stdout] 140 | Self: MayDowncastTo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Cast::downcast` [INFO] [stdout] = note: this error originates in the macro `$crate::glib_object_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `path` exists for struct `gio::File`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:134:50 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(path) = file.path() { [INFO] [stdout] | ^^^^ method cannot be called on `gio::File` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.19.9/src/object.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | / $visibility struct $name $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? { [INFO] [stdout] 624 | | inner: $crate::object::TypedObjectRef<$impl_type, $parent_type>, [INFO] [stdout] 625 | | phantom: std::marker::PhantomData<($($($generic),+)?)>, [INFO] [stdout] 626 | | } [INFO] [stdout] | |_________- doesn't satisfy 8 bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `gio::File: gtk4::prelude::IsA` [INFO] [stdout] which is required by `gio::File: gtk4::prelude::UnixSocketAddressExtManual` [INFO] [stdout] `gio::File: gtk4::prelude::IsA` [INFO] [stdout] which is required by `gio::File: gtk4::prelude::FileExt` [INFO] [stdout] `gio::File: gtk4::prelude::IsA` [INFO] [stdout] which is required by `gio::File: gtk4::prelude::SettingsExt` [INFO] [stdout] `gio::File: gtk4::prelude::IsA` [INFO] [stdout] which is required by `gio::File: gtk4::prelude::TreeModelExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FileExt` which provides `path` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use gio::prelude::FileExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gtkamp` (bin "gtkamp") due to 3 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c9d5b2c31a42a906335aeee6e14fd096c2854200f08d63c95a903214c441911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c9d5b2c31a42a906335aeee6e14fd096c2854200f08d63c95a903214c441911", kill_on_drop: false }` [INFO] [stdout] 8c9d5b2c31a42a906335aeee6e14fd096c2854200f08d63c95a903214c441911