[INFO] cloning repository https://github.com/thely314/async_echo_server_demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thely314/async_echo_server_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthely314%2Fasync_echo_server_demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthely314%2Fasync_echo_server_demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 47e7b75c7d885e172f1330186b191879671cb882
[INFO] testing thely314/async_echo_server_demo against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthely314%2Fasync_echo_server_demo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thely314/async_echo_server_demo
[INFO] finished tweaking git repo https://github.com/thely314/async_echo_server_demo
[INFO] tweaked toml for git repo https://github.com/thely314/async_echo_server_demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thely314/async_echo_server_demo on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thely314/async_echo_server_demo 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 72f3feca21eec41101cdb0be4828d6adce3e975bd86f6aa4033adfe611ce205f
[INFO] running `Command { std: "docker" "start" "-a" "72f3feca21eec41101cdb0be4828d6adce3e975bd86f6aa4033adfe611ce205f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72f3feca21eec41101cdb0be4828d6adce3e975bd86f6aa4033adfe611ce205f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72f3feca21eec41101cdb0be4828d6adce3e975bd86f6aa4033adfe611ce205f", kill_on_drop: false }`
[INFO] [stdout] 72f3feca21eec41101cdb0be4828d6adce3e975bd86f6aa4033adfe611ce205f
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] f48809cbd1270ad2f4bb529de28cb767aecc6ded4f564fc3f9fad1e2a2d6fd1a
[INFO] running `Command { std: "docker" "start" "-a" "f48809cbd1270ad2f4bb529de28cb767aecc6ded4f564fc3f9fad1e2a2d6fd1a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling my_web_echo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.41s
[INFO] running `Command { std: "docker" "inspect" "f48809cbd1270ad2f4bb529de28cb767aecc6ded4f564fc3f9fad1e2a2d6fd1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f48809cbd1270ad2f4bb529de28cb767aecc6ded4f564fc3f9fad1e2a2d6fd1a", kill_on_drop: false }`
[INFO] [stdout] f48809cbd1270ad2f4bb529de28cb767aecc6ded4f564fc3f9fad1e2a2d6fd1a
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0f90de62b161166989ee6b5d9d440e9b08b794765d5bb3e799d24ae0f4d20725
[INFO] running `Command { std: "docker" "start" "-a" "0f90de62b161166989ee6b5d9d440e9b08b794765d5bb3e799d24ae0f4d20725", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.4.0
[INFO] [stderr]    Compiling my_web_echo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 42.02s
[INFO] running `Command { std: "docker" "inspect" "0f90de62b161166989ee6b5d9d440e9b08b794765d5bb3e799d24ae0f4d20725", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f90de62b161166989ee6b5d9d440e9b08b794765d5bb3e799d24ae0f4d20725", kill_on_drop: false }`
[INFO] [stdout] 0f90de62b161166989ee6b5d9d440e9b08b794765d5bb3e799d24ae0f4d20725
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 8897148e85430095caa2095af94f994fab9d9b73c7da0898d8bfac31e0b14167
[INFO] running `Command { std: "docker" "start" "-a" "8897148e85430095caa2095af94f994fab9d9b73c7da0898d8bfac31e0b14167", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/my_web_echo/b63286c8caf29a05/deps/echo_lib-b63286c8caf29a05)
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/bin/client.rs (/opt/rustwide/target/debug/build/my_web_echo/fdf9ec867db3c76e/deps/client-fdf9ec867db3c76e)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/server.rs (/opt/rustwide/target/debug/build/my_web_echo/288784a9abfe720f/deps/server-288784a9abfe720f)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]    Doc-tests echo_lib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/server/handle.rs - server::handle::handle_client (line 18) ... FAILED
[INFO] [stdout] test src/client/handle.rs - client::handle::server_stream_handle (line 62) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/client/handle.rs - client::handle::user_input_handle (line 21) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/server/handle.rs - server::handle::handle_client (line 18) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `handle`
[INFO] [stdout]   --> src/server/handle.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         handle::handle_client(socket, permit).await
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `handle`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/server/handle.rs, use `mod handle` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 18 + mod handle;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 20 + use echo_lib::server::handle;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `permit` in this scope
[INFO] [stdout]   --> src/server/handle.rs:36:39
[INFO] [stdout]    |
[INFO] [stdout] 36 |         handle::handle_client(socket, permit).await
[INFO] [stdout]    |                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0267]: `continue` inside `async` block
[INFO] [stdout]   --> src/server/handle.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[tokio::main]
[INFO] [stdout]    | -------------- enclosing `async` block
[INFO] [stdout] ...
[INFO] [stdout] 31 |         continue;
[INFO] [stdout]    |         ^^^^^^^^ cannot `continue` inside `async` block
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/server/handle.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let (socket, _) = match tcp_listener.accept().await {
[INFO] [stdout]    |  _______________________-
[INFO] [stdout] 28 | |         Ok(s) => s,
[INFO] [stdout]    | |                  - this is found to be of type `(tokio::net::TcpStream, std::net::SocketAddr)`
[INFO] [stdout] 29 | |         Err(e) => {
[INFO] [stdout] 30 | |             eprintln!("Failed to accept connection: {}", e);
[INFO] [stdout] 31 | |         continue;
[INFO] [stdout]    | |         ^^^^^^^^^ expected `(TcpStream, SocketAddr)`, found `()`
[INFO] [stdout] 32 | |         },
[INFO] [stdout] 33 | |     };
[INFO] [stdout]    | |_____- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note:  expected tuple `(tokio::net::TcpStream, std::net::SocketAddr)`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0267, E0308, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0267`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client/handle.rs - client::handle::server_stream_handle (line 62) stdout ----
[INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `tokio::net::TcpStream` in the current scope
[INFO] [stdout]   --> src/client/handle.rs:71:39
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let (reader, writer) = tcp_stream.unwrap().into_split();
[INFO] [stdout]    |                                       ^^^^^^ method not found in `tokio::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client/handle.rs - client::handle::user_input_handle (line 21) stdout ----
[INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `tokio::net::TcpStream` in the current scope
[INFO] [stdout]   --> src/client/handle.rs:30:39
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let (reader, writer) = tcp_stream.unwrap().into_split();
[INFO] [stdout]    |                                       ^^^^^^ method not found in `tokio::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client/handle.rs - client::handle::server_stream_handle (line 62)
[INFO] [stdout]     src/client/handle.rs - client::handle::user_input_handle (line 21)
[INFO] [stdout]     src/server/handle.rs - server::handle::handle_client (line 18)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8897148e85430095caa2095af94f994fab9d9b73c7da0898d8bfac31e0b14167", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8897148e85430095caa2095af94f994fab9d9b73c7da0898d8bfac31e0b14167", kill_on_drop: false }`
[INFO] [stdout] 8897148e85430095caa2095af94f994fab9d9b73c7da0898d8bfac31e0b14167
