[INFO] cloning repository https://github.com/Kumassy/async-cancellation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kumassy/async-cancellation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKumassy%2Fasync-cancellation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKumassy%2Fasync-cancellation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70f802343afe6d60577469c739fe7aa933f10c42 [INFO] checking Kumassy/async-cancellation against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKumassy%2Fasync-cancellation" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kumassy/async-cancellation on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kumassy/async-cancellation [INFO] finished tweaking git repo https://github.com/Kumassy/async-cancellation [INFO] tweaked toml for git repo https://github.com/Kumassy/async-cancellation written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Kumassy/async-cancellation 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Kumassy/async-cancellation against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKumassy%2Fasync-cancellation" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kumassy/async-cancellation on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kumassy/async-cancellation [INFO] finished tweaking git repo https://github.com/Kumassy/async-cancellation [INFO] tweaked toml for git repo https://github.com/Kumassy/async-cancellation written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kumassy/async-cancellation 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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37eb3a445220b32f0a046d1b322591f29b894178dd637b7e3244cdbf8b76fdd2 [INFO] running `Command { std: "docker" "start" "-a" "37eb3a445220b32f0a046d1b322591f29b894178dd637b7e3244cdbf8b76fdd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37eb3a445220b32f0a046d1b322591f29b894178dd637b7e3244cdbf8b76fdd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37eb3a445220b32f0a046d1b322591f29b894178dd637b7e3244cdbf8b76fdd2", kill_on_drop: false }` [INFO] [stdout] 37eb3a445220b32f0a046d1b322591f29b894178dd637b7e3244cdbf8b76fdd2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e977bd17f86ed41b582ad55a5ae7c0aedf42cf7f764e86098eccf43e5853a8c [INFO] running `Command { std: "docker" "start" "-a" "5e977bd17f86ed41b582ad55a5ae7c0aedf42cf7f764e86098eccf43e5853a8c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Checking tokio v1.12.0 [INFO] [stderr] Checking futures-util v0.3.17 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking async-cancellation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::net::{TcpListener, TcpStream, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CancellationToken` is imported redundantly [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | -------- the item `CancellationToken` is already imported here [INFO] [stdout] ... [INFO] [stdout] 58 | use tokio_util::sync::CancellationToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let (socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let (socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/main.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let (socket, _) = result.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/main.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let (socket, _) = result.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_tcpread` is never used [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | async fn spawn_tcpread(addr: A) -> io::Result> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_tcpread_select` is never used [INFO] [stdout] --> src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn spawn_tcpread_select(addr: A, token: CancellationToken) -> io::Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | v = handle => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.71s [INFO] running `Command { std: "docker" "inspect" "5e977bd17f86ed41b582ad55a5ae7c0aedf42cf7f764e86098eccf43e5853a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e977bd17f86ed41b582ad55a5ae7c0aedf42cf7f764e86098eccf43e5853a8c", kill_on_drop: false }` [INFO] [stdout] 5e977bd17f86ed41b582ad55a5ae7c0aedf42cf7f764e86098eccf43e5853a8c