[INFO] fetching crate gobject-subclass 0.2.1... [INFO] checking gobject-subclass-0.2.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate gobject-subclass 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate gobject-subclass 0.2.1 [INFO] finished tweaking crates.io crate gobject-subclass 0.2.1 [INFO] tweaked toml for crates.io crate gobject-subclass 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gobject-subclass 0.2.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--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] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding glib v0.6.1 (available: v0.21.1) [INFO] [stderr] Adding glib-sys v0.7.0 (available: v0.21.1) [INFO] [stderr] Adding gobject-sys v0.7.0 (available: v0.21.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc9743e0eb849db062f35e6208b1ce4567ebbb98d13c1ae90c8bede72336d3a6 [INFO] running `Command { std: "docker" "start" "-a" "fc9743e0eb849db062f35e6208b1ce4567ebbb98d13c1ae90c8bede72336d3a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc9743e0eb849db062f35e6208b1ce4567ebbb98d13c1ae90c8bede72336d3a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc9743e0eb849db062f35e6208b1ce4567ebbb98d13c1ae90c8bede72336d3a6", kill_on_drop: false }` [INFO] [stdout] fc9743e0eb849db062f35e6208b1ce4567ebbb98d13c1ae90c8bede72336d3a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 381e66284a6a9e91f23b181042f648860fa05893b23f7c152198e5d7936cfbae [INFO] running `Command { std: "docker" "start" "-a" "381e66284a6a9e91f23b181042f648860fa05893b23f7c152198e5d7936cfbae", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling glib-sys v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.7.0 [INFO] [stderr] Checking glib v0.6.1 [INFO] [stderr] Checking gobject-subclass v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/object.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | fn new(&self, &T) -> T::ImplType; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/object.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn class_init(&self, &mut ClassStruct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ClassStruct` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/object.rs:517:52 [INFO] [stdout] | [INFO] [stdout] 517 | .map(|f| f(self.to_glib_none().0));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/object.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/object.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 345 - static ONCE: Once = ONCE_INIT; [INFO] [stdout] 345 + static ONCE: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | pub imp_static: ptr::NonNull>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | pub imp_static: ptr::NonNull>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | impl ObjectImpl for Box<$name> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | box_object_impl!(ObjectImpl); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `box_object_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/anyimpl.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl $trait [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | any_impl!(ObjectBase, ObjectImpl); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `any_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have intended to implement this trait for a given type [INFO] [stdout] | [INFO] [stdout] 29 | impl $trait for /* Type */ [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/object.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | fn new(&self, &T) -> T::ImplType; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/object.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn class_init(&self, &mut ClassStruct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ClassStruct` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | type ImplType = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 540 | type ImplType = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/object.rs:517:52 [INFO] [stdout] | [INFO] [stdout] 517 | .map(|f| f(self.to_glib_none().0));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/object.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | / glib_wrapper! { [INFO] [stdout] 523 | | pub struct Object(Object>); [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match fn { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/object.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let imp: &$name = self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | box_object_impl!(ObjectImpl); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `box_object_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/object.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 345 - static ONCE: Once = ONCE_INIT; [INFO] [stdout] 345 + static ONCE: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | let imp: &$name = self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | box_object_impl!(ObjectImpl); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `box_object_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let imp: &$name = self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | box_object_impl!(ObjectImpl); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `box_object_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | pub imp_static: ptr::NonNull>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | pub imp_static: ptr::NonNull>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | Box bool + Send + Sync + 'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | Box bool + Send + Sync + 'static>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | let accumulator: &&(Fn(&mut glib::Value, &glib::Value) -> bool [INFO] [stdout] | _________________________________^ [INFO] [stdout] 250 | | + Send [INFO] [stdout] 251 | | + Sync [INFO] [stdout] 252 | | + 'static) = mem::transmute(data); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 | let accumulator: &&(dyn Fn(&mut glib::Value, &glib::Value) -> bool [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:405:49 [INFO] [stdout] | [INFO] [stdout] 405 | let imp_static = klass_data as *mut Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 | let imp_static = klass_data as *mut Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | impl ObjectImpl for Box<$name> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | box_object_impl!(ObjectImpl); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `box_object_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/anyimpl.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | impl $trait [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | any_impl!(ObjectBase, ObjectImpl); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `any_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have intended to implement this trait for a given type [INFO] [stdout] | [INFO] [stdout] 29 | impl $trait for /* Type */ [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:479:22 [INFO] [stdout] | [INFO] [stdout] 479 | let imp: Box> = Box::new(imp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 479 | let imp: Box> = Box::new(imp); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | type ImplType = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 540 | type ImplType = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let imp: &$name = self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | box_object_impl!(ObjectImpl); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `box_object_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | let imp: &$name = self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | box_object_impl!(ObjectImpl); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `box_object_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let imp: &$name = self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | box_object_impl!(ObjectImpl); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `box_object_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | Box bool + Send + Sync + 'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | Box bool + Send + Sync + 'static>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | let accumulator: &&(Fn(&mut glib::Value, &glib::Value) -> bool [INFO] [stdout] | _________________________________^ [INFO] [stdout] 250 | | + Send [INFO] [stdout] 251 | | + Sync [INFO] [stdout] 252 | | + 'static) = mem::transmute(data); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 | let accumulator: &&(dyn Fn(&mut glib::Value, &glib::Value) -> bool [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:405:49 [INFO] [stdout] | [INFO] [stdout] 405 | let imp_static = klass_data as *mut Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 | let imp_static = klass_data as *mut Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:479:22 [INFO] [stdout] | [INFO] [stdout] 479 | let imp: Box> = Box::new(imp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 479 | let imp: Box> = Box::new(imp); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/simple_object.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / glib_wrapper! { [INFO] [stdout] 129 | | pub struct SimpleObject(Object): [INFO] [stdout] 130 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/simple_object.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / glib_wrapper! { [INFO] [stdout] 129 | | pub struct SimpleObject(Object): [INFO] [stdout] 130 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/simple_object.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / glib_wrapper! { [INFO] [stdout] 129 | | pub struct SimpleObject(Object): [INFO] [stdout] 130 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/simple_object.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / glib_wrapper! { [INFO] [stdout] 129 | | pub struct SimpleObject(Object): [INFO] [stdout] 130 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/simple_object.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / glib_wrapper! { [INFO] [stdout] 129 | | pub struct SimpleObject(Object): [INFO] [stdout] 130 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/simple_object.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / glib_wrapper! { [INFO] [stdout] 129 | | pub struct SimpleObject(Object): [INFO] [stdout] 130 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `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] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> tests/simple_object.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> tests/simple_object.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 44 - static ONCE: Once = ONCE_INIT; [INFO] [stdout] 44 + static ONCE: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/simple_object.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | fn new(&self, obj: &Object) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | fn new(&self, obj: &Object) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/simple_object.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | fn init(obj: &Object) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn init(obj: &Object) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/simple_object.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | let f: Box) + Send + Sync + 'static> = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | let f: Box) + Send + Sync + 'static> = unsafe { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/simple_object.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | let f: Box) + 'static> = Box::new(f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 | let f: Box) + 'static> = Box::new(f); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0804]: cannot add auto traits `Send` and `Sync` to dyn bound via pointer cast [INFO] [stdout] --> tests/simple_object.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | Box::from_raw(Box::into_raw(f) as *mut _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsupported cast [INFO] [stdout] | [INFO] [stdout] = note: this could allow UB elsewhere [INFO] [stdout] = help: use `transmute` if you're sure this is sound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0804`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gobject-subclass` (test "simple_object") due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "381e66284a6a9e91f23b181042f648860fa05893b23f7c152198e5d7936cfbae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "381e66284a6a9e91f23b181042f648860fa05893b23f7c152198e5d7936cfbae", kill_on_drop: false }` [INFO] [stdout] 381e66284a6a9e91f23b181042f648860fa05893b23f7c152198e5d7936cfbae