[INFO] fetching crate app-frame 0.3.1...
[INFO] testing app-frame-0.3.1 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate app-frame 0.3.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate app-frame 0.3.1
[INFO] finished tweaking crates.io crate app-frame 0.3.1
[INFO] tweaked toml for crates.io crate app-frame 0.3.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate app-frame 0.3.1 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 93 packages to latest compatible versions
[INFO] [stderr]       Adding hyper v0.14.32 (available: v1.8.1)
[INFO] [stderr]       Adding ordered-float v3.9.2 (available: v5.1.0)
[INFO] [stderr]       Adding priority-queue v1.4.0 (available: v2.7.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f7004e0e7ba6a510211da74b6e8deebda87bcbd04cedb778c1c5c79915224f6
[INFO] running `Command { std: "docker" "start" "-a" "3f7004e0e7ba6a510211da74b6e8deebda87bcbd04cedb778c1c5c79915224f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f7004e0e7ba6a510211da74b6e8deebda87bcbd04cedb778c1c5c79915224f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f7004e0e7ba6a510211da74b6e8deebda87bcbd04cedb778c1c5c79915224f6", kill_on_drop: false }`
[INFO] [stdout] 3f7004e0e7ba6a510211da74b6e8deebda87bcbd04cedb778c1c5c79915224f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e558e0e05d71f7a8425f1d1c28141b651aa17a56846329a6421a0d2bd5de75aa
[INFO] running `Command { std: "docker" "start" "-a" "e558e0e05d71f7a8425f1d1c28141b651aa17a56846329a6421a0d2bd5de75aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling gimli v0.32.3
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling priority-queue v1.4.0
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling ordered-float v3.9.2
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling addr2line v0.25.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling app-frame v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.04s
[INFO] running `Command { std: "docker" "inspect" "e558e0e05d71f7a8425f1d1c28141b651aa17a56846329a6421a0d2bd5de75aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e558e0e05d71f7a8425f1d1c28141b651aa17a56846329a6421a0d2bd5de75aa", kill_on_drop: false }`
[INFO] [stdout] e558e0e05d71f7a8425f1d1c28141b651aa17a56846329a6421a0d2bd5de75aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] feec5a17e018d5227946d7a2f40c4330b277ecd70fcbf30a84d0ab6f3e0933b4
[INFO] running `Command { std: "docker" "start" "-a" "feec5a17e018d5227946d7a2f40c4330b277ecd70fcbf30a84d0ab6f3e0933b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling app-frame v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.51s
[INFO] running `Command { std: "docker" "inspect" "feec5a17e018d5227946d7a2f40c4330b277ecd70fcbf30a84d0ab6f3e0933b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "feec5a17e018d5227946d7a2f40c4330b277ecd70fcbf30a84d0ab6f3e0933b4", kill_on_drop: false }`
[INFO] [stdout] feec5a17e018d5227946d7a2f40c4330b277ecd70fcbf30a84d0ab6f3e0933b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 60bf60735c9cd2d669e48ae464d0037dcb63214eac387df319a487d8236dea3c
[INFO] running `Command { std: "docker" "start" "-a" "60bf60735c9cd2d669e48ae464d0037dcb63214eac387df319a487d8236dea3c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/app_frame-96bcb8e2cab11d54)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test util::abs_to_rel_paths_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests app_frame
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/dependency_injection.rs - dependency_injection::application (line 73) ... ignored
[INFO] [stdout] test src/dependency_injection.rs - dependency_injection::inject (line 23) ... ignored
[INFO] [stdout] test src/lib.rs - (line 239) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 38) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 176) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 54) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 98) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 216) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 147) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 85) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 122) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 239) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio`
[INFO] [stdout]    --> src/lib.rs:254:10
[INFO] [stdout]     |
[INFO] [stdout] 254 | #[tokio::main]
[INFO] [stdout]     |          ^^^^ could not find `main` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:255:1
[INFO] [stdout]     |
[INFO] [stdout] 255 | async fn main() -> anyhow::Result<Never> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 38) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio`
[INFO] [stdout]   --> src/lib.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[tokio::main]
[INFO] [stdout]    |          ^^^^ could not find `main` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | async fn main() -> anyhow::Result<Never> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 176) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:178:19
[INFO] [stdout]     |
[INFO] [stdout] 178 |     db_singleton: Arc<DatabaseConnectionPoolSingleton>,
[INFO] [stdout]     |                   ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 176 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DatabaseConnectionPoolSingleton` in this scope
[INFO] [stdout]    --> src/lib.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |     db_singleton: Arc<DatabaseConnectionPoolSingleton>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct MyApp<DatabaseConnectionPoolSingleton> {
[INFO] [stdout]     |                 +++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]    --> src/lib.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |             db_singleton: Arc::new(DatabaseConnectionPoolSingleton {
[INFO] [stdout]     |                           ^^^ use of undeclared type `Arc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 176 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DatabaseConnectionPoolSingleton` in this scope
[INFO] [stdout]    --> src/lib.rs:184:36
[INFO] [stdout]     |
[INFO] [stdout] 184 |             db_singleton: Arc::new(DatabaseConnectionPoolSingleton {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 54) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio`
[INFO] [stdout]   --> src/lib.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[tokio::main]
[INFO] [stdout]    |          ^^^^ could not find `main` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Initialize` in this scope
[INFO] [stdout]   --> src/lib.rs:65:6
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl Initialize for MyApp {}
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 56 + use app_frame::service_manager::Initialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Serves` in this scope
[INFO] [stdout]   --> src/lib.rs:67:6
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl Serves for MyApp {
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 56 + use app_frame::service_manager::Serves;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope
[INFO] [stdout]   --> src/lib.rs:68:39
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn services(&self) -> Vec<Box<dyn Service>> {
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]    |
[INFO] [stdout] 56 + use app_frame::service::Service;
[INFO] [stdout]    |
[INFO] [stdout] 56 + use hyper::service::Service;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, 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 98) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `MyService` in this scope
[INFO] [stdout]    --> src/lib.rs:104:22
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T> From<&T> for MyService
[INFO] [stdout]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Provides` in this scope
[INFO] [stdout]    --> src/lib.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     T: Provides<Arc<dyn Repository>>,
[INFO] [stdout]     |        ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]  98 + use app_frame::dependency_injection::Provides;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 |     T: Provides<Arc<dyn Repository>>,
[INFO] [stdout]     |                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  98 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Repository` in this scope
[INFO] [stdout]    --> src/lib.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout] 106 |     T: Provides<Arc<dyn Repository>>,
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]    --> src/lib.rs:111:24
[INFO] [stdout]     |
[INFO] [stdout] 111 |             heartbeat: Arc::new(()),
[INFO] [stdout]     |                        ^^^ use of undeclared type `Arc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  98 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, 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 216) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RunConfig` in this scope
[INFO] [stdout]    --> src/lib.rs:220:17
[INFO] [stdout]     |
[INFO] [stdout] 220 |     .run_custom(RunConfig {
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 216 + use app_frame::service_manager::RunConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HealthEndpointConfig` in this scope
[INFO] [stdout]    --> src/lib.rs:223:36
[INFO] [stdout]     |
[INFO] [stdout] 223 |         http_health_endpoint: Some(HealthEndpointConfig {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 216 + use app_frame::health_endpoint::HealthEndpointConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]    --> src/lib.rs:225:29
[INFO] [stdout]     |
[INFO] [stdout] 225 |             success_status: StatusCode::OK,
[INFO] [stdout]     |                             ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 216 + use hyper::StatusCode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]    --> src/lib.rs:226:26
[INFO] [stdout]     |
[INFO] [stdout] 226 |             fail_status: StatusCode::INTERNAL_SERVER_ERROR,
[INFO] [stdout]     |                          ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 216 + use hyper::StatusCode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:229:6
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_216_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 229 |     .await
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyApp`
[INFO] [stdout]    --> src/lib.rs:219:1
[INFO] [stdout]     |
[INFO] [stdout] 219 | MyApp::new()
[INFO] [stdout]     | ^^^^^ use of undeclared type `MyApp`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 147) stdout ----
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]    --> src/lib.rs:150:3
[INFO] [stdout]     |
[INFO] [stdout] 150 | #[async_trait]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 147 + use async_trait::async_trait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Job` in this scope
[INFO] [stdout]    --> src/lib.rs:151:6
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl Job for JobToLoopForever {
[INFO] [stdout]     |      ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 147 + use app_frame::service::Job;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JobToLoopForever` in this scope
[INFO] [stdout]    --> src/lib.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl Job for JobToLoopForever {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `SelfConfiguredLoop` in this scope
[INFO] [stdout]    --> src/lib.rs:157:6
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl SelfConfiguredLoop for JobToLoopForever {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 147 + use app_frame::service::SelfConfiguredLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JobToLoopForever` in this scope
[INFO] [stdout]    --> src/lib.rs:157:29
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl SelfConfiguredLoop for JobToLoopForever {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LoopConfig` in this scope
[INFO] [stdout]    --> src/lib.rs:158:30
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn loop_config(&self) -> LoopConfig {
[INFO] [stdout]     |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 147 + use app_frame::service::LoopConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoopConfig` in this scope
[INFO] [stdout]    --> src/lib.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |         LoopConfig {
[INFO] [stdout]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 147 + use app_frame::service::LoopConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0422, E0425.
[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 85) stdout ----
[INFO] [stdout] error: cannot find macro `inject` in this scope
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | inject!(
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 85 + use app_frame::inject;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 122) stdout ----
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]    --> src/lib.rs:124:3
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[async_trait]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 122 + use async_trait::async_trait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope
[INFO] [stdout]    --> src/lib.rs:125:6
[INFO] [stdout]     |
[INFO] [stdout] 125 | impl Service for MyService {
[INFO] [stdout]     |      ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]     |
[INFO] [stdout] 122 + use app_frame::service::Service;
[INFO] [stdout]     |
[INFO] [stdout] 122 + use hyper::service::Service;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyService` in this scope
[INFO] [stdout]    --> src/lib.rs:125:18
[INFO] [stdout]     |
[INFO] [stdout] 125 | impl Service for MyService {
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Never` in this scope
[INFO] [stdout]    --> src/lib.rs:126:36
[INFO] [stdout]     |
[INFO] [stdout] 126 |     async fn run_forever(&self) -> Never {
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 122 + use app_frame::Never;
[INFO] [stdout]     |
[INFO] [stdout] 122 + use futures::never::Never;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:137:44
[INFO] [stdout]     |
[INFO] [stdout] 137 |     fn set_heartbeat(&mut self, heartbeat: Arc<dyn Heartbeat + 'static>) {
[INFO] [stdout]     |                                            ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 122 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Heartbeat` in this scope
[INFO] [stdout]    --> src/lib.rs:137:52
[INFO] [stdout]     |
[INFO] [stdout] 137 |     fn set_heartbeat(&mut self, heartbeat: Arc<dyn Heartbeat + 'static>) {
[INFO] [stdout]     |                                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 122 + use app_frame::service_manager::Heartbeat;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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/lib.rs - (line 122)
[INFO] [stdout]     src/lib.rs - (line 147)
[INFO] [stdout]     src/lib.rs - (line 176)
[INFO] [stdout]     src/lib.rs - (line 216)
[INFO] [stdout]     src/lib.rs - (line 239)
[INFO] [stdout]     src/lib.rs - (line 38)
[INFO] [stdout]     src/lib.rs - (line 54)
[INFO] [stdout]     src/lib.rs - (line 85)
[INFO] [stdout]     src/lib.rs - (line 98)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.66s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "60bf60735c9cd2d669e48ae464d0037dcb63214eac387df319a487d8236dea3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60bf60735c9cd2d669e48ae464d0037dcb63214eac387df319a487d8236dea3c", kill_on_drop: false }`
[INFO] [stdout] 60bf60735c9cd2d669e48ae464d0037dcb63214eac387df319a487d8236dea3c
