[INFO] cloning repository https://github.com/rosy233333/async_notification [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rosy233333/async_notification" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosy233333%2Fasync_notification", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosy233333%2Fasync_notification'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 097a0eff0052f5151e261836338e2f94fc971898 [INFO] checking rosy233333/async_notification against master#8317fef20409adedaa7c385fa6e954867bf626fc for pr-154149-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosy233333%2Fasync_notification" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rosy233333/async_notification [INFO] finished tweaking git repo https://github.com/rosy233333/async_notification [INFO] tweaked toml for git repo https://github.com/rosy233333/async_notification written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rosy233333/async_notification on toolchain 8317fef20409adedaa7c385fa6e954867bf626fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8317fef20409adedaa7c385fa6e954867bf626fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rosy233333/async_notification 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" "+8317fef20409adedaa7c385fa6e954867bf626fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.22 [INFO] [stderr] Downloaded proc-macro2 v1.0.105 [INFO] [stderr] Downloaded signal-hook-tokio v0.3.1 [INFO] [stderr] Downloaded lazyinit v0.2.2 [INFO] [stderr] Downloaded quote v1.0.43 [INFO] [stderr] Downloaded socket2 v0.6.1 [INFO] [stderr] Downloaded bytes v1.11.0 [INFO] [stderr] Downloaded bitflags v2.10.0 [INFO] [stderr] Downloaded syn v2.0.114 [INFO] [stderr] Downloaded libc v0.2.180 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8317fef20409adedaa7c385fa6e954867bf626fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da1a36b1f04e5c94a89754e5420238ae06c80684057211f51eb2e6c7c0c8af6f [INFO] running `Command { std: "docker" "start" "-a" "da1a36b1f04e5c94a89754e5420238ae06c80684057211f51eb2e6c7c0c8af6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da1a36b1f04e5c94a89754e5420238ae06c80684057211f51eb2e6c7c0c8af6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1a36b1f04e5c94a89754e5420238ae06c80684057211f51eb2e6c7c0c8af6f", kill_on_drop: false }` [INFO] [stdout] da1a36b1f04e5c94a89754e5420238ae06c80684057211f51eb2e6c7c0c8af6f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8317fef20409adedaa7c385fa6e954867bf626fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef96c238b9b60cbf46e732aa23969ccc1eb886c0d70c73a559625e30453b5da9 [INFO] running `Command { std: "docker" "start" "-a" "ef96c238b9b60cbf46e732aa23969ccc1eb886c0d70c73a559625e30453b5da9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking lazyinit v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking signal-hook-tokio v0.3.1 [INFO] [stderr] Checking async_notification v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::ops::Not` [INFO] [stdout] --> src/interface.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Not; [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 imports: `boxed::Box` and `collections::btree_map::BTreeMap` [INFO] [stdout] --> src/signal.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::{boxed::Box, collections::btree_map::BTreeMap, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> src/signal.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::stream::{StreamExt, iter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> src/signal.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | use core::{ptr, task, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Not` [INFO] [stdout] --> src/interface.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Not; [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 imports: `boxed::Box` and `collections::btree_map::BTreeMap` [INFO] [stdout] --> src/signal.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::{boxed::Box, collections::btree_map::BTreeMap, vec::Vec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> src/signal.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::stream::{StreamExt, iter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ptr`, `task`, and `time` [INFO] [stdout] --> src/signal.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | use core::{ptr, task, time}; [INFO] [stdout] | ^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NotificationIf` and `Notification` [INFO] [stdout] --> src/signal.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | use crate::interface::{Notification, NotificationIf}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> src/signal.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/uintr.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | async fn wait_on(id: u64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `interface::NotificationIf::release_id` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | SIGNAL_HIGH8 => SignalNotification::release_id(id_inner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe fn release_id(id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `interface::NotificationIf::release_id` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | UINTR_HIGH8 => UIntrNotification::release_id(id_inner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/uintr.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | async fn wait_on(id: u64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `interface::NotificationIf::release_id` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | SIGNAL_HIGH8 => SignalNotification::release_id(id_inner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe fn release_id(id: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `interface::NotificationIf::release_id` is unsafe and requires unsafe block [INFO] [stdout] --> src/interface.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | UINTR_HIGH8 => UIntrNotification::release_id(id_inner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/uintr.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe fn release_id(id: u64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process` [INFO] [stdout] --> src/uintr.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | fn notify(process: u64, id: u64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/uintr.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn notify(process: u64, id: u64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/interface.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | async fn wait_on(id: u64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 19 - async fn wait_on(id: u64); [INFO] [stdout] 19 + fn wait_on(id: u64) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/uintr.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe fn release_id(id: u64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process` [INFO] [stdout] --> src/uintr.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | fn notify(process: u64, id: u64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/uintr.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn notify(process: u64, id: u64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/interface.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | async fn wait_on(id: u64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 19 - async fn wait_on(id: u64); [INFO] [stdout] 19 + fn wait_on(id: u64) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/signal.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | ... handle.await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = handle.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.35s [INFO] running `Command { std: "docker" "inspect" "ef96c238b9b60cbf46e732aa23969ccc1eb886c0d70c73a559625e30453b5da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef96c238b9b60cbf46e732aa23969ccc1eb886c0d70c73a559625e30453b5da9", kill_on_drop: false }` [INFO] [stdout] ef96c238b9b60cbf46e732aa23969ccc1eb886c0d70c73a559625e30453b5da9