[INFO] cloning repository https://github.com/tbar4/tokio-reference [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tbar4/tokio-reference" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbar4%2Ftokio-reference", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbar4%2Ftokio-reference'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d94e00aa9b8a7cc411da5588540f47989a00e59e [INFO] checking tbar4/tokio-reference against try#9053a8ad740a9e131b53ea98acecf68cf79134fe for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbar4%2Ftokio-reference" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tbar4/tokio-reference on toolchain 9053a8ad740a9e131b53ea98acecf68cf79134fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tbar4/tokio-reference [INFO] finished tweaking git repo https://github.com/tbar4/tokio-reference [INFO] tweaked toml for git repo https://github.com/tbar4/tokio-reference written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tbar4/tokio-reference 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" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "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 tbar4/tokio-reference against try#9053a8ad740a9e131b53ea98acecf68cf79134fe for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbar4%2Ftokio-reference" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tbar4/tokio-reference on toolchain 9053a8ad740a9e131b53ea98acecf68cf79134fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tbar4/tokio-reference [INFO] finished tweaking git repo https://github.com/tbar4/tokio-reference [INFO] tweaked toml for git repo https://github.com/tbar4/tokio-reference written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tbar4/tokio-reference 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" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16d9d05c83298bb718a0943772536942f74831cae56603de9f20450b03d0388e [INFO] running `Command { std: "docker" "start" "-a" "16d9d05c83298bb718a0943772536942f74831cae56603de9f20450b03d0388e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16d9d05c83298bb718a0943772536942f74831cae56603de9f20450b03d0388e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d9d05c83298bb718a0943772536942f74831cae56603de9f20450b03d0388e", kill_on_drop: false }` [INFO] [stdout] 16d9d05c83298bb718a0943772536942f74831cae56603de9f20450b03d0388e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db4c3fb06d7d06b1e6304c3a9859c9b4259a88ea1cfbfde6944e34d21504d29d [INFO] running `Command { std: "docker" "start" "-a" "db4c3fb06d7d06b1e6304c3a9859c9b4259a88ea1cfbfde6944e34d21504d29d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking mini-redis v0.4.1 [INFO] [stderr] Checking my-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/bin/echo-server-copy.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::{self, AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `client` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `src/bin/client.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/bin/echo-server-copy.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::{self, AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/echo-server-copy.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 8 | / loop { [INFO] [stdout] 9 | | let (mut socket, _) = listener.accept().await?; [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | tokio::spawn(async move { [INFO] [stdout] ... | [INFO] [stdout] 17 | | }); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 19 | [INFO] [stdout] 20 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-redis` (bin "client") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/echo-server-copy.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 8 | / loop { [INFO] [stdout] 9 | | let (mut socket, _) = listener.accept().await?; [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | tokio::spawn(async move { [INFO] [stdout] ... | [INFO] [stdout] 17 | | }); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 19 | [INFO] [stdout] 20 | 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/bin/echo-server-copy.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut socket, _) = listener.accept().await?; [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/bin/echo-server-copy.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut socket, _) = listener.accept().await?; [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] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/main.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | type Responder = oneshot::Sender>; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/main.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | type Responder = oneshot::Sender>; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | resp: Responder>, [INFO] [stdout] | ^^^^^^^^^--------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 0 generic parameters [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Responder = oneshot::Sender>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/server.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | process(socket, db).await; [INFO] [stdout] | ^^^^^^^ -- unexpected argument #2 of type `Arc>>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/server.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | async fn process(socket: TcpStream) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 25 - process(socket, db).await; [INFO] [stdout] 25 + process(socket).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | resp: Responder>, [INFO] [stdout] | ^^^^^^^^^--------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 0 generic parameters [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Responder = oneshot::Sender>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | resp: Responder<()>, [INFO] [stdout] | ^^^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 0 generic parameters [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Responder = oneshot::Sender>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | resp: Responder<()>, [INFO] [stdout] | ^^^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 0 generic parameters [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Responder = oneshot::Sender>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/server.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | process(socket, db).await; [INFO] [stdout] | ^^^^^^^ -- unexpected argument #2 of type `Arc>>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/server.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | async fn process(socket: TcpStream) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 25 - process(socket, db).await; [INFO] [stdout] 25 + process(socket).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-redis` (bin "server" test) due to 1 previous error [INFO] [stderr] error: could not compile `my-redis` (bin "server") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0107, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-redis` (bin "my-redis" test) due to 3 previous errors [INFO] [stderr] error: could not compile `my-redis` (bin "my-redis") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "db4c3fb06d7d06b1e6304c3a9859c9b4259a88ea1cfbfde6944e34d21504d29d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db4c3fb06d7d06b1e6304c3a9859c9b4259a88ea1cfbfde6944e34d21504d29d", kill_on_drop: false }` [INFO] [stdout] db4c3fb06d7d06b1e6304c3a9859c9b4259a88ea1cfbfde6944e34d21504d29d