[INFO] cloning repository https://github.com/pmalmgren/iou-http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pmalmgren/iou-http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpmalmgren%2Fiou-http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpmalmgren%2Fiou-http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78b4bb0def18a9e90d636444b2ba16c5a49df440 [INFO] checking pmalmgren/iou-http against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpmalmgren%2Fiou-http" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pmalmgren/iou-http on toolchain 899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pmalmgren/iou-http [INFO] finished tweaking git repo https://github.com/pmalmgren/iou-http [INFO] tweaked toml for git repo https://github.com/pmalmgren/iou-http written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pmalmgren/iou-http 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" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.15 [INFO] [stderr] Downloaded futures-executor v0.3.15 [INFO] [stderr] Downloaded futures-io v0.3.15 [INFO] [stderr] Downloaded futures v0.3.15 [INFO] [stderr] Downloaded futures-sink v0.3.15 [INFO] [stderr] Downloaded io-uring v0.5.1 [INFO] [stderr] Downloaded sharded-slab v0.1.1 [INFO] [stderr] Downloaded tracing-subscriber v0.2.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23048c3fb811e7089817c1a0dcd31dd118d23dec7348f2be56f0628e24345f53 [INFO] running `Command { std: "docker" "start" "-a" "23048c3fb811e7089817c1a0dcd31dd118d23dec7348f2be56f0628e24345f53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23048c3fb811e7089817c1a0dcd31dd118d23dec7348f2be56f0628e24345f53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23048c3fb811e7089817c1a0dcd31dd118d23dec7348f2be56f0628e24345f53", kill_on_drop: false }` [INFO] [stdout] 23048c3fb811e7089817c1a0dcd31dd118d23dec7348f2be56f0628e24345f53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b428240fdd75d4fcde759fbf0cf1e9aa3a154e70f683e655e8546954a14fd8a [INFO] running `Command { std: "docker" "start" "-a" "3b428240fdd75d4fcde759fbf0cf1e9aa3a154e70f683e655e8546954a14fd8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling io-uring v0.5.1 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking iou-http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `serve` is never used [INFO] [stdout] --> src/http_server.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl HttpServer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn serve(self, handler: H) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serve` is never used [INFO] [stdout] --> src/http_server.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl HttpServer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn serve(self, handler: H) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.65s [INFO] running `Command { std: "docker" "inspect" "3b428240fdd75d4fcde759fbf0cf1e9aa3a154e70f683e655e8546954a14fd8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b428240fdd75d4fcde759fbf0cf1e9aa3a154e70f683e655e8546954a14fd8a", kill_on_drop: false }` [INFO] [stdout] 3b428240fdd75d4fcde759fbf0cf1e9aa3a154e70f683e655e8546954a14fd8a [INFO] checking pmalmgren/iou-http against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpmalmgren%2Fiou-http" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pmalmgren/iou-http on toolchain 71e0d7ccb3d54cfc766c826c50c8d523223fcc5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pmalmgren/iou-http [INFO] finished tweaking git repo https://github.com/pmalmgren/iou-http [INFO] tweaked toml for git repo https://github.com/pmalmgren/iou-http written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pmalmgren/iou-http 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" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17ebaa57293a64b3c135f288ecac81f47731b1d34f0e060def86b958f6dff703 [INFO] running `Command { std: "docker" "start" "-a" "17ebaa57293a64b3c135f288ecac81f47731b1d34f0e060def86b958f6dff703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17ebaa57293a64b3c135f288ecac81f47731b1d34f0e060def86b958f6dff703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ebaa57293a64b3c135f288ecac81f47731b1d34f0e060def86b958f6dff703", kill_on_drop: false }` [INFO] [stdout] 17ebaa57293a64b3c135f288ecac81f47731b1d34f0e060def86b958f6dff703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee63b02e6dd86fba03ecfe2a4f2ea281b5f2917cbb403596c03ddeea7ffc25f2 [INFO] running `Command { std: "docker" "start" "-a" "ee63b02e6dd86fba03ecfe2a4f2ea281b5f2917cbb403596c03ddeea7ffc25f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling io-uring v0.5.1 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking iou-http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 15 | let handler = |_request: Request<&[u8]>| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 25 | server.run_on_threads(8, handler); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:15:46: 15:51}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:15:46: 15:51}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/http_server.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | H: (Fn(Request<&[u8]>) -> R) + 'static + std::marker::Send + Sync, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iou-http` (bin "iou-http" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 15 | let handler = |_request: Request<&[u8]>| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 25 | server.run_on_threads(8, handler); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:15:46: 15:51}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:15:46: 15:51}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/http_server.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | H: (Fn(Request<&[u8]>) -> R) + 'static + std::marker::Send + Sync, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iou-http` (bin "iou-http") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ee63b02e6dd86fba03ecfe2a4f2ea281b5f2917cbb403596c03ddeea7ffc25f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee63b02e6dd86fba03ecfe2a4f2ea281b5f2917cbb403596c03ddeea7ffc25f2", kill_on_drop: false }` [INFO] [stdout] ee63b02e6dd86fba03ecfe2a4f2ea281b5f2917cbb403596c03ddeea7ffc25f2