[INFO] fetching crate futures-glib 0.4.0... [INFO] checking futures-glib-0.4.0 against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] extracting crate futures-glib 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate futures-glib 0.4.0 [INFO] finished tweaking crates.io crate futures-glib 0.4.0 [INFO] tweaked toml for crates.io crate futures-glib 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate futures-glib 0.4.0 on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding glib-sys v0.6.0 (available: v0.21.0) [INFO] [stderr] Adding gtk v0.4.1 (available: v0.18.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gobject-sys v0.6.0 [INFO] [stderr] Downloaded gio-sys v0.6.0 [INFO] [stderr] Downloaded pango-sys v0.6.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.6.0 [INFO] [stderr] Downloaded gdk-sys v0.6.0 [INFO] [stderr] Downloaded glib-sys v0.6.0 [INFO] [stderr] Downloaded cairo-rs v0.4.1 [INFO] [stderr] Downloaded gdk-pixbuf v0.4.0 [INFO] [stderr] Downloaded atk-sys v0.6.0 [INFO] [stderr] Downloaded pango v0.4.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.6.0 [INFO] [stderr] Downloaded glib v0.5.0 [INFO] [stderr] Downloaded gdk v0.8.0 [INFO] [stderr] Downloaded gtk-sys v0.6.0 [INFO] [stderr] Downloaded gio v0.4.1 [INFO] [stderr] Downloaded gtk v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11e9e47dd254fe17d86c06d0a68c53352452f7306eda0bf2f60d325006dc6005 [INFO] running `Command { std: "docker" "start" "-a" "11e9e47dd254fe17d86c06d0a68c53352452f7306eda0bf2f60d325006dc6005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11e9e47dd254fe17d86c06d0a68c53352452f7306eda0bf2f60d325006dc6005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e9e47dd254fe17d86c06d0a68c53352452f7306eda0bf2f60d325006dc6005", kill_on_drop: false }` [INFO] [stdout] 11e9e47dd254fe17d86c06d0a68c53352452f7306eda0bf2f60d325006dc6005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab49e4761f87e6ad2cc796b049eddc734b7083e1c9fc740065aba82af95b752a [INFO] running `Command { std: "docker" "start" "-a" "ab49e4761f87e6ad2cc796b049eddc734b7083e1c9fc740065aba82af95b752a", 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.174 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling gio v0.4.1 [INFO] [stderr] Compiling cairo-rs v0.4.1 [INFO] [stderr] Compiling gdk-pixbuf v0.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking c_vec v1.3.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling gdk v0.8.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling gtk v0.4.1 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling glib-sys v0.6.0 [INFO] [stderr] Compiling gobject-sys v0.6.0 [INFO] [stderr] Compiling gio-sys v0.6.0 [INFO] [stderr] Compiling cairo-sys-rs v0.6.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.6.0 [INFO] [stderr] Compiling pango-sys v0.6.0 [INFO] [stderr] Compiling gdk-sys v0.6.0 [INFO] [stderr] Compiling atk-sys v0.6.0 [INFO] [stderr] Compiling gtk-sys v0.6.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking futures-glib v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/future.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe extern fn call(data: glib_sys::gpointer) -> glib_sys::gboolean [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/interval.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe extern fn handler(data: gpointer) -> gboolean { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/interval.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern fn destroy(data: gpointer) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/timeout.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe extern fn handler(data: gpointer) -> gboolean { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/timeout.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe extern fn destroy(data: gpointer) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/io/state.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern fn call(channel: *mut glib_sys::GIOChannel, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:495:16 [INFO] [stdout] | [INFO] [stdout] 495 | unsafe extern fn destroy(user_data: glib_sys::gpointer) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:692:8 [INFO] [stdout] | [INFO] [stdout] 692 | unsafe extern fn prepare(source: *mut glib_sys::GSource, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:711:8 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe extern fn check(source: *mut glib_sys::GSource) -> glib_sys::gboolean { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:726:8 [INFO] [stdout] | [INFO] [stdout] 726 | unsafe extern fn dispatch(source: *mut glib_sys::GSource, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 743 | unsafe extern fn finalize(source: *mut glib_sys::GSource) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/rt.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/rt.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 8 - static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] 8 + static INITIALIZED: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | future: Option>>>, [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] 189 | future: Option>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Run(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] 278 | Run(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn try_lock(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn push_thread_default(&self) -> PushThreadDefault { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn push_thread_default(&self) -> PushThreadDefault<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/timeout.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | drop(tx.send(())); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), ()>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 57 - drop(tx.send(())); [INFO] [stdout] 57 + let _ = tx.send(()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking glib v0.5.0 [INFO] [stderr] Checking pango v0.4.0 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/future.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe extern fn call(data: glib_sys::gpointer) -> glib_sys::gboolean [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/interval.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe extern fn handler(data: gpointer) -> gboolean { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/interval.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern fn destroy(data: gpointer) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/timeout.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe extern fn handler(data: gpointer) -> gboolean { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/timeout.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe extern fn destroy(data: gpointer) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/io/state.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe extern fn call(channel: *mut glib_sys::GIOChannel, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:495:16 [INFO] [stdout] | [INFO] [stdout] 495 | unsafe extern fn destroy(user_data: glib_sys::gpointer) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:692:8 [INFO] [stdout] | [INFO] [stdout] 692 | unsafe extern fn prepare(source: *mut glib_sys::GSource, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:711:8 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe extern fn check(source: *mut glib_sys::GSource) -> glib_sys::gboolean { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:726:8 [INFO] [stdout] | [INFO] [stdout] 726 | unsafe extern fn dispatch(source: *mut glib_sys::GSource, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:743:8 [INFO] [stdout] | [INFO] [stdout] 743 | unsafe extern fn finalize(source: *mut glib_sys::GSource) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/rt.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/rt.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 8 - static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] 8 + static INITIALIZED: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | future: Option>>>, [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] 189 | future: Option>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/future.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Run(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] 278 | Run(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn try_lock(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn push_thread_default(&self) -> PushThreadDefault { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn push_thread_default(&self) -> PushThreadDefault<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/timeout.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | drop(tx.send(())); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), ()>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 57 - drop(tx.send(())); [INFO] [stdout] 57 + let _ = tx.send(()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.77s [INFO] running `Command { std: "docker" "inspect" "ab49e4761f87e6ad2cc796b049eddc734b7083e1c9fc740065aba82af95b752a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab49e4761f87e6ad2cc796b049eddc734b7083e1c9fc740065aba82af95b752a", kill_on_drop: false }` [INFO] [stdout] ab49e4761f87e6ad2cc796b049eddc734b7083e1c9fc740065aba82af95b752a