[INFO] cloning repository https://github.com/AugustsK/mock-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AugustsK/mock-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustsK%2Fmock-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustsK%2Fmock-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6d1fe6f80cbcd50f8ae780c178cf28eb8921024 [INFO] checking AugustsK/mock-api against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustsK%2Fmock-api" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AugustsK/mock-api on toolchain 16b569057e4d1591b4bee05f10df34000308dedc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AugustsK/mock-api [INFO] finished tweaking git repo https://github.com/AugustsK/mock-api [INFO] tweaked toml for git repo https://github.com/AugustsK/mock-api written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AugustsK/mock-api 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" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.185 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca77dde2435fe0806eabb93a7b62dbb6cc7d616d3ce01673ee83e10b507a98b2 [INFO] running `Command { std: "docker" "start" "-a" "ca77dde2435fe0806eabb93a7b62dbb6cc7d616d3ce01673ee83e10b507a98b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca77dde2435fe0806eabb93a7b62dbb6cc7d616d3ce01673ee83e10b507a98b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca77dde2435fe0806eabb93a7b62dbb6cc7d616d3ce01673ee83e10b507a98b2", kill_on_drop: false }` [INFO] [stdout] ca77dde2435fe0806eabb93a7b62dbb6cc7d616d3ce01673ee83e10b507a98b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5710c3f65e9d4d30bf3bffe368e478da9f093271a7b6dbfbe6307c2ed4f935a8 [INFO] running `Command { std: "docker" "start" "-a" "5710c3f65e9d4d30bf3bffe368e478da9f093271a7b6dbfbe6307c2ed4f935a8", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::{Server, Body, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::{Server, Body, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `time` is never read [INFO] [stdout] --> src/route/api.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut time = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `byte_len` is never read [INFO] [stdout] --> src/route/api.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut byte_len: usize = 10000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `time` is never read [INFO] [stdout] --> src/route/api.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut time = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `byte_len` is never read [INFO] [stdout] --> src/route/api.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut byte_len: usize = 10000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.75s [INFO] running `Command { std: "docker" "inspect" "5710c3f65e9d4d30bf3bffe368e478da9f093271a7b6dbfbe6307c2ed4f935a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5710c3f65e9d4d30bf3bffe368e478da9f093271a7b6dbfbe6307c2ed4f935a8", kill_on_drop: false }` [INFO] [stdout] 5710c3f65e9d4d30bf3bffe368e478da9f093271a7b6dbfbe6307c2ed4f935a8 [INFO] checking AugustsK/mock-api against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustsK%2Fmock-api" "/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/AugustsK/mock-api on toolchain 8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AugustsK/mock-api [INFO] finished tweaking git repo https://github.com/AugustsK/mock-api [INFO] tweaked toml for git repo https://github.com/AugustsK/mock-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AugustsK/mock-api 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" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2b19b7a2972398a017bd13936e1e71f05944f3173eac74b2ab7b5c3e0360833 [INFO] running `Command { std: "docker" "start" "-a" "f2b19b7a2972398a017bd13936e1e71f05944f3173eac74b2ab7b5c3e0360833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2b19b7a2972398a017bd13936e1e71f05944f3173eac74b2ab7b5c3e0360833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b19b7a2972398a017bd13936e1e71f05944f3173eac74b2ab7b5c3e0360833", kill_on_drop: false }` [INFO] [stdout] f2b19b7a2972398a017bd13936e1e71f05944f3173eac74b2ab7b5c3e0360833 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b02b32480f4f500acb3eb339f3f1632d126f13dbb98d3f58ca29a71331e9e240 [INFO] running `Command { std: "docker" "start" "-a" "b02b32480f4f500acb3eb339f3f1632d126f13dbb98d3f58ca29a71331e9e240", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::{Server, Body, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::{Server, Body, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `time` is never read [INFO] [stdout] --> src/route/api.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut time = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `byte_len` is never read [INFO] [stdout] --> src/route/api.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut byte_len: usize = 10000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `time` is never read [INFO] [stdout] --> src/route/api.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut time = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `byte_len` is never read [INFO] [stdout] --> src/route/api.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut byte_len: usize = 10000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | Ok::<_, Infallible>(service_fn(handle_request)) [INFO] [stdout] 21 | | }); [INFO] [stdout] | |______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | Ok::<_, Infallible>(service_fn(handle_request)) [INFO] [stdout] 21 | | }); [INFO] [stdout] | |______^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnOnce<(&AddrStream,)>`, for some specific lifetime `'0`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'1 AddrStream,)>`, for some specific lifetime `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | server.await?; [INFO] [stdout] | ^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | server.await?; [INFO] [stdout] | ^^^^^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | Ok::<_, Infallible>(service_fn(handle_request)) [INFO] [stdout] 21 | | }); [INFO] [stdout] | |______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | Ok::<_, Infallible>(service_fn(handle_request)) [INFO] [stdout] 21 | | }); [INFO] [stdout] | |______^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnOnce<(&AddrStream,)>`, for some specific lifetime `'0`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'1 AddrStream,)>`, for some specific lifetime `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | server.await?; [INFO] [stdout] | ^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | server.await?; [INFO] [stdout] | ^^^^^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:19:36: 19:43}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `api` (bin "api") due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `api` (bin "api" test) due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b02b32480f4f500acb3eb339f3f1632d126f13dbb98d3f58ca29a71331e9e240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b02b32480f4f500acb3eb339f3f1632d126f13dbb98d3f58ca29a71331e9e240", kill_on_drop: false }` [INFO] [stdout] b02b32480f4f500acb3eb339f3f1632d126f13dbb98d3f58ca29a71331e9e240