[INFO] cloning repository https://github.com/raja-dettex/minimal-runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raja-dettex/minimal-runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fminimal-runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fminimal-runtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8d46656bda0cba20768d0e37328f48f4b6dd228 [INFO] checking raja-dettex/minimal-runtime against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fminimal-runtime" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raja-dettex/minimal-runtime [INFO] finished tweaking git repo https://github.com/raja-dettex/minimal-runtime [INFO] tweaked toml for git repo https://github.com/raja-dettex/minimal-runtime written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raja-dettex/minimal-runtime on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raja-dettex/minimal-runtime 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" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking raja-dettex/minimal-runtime against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fminimal-runtime" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raja-dettex/minimal-runtime [INFO] finished tweaking git repo https://github.com/raja-dettex/minimal-runtime [INFO] tweaked toml for git repo https://github.com/raja-dettex/minimal-runtime written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raja-dettex/minimal-runtime on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raja-dettex/minimal-runtime 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" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5cfc3aafd2621bf0397bf07ad54ad19fb151cb74a4da222f7636f3f9576d73c [INFO] running `Command { std: "docker" "start" "-a" "a5cfc3aafd2621bf0397bf07ad54ad19fb151cb74a4da222f7636f3f9576d73c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5cfc3aafd2621bf0397bf07ad54ad19fb151cb74a4da222f7636f3f9576d73c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5cfc3aafd2621bf0397bf07ad54ad19fb151cb74a4da222f7636f3f9576d73c", kill_on_drop: false }` [INFO] [stdout] a5cfc3aafd2621bf0397bf07ad54ad19fb151cb74a4da222f7636f3f9576d73c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 354f5d72b9bf96164aef0c8a48b46b1c7c153f859e0f1c18ed4b39008adeeddf [INFO] running `Command { std: "docker" "start" "-a" "354f5d72b9bf96164aef0c8a48b46b1c7c153f859e0f1c18ed4b39008adeeddf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking minimal-runtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `epoll_ctl` and `epoll_event` [INFO] [stdout] --> src/reactor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{epoll_ctl, epoll_event, epoll_wait}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/executor.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{reactor::{Event, Reactor}, task_queue::{self, Task, TaskQueue}, waker::TaskWaker}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/async_runtime_test.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{mpsc, Arc, Mutex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod async_runtime_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/async_runtime_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod async_runtime_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Iterator` [INFO] [stdout] --> src/async_runtime_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod async_runtime_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/async_runtime_test.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::executor::{self, Executor}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod async_runtime_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut reactor = Self { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::rc::Rc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/waker.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | let waker = std::mem::ManuallyDrop::new(Rc::from_raw(ptr as *const TaskWaker)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/waker.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe fn clone(ptr: *const ()) -> RawWaker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `std::rc::Rc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/waker.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let waker = Rc::from_raw(ptr as *const TaskWaker); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/waker.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn wake(ptr: *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::rc::Rc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/waker.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let waker = Rc::from_raw(ptr as *const TaskWaker); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/waker.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe fn wake_by_ref(ptr : *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::rc::Rc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/waker.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | drop(Rc::from_raw(ptr as *const TaskWaker)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/waker.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe fn drop(ptr: *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/async_runtime_test.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | let (mut reader, mut writer) = UnixStream::pair()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `waker` is never read [INFO] [stdout] --> src/async_runtime_test.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct TimerTask { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | waker: Arc>> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/waker.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | waker.sender.send(Rc::clone(&waker.task)); [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] 28 | let _ = waker.sender.send(Rc::clone(&waker.task)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/waker.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | waker.sender.send(Rc::clone(&waker.task)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = waker.sender.send(Rc::clone(&waker.task)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `epoll_ctl` and `epoll_event` [INFO] [stdout] --> src/reactor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{epoll_ctl, epoll_event, epoll_wait}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/executor.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{reactor::{Event, Reactor}, task_queue::{self, Task, TaskQueue}, waker::TaskWaker}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/async_runtime_test.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::executor::{self, Executor}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut reactor = Self { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::rc::Rc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/waker.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | let waker = std::mem::ManuallyDrop::new(Rc::from_raw(ptr as *const TaskWaker)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/waker.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe fn clone(ptr: *const ()) -> RawWaker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `std::rc::Rc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/waker.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let waker = Rc::from_raw(ptr as *const TaskWaker); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/waker.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn wake(ptr: *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::rc::Rc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/waker.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let waker = Rc::from_raw(ptr as *const TaskWaker); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/waker.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe fn wake_by_ref(ptr : *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::rc::Rc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/waker.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | drop(Rc::from_raw(ptr as *const TaskWaker)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/waker.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe fn drop(ptr: *const ()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/async_runtime_test.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | let (mut reader, mut writer) = UnixStream::pair()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/async_runtime_test.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | let (tx, rx) : (mpsc::Sender>, mpsc::Receiver<_>) = mpsc::channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `waker` is never read [INFO] [stdout] --> src/async_runtime_test.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct TimerTask { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | waker: Arc>> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/waker.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | waker.sender.send(Rc::clone(&waker.task)); [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] 28 | let _ = waker.sender.send(Rc::clone(&waker.task)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/waker.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | waker.sender.send(Rc::clone(&waker.task)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = waker.sender.send(Rc::clone(&waker.task)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "354f5d72b9bf96164aef0c8a48b46b1c7c153f859e0f1c18ed4b39008adeeddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "354f5d72b9bf96164aef0c8a48b46b1c7c153f859e0f1c18ed4b39008adeeddf", kill_on_drop: false }` [INFO] [stdout] 354f5d72b9bf96164aef0c8a48b46b1c7c153f859e0f1c18ed4b39008adeeddf