[INFO] fetching crate catalyzer-core 0.1.3... [INFO] testing catalyzer-core-0.1.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate catalyzer-core 0.1.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate catalyzer-core 0.1.3 [INFO] finished tweaking crates.io crate catalyzer-core 0.1.3 [INFO] tweaked toml for crates.io crate catalyzer-core 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate catalyzer-core 0.1.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 109 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.6) [INFO] [stderr] Adding axum-extra v0.9.6 (available: v0.12.1) [INFO] [stderr] Adding simple_logger v4.3.3 (available: v5.1.0) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] [stderr] Downloaded simple_logger v4.3.3 [INFO] [stderr] Downloaded catalyzer-utils v0.1.3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff9499ba1c34bd2204eb1ea234d5d204afe5dbb968b4d7af53eb1ba1645f0311 [INFO] running `Command { std: "docker" "start" "-a" "ff9499ba1c34bd2204eb1ea234d5d204afe5dbb968b4d7af53eb1ba1645f0311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff9499ba1c34bd2204eb1ea234d5d204afe5dbb968b4d7af53eb1ba1645f0311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff9499ba1c34bd2204eb1ea234d5d204afe5dbb968b4d7af53eb1ba1645f0311", kill_on_drop: false }` [INFO] [stdout] ff9499ba1c34bd2204eb1ea234d5d204afe5dbb968b4d7af53eb1ba1645f0311 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64fd91508fd5673faf89dec3100742fe92993c8054152a036b488403a185aa53 [INFO] running `Command { std: "docker" "start" "-a" "64fd91508fd5673faf89dec3100742fe92993c8054152a036b488403a185aa53", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling catalyzer-utils v0.1.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling simple_logger v4.3.3 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling catalyzer-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.63s [INFO] running `Command { std: "docker" "inspect" "64fd91508fd5673faf89dec3100742fe92993c8054152a036b488403a185aa53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64fd91508fd5673faf89dec3100742fe92993c8054152a036b488403a185aa53", kill_on_drop: false }` [INFO] [stdout] 64fd91508fd5673faf89dec3100742fe92993c8054152a036b488403a185aa53 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b99409f96b2c4addd80477c48f9946b224c88915bd0ec211181311702c1bdf71 [INFO] running `Command { std: "docker" "start" "-a" "b99409f96b2c4addd80477c48f9946b224c88915bd0ec211181311702c1bdf71", kill_on_drop: false }` [INFO] [stderr] Compiling catalyzer-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "b99409f96b2c4addd80477c48f9946b224c88915bd0ec211181311702c1bdf71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b99409f96b2c4addd80477c48f9946b224c88915bd0ec211181311702c1bdf71", kill_on_drop: false }` [INFO] [stdout] b99409f96b2c4addd80477c48f9946b224c88915bd0ec211181311702c1bdf71 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c18097b381a5c950a2c071006b0628fcd7b6f20cb237141766a8194da3ef54fa [INFO] running `Command { std: "docker" "start" "-a" "c18097b381a5c950a2c071006b0628fcd7b6f20cb237141766a8194da3ef54fa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/catalyzer-cfa3ecb98af0f711) [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] [stderr] Doc-tests catalyzer [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test app/mod.rs - app::App::bind (line 89) ... FAILED [INFO] [stdout] test app/mod.rs - app::App::route (line 47) ... FAILED [INFO] [stdout] test internals/handlers.rs - internals::handlers::HandlerMetadata (line 17) ... FAILED [INFO] [stdout] test app/mod.rs - app::App::set_state (line 114) ... FAILED [INFO] [stdout] test internals/runtime.rs - runtime::CatalyzerRuntimeBuilder::setup_tokio (line 132) ... FAILED [INFO] [stdout] test internals/handlers.rs - internals::handlers::HandlerMetadata (line 27) ... ok [INFO] [stdout] test internals/runtime.rs - runtime::CatalyzerRuntime::run (line 71) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- app/mod.rs - app::App::bind (line 89) stdout ---- [INFO] [stdout] error: cannot find attribute `main` in this scope [INFO] [stdout] --> app/mod.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | #[main] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `main` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 91 + use tokio::main; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> app/mod.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | fn main() -> Result { [INFO] [stdout] | ---- ^^^^^^ expected `Result<(), CatalyzerError>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), CatalyzerError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- app/mod.rs - app::App::route (line 47) stdout ---- [INFO] [stdout] error: cannot find attribute `main` in this scope [INFO] [stdout] --> app/mod.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[main] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `main` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 49 + use tokio::main; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> app/mod.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `index_metadata` in this scope [INFO] [stdout] --> app/mod.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | .route::<_, index_metadata, _>(index)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() {main::index}: AxumHandler<_, _>` is not satisfied [INFO] [stdout] --> app/mod.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | .route::<_, index_metadata, _>(index)?; [INFO] [stdout] | ----- ^ the trait `AxumHandler<_, _>` is not implemented for fn item `fn() {main::index}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `AxumHandler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | / impl Handler for Layered [INFO] [stdout] 304 | | where [INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 306 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 310 | | T: 'static, [INFO] [stdout] 311 | | S: 'static, [INFO] [stdout] | |_______________^ `Layered` implements `AxumHandler` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:1309:1 [INFO] [stdout] | [INFO] [stdout] 1309 | / impl Handler<(), S> for MethodRouter [INFO] [stdout] 1310 | | where [INFO] [stdout] 1311 | | S: Clone + 'static, [INFO] [stdout] | |_______________________^ `MethodRouter` implements `AxumHandler<(), S>` [INFO] [stdout] note: required by a bound in `catalyzer::App::::route` [INFO] [stdout] --> /opt/rustwide/workdir/app/mod.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn route( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 64 | Handler: AxumHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `App::::route` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> app/mod.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | fn main() -> Result { [INFO] [stdout] | ---- ^^^^^^ expected `Result<(), CatalyzerError>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), CatalyzerError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> app/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn index() { [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] 54 | "Hello, world!" [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- internals/handlers.rs - internals::handlers::HandlerMetadata (line 17) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> internals/handlers.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> internals/handlers.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn index() { [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] 22 | "Hello, world!" [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- app/mod.rs - app::App::set_state (line 114) stdout ---- [INFO] [stdout] error: cannot find attribute `main` in this scope [INFO] [stdout] --> app/mod.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | #[main] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `main` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 116 + use tokio::main; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppState: Clone` is not satisfied [INFO] [stdout] --> app/mod.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | let app = App::new() [INFO] [stdout] | ^^^^^^^^^^ the trait `Clone` is not implemented for `AppState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `catalyzer::App::::new` [INFO] [stdout] --> /opt/rustwide/workdir/app/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | State: Clone + Send + Sync + 'static [INFO] [stdout] | ^^^^^ required by this bound in `App::::new` [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider annotating `AppState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 117 + #[derive(Clone)] [INFO] [stdout] 118 | struct AppState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppState: Clone` is not satisfied [INFO] [stdout] --> app/mod.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | .set_state(AppState { counter: 0 }); [INFO] [stdout] | ^^^^^^^^^ the trait `Clone` is not implemented for `AppState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `catalyzer::App::::set_state` [INFO] [stdout] --> /opt/rustwide/workdir/app/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | State: Clone + Send + Sync + 'static [INFO] [stdout] | ^^^^^ required by this bound in `App::::set_state` [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn set_state(self, state: State) -> App { [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] help: consider annotating `AppState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 117 + #[derive(Clone)] [INFO] [stdout] 118 | struct AppState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> app/mod.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | fn main() -> Result { [INFO] [stdout] | ---- ^^^^^^ expected `Result<(), CatalyzerError>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), CatalyzerError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- internals/runtime.rs - runtime::CatalyzerRuntimeBuilder::setup_tokio (line 132) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CatalyzerRuntime` [INFO] [stdout] --> internals/runtime.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | CatalyzerRuntime::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CatalyzerRuntime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 134 + use catalyzer::internals::CatalyzerRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> internals/runtime.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | .setup_tokio(|b| b.enable_all())? [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 138 | .setup_tokio(|b: /* Type */| b.enable_all())? [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> internals/runtime.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | fn main() -> Result { [INFO] [stdout] | ---- ^^^^^^ expected `Result<(), CatalyzerError>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), CatalyzerError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] app/mod.rs - app::App::bind (line 89) [INFO] [stdout] app/mod.rs - app::App::route (line 47) [INFO] [stdout] app/mod.rs - app::App::set_state (line 114) [INFO] [stdout] internals/handlers.rs - internals::handlers::HandlerMetadata (line 17) [INFO] [stdout] internals/runtime.rs - runtime::CatalyzerRuntimeBuilder::setup_tokio (line 132) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.95s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c18097b381a5c950a2c071006b0628fcd7b6f20cb237141766a8194da3ef54fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18097b381a5c950a2c071006b0628fcd7b6f20cb237141766a8194da3ef54fa", kill_on_drop: false }` [INFO] [stdout] c18097b381a5c950a2c071006b0628fcd7b6f20cb237141766a8194da3ef54fa