[INFO] fetching crate service-async 0.2.4...
[INFO] testing service-async-0.2.4 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate service-async 0.2.4 into /workspace/builds/worker-4-tc1/source
[INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain
[INFO] started tweaking crates.io crate service-async 0.2.4
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate service-async 0.2.4
[INFO] tweaked toml for crates.io crate service-async 0.2.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate service-async 0.2.4 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate service-async 0.2.4 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded monoio-macros v0.1.0
[INFO] [stderr]   Downloaded param v0.1.2
[INFO] [stderr]   Downloaded log v0.4.19
[INFO] [stderr]   Downloaded io-uring v0.6.0
[INFO] [stderr]   Downloaded auto-const-array v0.2.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.60
[INFO] [stderr]   Downloaded monoio v0.2.1
[INFO] [stderr]   Downloaded nix v0.26.2
[INFO] [stderr]   Downloaded tokio v1.28.2
[INFO] [stderr]   Downloaded libc v0.2.146
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75890ecc80daeaaee1a320c8bd7daf660d99924facd689af0ef739251938c7e7
[INFO] running `Command { std: "docker" "start" "-a" "75890ecc80daeaaee1a320c8bd7daf660d99924facd689af0ef739251938c7e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75890ecc80daeaaee1a320c8bd7daf660d99924facd689af0ef739251938c7e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75890ecc80daeaaee1a320c8bd7daf660d99924facd689af0ef739251938c7e7", kill_on_drop: false }`
[INFO] [stdout] 75890ecc80daeaaee1a320c8bd7daf660d99924facd689af0ef739251938c7e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2035f770b86e00b93841c14a4a7d4b2e2fa941d0db79a7b5a2b929fc84b390d6
[INFO] running `Command { std: "docker" "start" "-a" "2035f770b86e00b93841c14a4a7d4b2e2fa941d0db79a7b5a2b929fc84b390d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling param v0.1.2
[INFO] [stderr]    Compiling service-async v0.2.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "2035f770b86e00b93841c14a4a7d4b2e2fa941d0db79a7b5a2b929fc84b390d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2035f770b86e00b93841c14a4a7d4b2e2fa941d0db79a7b5a2b929fc84b390d6", kill_on_drop: false }`
[INFO] [stdout] 2035f770b86e00b93841c14a4a7d4b2e2fa941d0db79a7b5a2b929fc84b390d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d01acbfdf183f1aef7f4d89441dfb4239e9e2e8e93f4d6b8e575da0751b7315c
[INFO] running `Command { std: "docker" "start" "-a" "d01acbfdf183f1aef7f4d89441dfb4239e9e2e8e93f4d6b8e575da0751b7315c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.60
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling io-uring v0.6.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling nix v0.26.2
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling socket2 v0.5.3
[INFO] [stderr]    Compiling auto-const-array v0.2.0
[INFO] [stderr]    Compiling monoio-macros v0.1.0
[INFO] [stderr]    Compiling monoio v0.2.1
[INFO] [stderr]    Compiling service-async v0.2.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.73s
[INFO] running `Command { std: "docker" "inspect" "d01acbfdf183f1aef7f4d89441dfb4239e9e2e8e93f4d6b8e575da0751b7315c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d01acbfdf183f1aef7f4d89441dfb4239e9e2e8e93f4d6b8e575da0751b7315c", kill_on_drop: false }`
[INFO] [stdout] d01acbfdf183f1aef7f4d89441dfb4239e9e2e8e93f4d6b8e575da0751b7315c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6b208dbeea30a5dc23e22113133f6a685db648a7b4264e88658e6242c3e541fa
[INFO] running `Command { std: "docker" "start" "-a" "6b208dbeea30a5dc23e22113133f6a685db648a7b4264e88658e6242c3e541fa", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/service_async-83b436956ae77928)
[INFO] [stderr]    Doc-tests service_async
[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 9 tests
[INFO] [stdout] test src/lib.rs - (line 20) ... FAILED
[INFO] [stdout] test src/stack.rs - stack::FactoryStack (line 39) ... FAILED
[INFO] [stdout] test src/make_service.rs - make_service::AsyncMakeService (line 154) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 171) ... FAILED
[INFO] [stdout] test src/make_service.rs - make_service::MakeService (line 17) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 66) ... FAILED
[INFO] [stdout] test src/either.rs - either::Either (line 11) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 264) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 108) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 20) stdout ----
[INFO] [stdout] error: expected type, found keyword `type`
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | {
[INFO] [stdout]    | - while parsing this item list starting here
[INFO] [stdout] 25 |     type Response = // ...;
[INFO] [stdout] 26 |     type Error = // ...;
[INFO] [stdout]    |     ^^^^ expected type
[INFO] [stdout] ...
[INFO] [stdout] 40 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SomeStruct` in this scope
[INFO] [stdout]   --> src/lib.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<S, Req> tower::Service<Req> for SomeStruct<S>
[INFO] [stdout]    |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower`
[INFO] [stdout]   --> src/lib.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<S, Req> tower::Service<Req> for SomeStruct<S>
[INFO] [stdout]    |              ^^^^^ use of unresolved module or unlinked crate `tower`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tower`, use `cargo add tower` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/stack.rs - stack::FactoryStack (line 39) stdout ----
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 0 arguments were supplied
[INFO] [stdout]   --> src/stack.rs:59:11
[INFO] [stdout]    |
[INFO] [stdout] 59 |     .push(ServiceA::layer())
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^-- three arguments of type `&ServiceA`, `&_`, and `()` are missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/layer.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn layer(&self, config: &C, inner: F) -> Self::Factory;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]    |
[INFO] [stdout] 59 |     .push(ServiceA::layer(/* &ServiceA */, /* config */, ()))
[INFO] [stdout]    |                           +++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 0 arguments were supplied
[INFO] [stdout]   --> src/stack.rs:60:11
[INFO] [stdout]    |
[INFO] [stdout] 60 |     .push(ServiceB::layer());
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^-- three arguments are missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/layer.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn layer(&self, config: &C, inner: F) -> Self::Factory;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]    |
[INFO] [stdout] 60 |     .push(ServiceB::layer(/* value */, /* config */, /* inner */));
[INFO] [stdout]    |                           ++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `make` exists for struct `FactoryStack<Config, ServiceB<ServiceA>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/stack.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct ServiceB<T>(T);
[INFO] [stdout]    | ------------------ doesn't satisfy `ServiceB<ServiceA>: MakeService`
[INFO] [stdout] ...
[INFO] [stdout] 62 | let service = stack.make().expect("Failed to create service");
[INFO] [stdout]    |                     ^^^^ method cannot be called on `FactoryStack<Config, ServiceB<ServiceA>>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `ServiceB<ServiceA>: MakeService`
[INFO] [stdout] note: the trait `MakeService` must be implemented
[INFO] [stdout]   --> src/make_service.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub trait MakeService {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/make_service.rs - make_service::AsyncMakeService (line 154) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_crate`
[INFO] [stdout]    --> src/make_service.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 156 | use your_crate::{AsyncMakeService, Service};
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AsyncConnectionPool` in this scope
[INFO] [stdout]    --> src/make_service.rs:159:22
[INFO] [stdout]     |
[INFO] [stdout] 159 |     connection_pool: AsyncConnectionPool,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Config` in this scope
[INFO] [stdout]    --> src/make_service.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |     config: Config,
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Config` in this scope
[INFO] [stdout]    --> src/make_service.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |     config: Config,
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AsyncConnectionPool`
[INFO] [stdout]    --> src/make_service.rs:178:34
[INFO] [stdout]     |
[INFO] [stdout] 178 |                 connection_pool: AsyncConnectionPool::new().await,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AsyncConnectionPool`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 171) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `MakeService` in this scope
[INFO] [stdout]    --> src/lib.rs:183:6
[INFO] [stdout]     |
[INFO] [stdout] 183 | impl MakeService for SvcAFactory {
[INFO] [stdout]     |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 171 + use service_async::MakeService;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Infallible` in this scope
[INFO] [stdout]    --> src/lib.rs:185:18
[INFO] [stdout]     |
[INFO] [stdout] 185 |     type Error = Infallible;
[INFO] [stdout]     |                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 171 + use std::convert::Infallible;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/make_service.rs - make_service::MakeService (line 17) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `ConnectionPool` in this scope
[INFO] [stdout]   --> src/make_service.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |     connection_pool: ConnectionPool,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Config` in this scope
[INFO] [stdout]   --> src/make_service.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |     config: Config,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Config` in this scope
[INFO] [stdout]   --> src/make_service.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |     config: Config,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectionPool`
[INFO] [stdout]   --> src/make_service.rs:42:34
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 connection_pool: ConnectionPool::new(),
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^ use of undeclared type `ConnectionPool`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 66) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]   --> src/lib.rs:73:42
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn call(&self, req: Request) -> impl Future<Output = Result<Self::Response, Self::Error>>;
[INFO] [stdout]    |                                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 66 + use std::future::Future;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/either.rs - either::Either (line 11) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `SvcC` in this scope
[INFO] [stdout]   --> src/either.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<T> SvcC<T> {
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FactoryLayer` in this scope
[INFO] [stdout]   --> src/either.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |    fn layer<C>() -> impl FactoryLayer<C, T, Factory = Self> {
[INFO] [stdout]    |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 11 + use service_async::layer::FactoryLayer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `layer_fn` in this scope
[INFO] [stdout]   --> src/either.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |       layer_fn(|_: &C, inner| SvcC { inner })
[INFO] [stdout]    |       ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 11 + use service_async::layer::layer_fn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SvcC` in this scope
[INFO] [stdout]   --> src/either.rs:14:31
[INFO] [stdout]    |
[INFO] [stdout] 14 |       layer_fn(|_: &C, inner| SvcC { inner })
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FactoryLayer` in this scope
[INFO] [stdout]   --> src/either.rs:17:49
[INFO] [stdout]    |
[INFO] [stdout] 17 |   fn opt_layer<C>(enabled: bool) -> Option<impl FactoryLayer<C, T, Factory = Self>> {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 11 + use service_async::layer::FactoryLayer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `layer_fn` in this scope
[INFO] [stdout]   --> src/either.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |           Some(layer_fn(|_: &C, inner| SvcC { inner }))
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 11 + use service_async::layer::layer_fn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SvcC` in this scope
[INFO] [stdout]   --> src/either.rs:19:40
[INFO] [stdout]    |
[INFO] [stdout] 19 |           Some(layer_fn(|_: &C, inner| SvcC { inner }))
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FactoryStack`
[INFO] [stdout]   --> src/either.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | let stack = FactoryStack::new(config)
[INFO] [stdout]    |             ^^^^^^^^^^^^ use of undeclared type `FactoryStack`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use service_async::stack::FactoryStack;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config` in this scope
[INFO] [stdout]   --> src/either.rs:26:31
[INFO] [stdout]    |
[INFO] [stdout] 26 | let stack = FactoryStack::new(config)
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvcAFactory`
[INFO] [stdout]   --> src/either.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |     .push(SvcAFactory::layer())
[INFO] [stdout]    |           ^^^^^^^^^^^ use of undeclared type `SvcAFactory`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvcBFactory`
[INFO] [stdout]   --> src/either.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     .push(SvcBFactory::layer())
[INFO] [stdout]    |           ^^^^^^^^^^^ use of undeclared type `SvcBFactory`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvcC`
[INFO] [stdout]   --> src/either.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 |     .push(SvcC::opt_layer(true));
[INFO] [stdout]    |           ^^^^ use of undeclared type `SvcC`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 264) stdout ----
[INFO] [stdout] error[E0599]: the method `make_async` exists for struct `FactoryStack<Config, SvcBFactory<SvcAFactory>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/lib.rs:414:21
[INFO] [stdout]     |
[INFO] [stdout] 352 | struct SvcBFactory<T>(T);
[INFO] [stdout]     | --------------------- doesn't satisfy `SvcBFactory<SvcAFactory>: AsyncMakeService`
[INFO] [stdout] ...
[INFO] [stdout] 414 |     let svc = stack.make_async().await.unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^ method cannot be called on `FactoryStack<Config, SvcBFactory<SvcAFactory>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `SvcBFactory<SvcAFactory>: AsyncMakeService`
[INFO] [stdout] note: the trait `AsyncMakeService` must be implemented
[INFO] [stdout]    --> src/make_service.rs:188:1
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub trait AsyncMakeService {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:414:15
[INFO] [stdout]     |
[INFO] [stdout] 414 |     let svc = stack.make_async().await.unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:415:5
[INFO] [stdout]     |
[INFO] [stdout] 415 |     svc.call(1).await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:416:5
[INFO] [stdout]     |
[INFO] [stdout] 416 |     svc.call(2).await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:417:5
[INFO] [stdout]     |
[INFO] [stdout] 417 |     svc.call(3).await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 108) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `MakeService` in this scope
[INFO] [stdout]    --> src/lib.rs:120:6
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl MakeService for SvcAFactory {
[INFO] [stdout]     |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 108 + use service_async::MakeService;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Infallible` in this scope
[INFO] [stdout]    --> src/lib.rs:122:18
[INFO] [stdout]     |
[INFO] [stdout] 122 |     type Error = Infallible;
[INFO] [stdout]     |                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 108 + use std::convert::Infallible;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/either.rs - either::Either (line 11)
[INFO] [stdout]     src/lib.rs - (line 108)
[INFO] [stdout]     src/lib.rs - (line 171)
[INFO] [stdout]     src/lib.rs - (line 20)
[INFO] [stdout]     src/lib.rs - (line 264)
[INFO] [stdout]     src/lib.rs - (line 66)
[INFO] [stdout]     src/make_service.rs - make_service::AsyncMakeService (line 154)
[INFO] [stdout]     src/make_service.rs - make_service::MakeService (line 17)
[INFO] [stdout]     src/stack.rs - stack::FactoryStack (line 39)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6b208dbeea30a5dc23e22113133f6a685db648a7b4264e88658e6242c3e541fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b208dbeea30a5dc23e22113133f6a685db648a7b4264e88658e6242c3e541fa", kill_on_drop: false }`
[INFO] [stdout] 6b208dbeea30a5dc23e22113133f6a685db648a7b4264e88658e6242c3e541fa
