[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] testing tbar4/tokio-reference against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbar4%2Ftokio-reference" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tbar4/tokio-reference on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96348ce03645b04989f0fd1c1f453250d3502018cac956d51976f3893ff47062 [INFO] running `Command { std: "docker" "start" "-a" "96348ce03645b04989f0fd1c1f453250d3502018cac956d51976f3893ff47062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96348ce03645b04989f0fd1c1f453250d3502018cac956d51976f3893ff47062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96348ce03645b04989f0fd1c1f453250d3502018cac956d51976f3893ff47062", kill_on_drop: false }` [INFO] [stdout] 96348ce03645b04989f0fd1c1f453250d3502018cac956d51976f3893ff47062 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce73e815a8f25a7c6868b9d78f310de9b0f79a291ab306c0eeef3067bb495927 [INFO] running `Command { std: "docker" "start" "-a" "ce73e815a8f25a7c6868b9d78f310de9b0f79a291ab306c0eeef3067bb495927", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [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] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling my-redis v0.1.0 (/opt/rustwide/workdir) [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] For more information about this error, try `rustc --explain E0601`. [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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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[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[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] [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] [stderr] error: could not compile `my-redis` (bin "my-redis") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ce73e815a8f25a7c6868b9d78f310de9b0f79a291ab306c0eeef3067bb495927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce73e815a8f25a7c6868b9d78f310de9b0f79a291ab306c0eeef3067bb495927", kill_on_drop: false }` [INFO] [stdout] ce73e815a8f25a7c6868b9d78f310de9b0f79a291ab306c0eeef3067bb495927