[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 try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosy233333%2Fasync_notification" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rosy233333/async_notification on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 lazyinit v0.2.2 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e19c18896e18f7c2ba35dfeade5a19d02b0375ac0fb03628b190eab7ab368c1 [INFO] running `Command { std: "docker" "start" "-a" "1e19c18896e18f7c2ba35dfeade5a19d02b0375ac0fb03628b190eab7ab368c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e19c18896e18f7c2ba35dfeade5a19d02b0375ac0fb03628b190eab7ab368c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e19c18896e18f7c2ba35dfeade5a19d02b0375ac0fb03628b190eab7ab368c1", kill_on_drop: false }` [INFO] [stdout] 1e19c18896e18f7c2ba35dfeade5a19d02b0375ac0fb03628b190eab7ab368c1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9e8808a636fba6b7c90dfe21f5db138a7a4a1bdf723cab35c5f001ba9009f1c [INFO] running `Command { std: "docker" "start" "-a" "b9e8808a636fba6b7c90dfe21f5db138a7a4a1bdf723cab35c5f001ba9009f1c", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking lazyinit v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking signal-hook-tokio v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [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] For more information about this error, try `rustc --explain E0133`. [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 `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 7.47s [INFO] running `Command { std: "docker" "inspect" "b9e8808a636fba6b7c90dfe21f5db138a7a4a1bdf723cab35c5f001ba9009f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e8808a636fba6b7c90dfe21f5db138a7a4a1bdf723cab35c5f001ba9009f1c", kill_on_drop: false }` [INFO] [stdout] b9e8808a636fba6b7c90dfe21f5db138a7a4a1bdf723cab35c5f001ba9009f1c