[INFO] cloning repository https://github.com/jelipo/io [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jelipo/io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Fio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Fio'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Fio: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/jelipo/io [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jelipo/io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Fio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Fio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae5bba464c791687c259ee49bb7b9fc638b8a5bd [INFO] checking jelipo/io against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Fio" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jelipo/io on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jelipo/io [INFO] finished tweaking git repo https://github.com/jelipo/io [INFO] tweaked toml for git repo https://github.com/jelipo/io written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jelipo/io 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b51fffc3e7be8e81283a57dc3a7b2064398fc5a3c795e884635832f5513ccecc [INFO] running `Command { std: "docker" "start" "-a" "b51fffc3e7be8e81283a57dc3a7b2064398fc5a3c795e884635832f5513ccecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b51fffc3e7be8e81283a57dc3a7b2064398fc5a3c795e884635832f5513ccecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b51fffc3e7be8e81283a57dc3a7b2064398fc5a3c795e884635832f5513ccecc", kill_on_drop: false }` [INFO] [stdout] b51fffc3e7be8e81283a57dc3a7b2064398fc5a3c795e884635832f5513ccecc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54e68bd1e9e5c6372f8befb016517e9c8ba1e7478c27682429d6996f6e83a28d [INFO] running `Command { std: "docker" "start" "-a" "54e68bd1e9e5c6372f8befb016517e9c8ba1e7478c27682429d6996f6e83a28d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking io v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::aio::my_aio` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::aio::my_aio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::epoll::my_epoll` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::epoll::my_epoll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/aio.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | while (aior.as_mut().error() == Err(Errno::EINPROGRESS)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - while (aior.as_mut().error() == Err(Errno::EINPROGRESS)) { [INFO] [stdout] 24 + while aior.as_mut().error() == Err(Errno::EINPROGRESS) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/io_uring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `anyhow` [INFO] [stdout] --> src/io_uring.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{anyhow, Error, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/epoll.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 28 | / loop { [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | // 这里的sleep,假装自己去处理别的数据了,不阻塞等着网络 [INFO] [stdout] 31 | | sleep(Duration::from_secs(1)); [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 59 | [INFO] [stdout] 60 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aio::my_aio` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::aio::my_aio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::epoll::my_epoll` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::epoll::my_epoll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/aio.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | while (aior.as_mut().error() == Err(Errno::EINPROGRESS)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - while (aior.as_mut().error() == Err(Errno::EINPROGRESS)) { [INFO] [stdout] 24 + while aior.as_mut().error() == Err(Errno::EINPROGRESS) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/io_uring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `anyhow` [INFO] [stdout] --> src/io_uring.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{anyhow, Error, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/poll.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut stream, _) = listener.accept()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/epoll.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut stream, _) = listener.accept()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/epoll.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut event = EpollEvent::new(EpollFlags::EPOLLIN, fd.as_raw_fd() as u64); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/io_uring.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let stream = unsafe { TcpStream::from_raw_fd(fd) }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io_uring.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut stream, _) = listener.accept()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_poll` is never used [INFO] [stdout] --> src/poll.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn my_poll(addr: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_aio` is never used [INFO] [stdout] --> src/aio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn my_aio() -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_epoll` is never used [INFO] [stdout] --> src/epoll.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn my_epoll(addr: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/epoll.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 28 | / loop { [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | // 这里的sleep,假装自己去处理别的数据了,不阻塞等着网络 [INFO] [stdout] 31 | | sleep(Duration::from_secs(1)); [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 59 | [INFO] [stdout] 60 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/poll.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut stream, _) = listener.accept()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/epoll.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut stream, _) = listener.accept()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/epoll.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut event = EpollEvent::new(EpollFlags::EPOLLIN, fd.as_raw_fd() as u64); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/io_uring.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let stream = unsafe { TcpStream::from_raw_fd(fd) }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io_uring.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut stream, _) = listener.accept()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_poll` is never used [INFO] [stdout] --> src/poll.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn my_poll(addr: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_aio` is never used [INFO] [stdout] --> src/aio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn my_aio() -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_epoll` is never used [INFO] [stdout] --> src/epoll.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn my_epoll(addr: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.55s [INFO] running `Command { std: "docker" "inspect" "54e68bd1e9e5c6372f8befb016517e9c8ba1e7478c27682429d6996f6e83a28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54e68bd1e9e5c6372f8befb016517e9c8ba1e7478c27682429d6996f6e83a28d", kill_on_drop: false }` [INFO] [stdout] 54e68bd1e9e5c6372f8befb016517e9c8ba1e7478c27682429d6996f6e83a28d