[INFO] fetching crate catalyzer-core 0.1.3... [INFO] testing catalyzer-core-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate catalyzer-core 0.1.3 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate catalyzer-core 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 106 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.4) [INFO] [stderr] Adding axum-extra v0.9.6 (available: v0.10.1) [INFO] [stderr] Adding simple_logger v4.3.3 (available: v5.0.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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 982966a28a56f0067a9fac1f494e005e02b3945bb0364f817320753b8eb60149 [INFO] running `Command { std: "docker" "start" "-a" "982966a28a56f0067a9fac1f494e005e02b3945bb0364f817320753b8eb60149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "982966a28a56f0067a9fac1f494e005e02b3945bb0364f817320753b8eb60149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982966a28a56f0067a9fac1f494e005e02b3945bb0364f817320753b8eb60149", kill_on_drop: false }` [INFO] [stdout] 982966a28a56f0067a9fac1f494e005e02b3945bb0364f817320753b8eb60149 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a1739658fbecbe190c8bb3c55ee1ec65062b8a69108e275784f42c7f07d0f8a [INFO] running `Command { std: "docker" "start" "-a" "3a1739658fbecbe190c8bb3c55ee1ec65062b8a69108e275784f42c7f07d0f8a", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [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.4 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling simple_logger v4.3.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [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.16 [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 24.41s [INFO] running `Command { std: "docker" "inspect" "3a1739658fbecbe190c8bb3c55ee1ec65062b8a69108e275784f42c7f07d0f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a1739658fbecbe190c8bb3c55ee1ec65062b8a69108e275784f42c7f07d0f8a", kill_on_drop: false }` [INFO] [stdout] 3a1739658fbecbe190c8bb3c55ee1ec65062b8a69108e275784f42c7f07d0f8a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90935ddee68e0150642160a1095d2c3c8db9ba1049c8e1ee4f3ce3fee37484dd [INFO] running `Command { std: "docker" "start" "-a" "90935ddee68e0150642160a1095d2c3c8db9ba1049c8e1ee4f3ce3fee37484dd", 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 0.95s [INFO] running `Command { std: "docker" "inspect" "90935ddee68e0150642160a1095d2c3c8db9ba1049c8e1ee4f3ce3fee37484dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90935ddee68e0150642160a1095d2c3c8db9ba1049c8e1ee4f3ce3fee37484dd", kill_on_drop: false }` [INFO] [stdout] 90935ddee68e0150642160a1095d2c3c8db9ba1049c8e1ee4f3ce3fee37484dd [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ed7f9a7b8886305e11c418d149ab9540988a169e5737a3df0bbc723f1fc4520 [INFO] running `Command { std: "docker" "start" "-a" "8ed7f9a7b8886305e11c418d149ab9540988a169e5737a3df0bbc723f1fc4520", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/catalyzer-54a329065601485d) [INFO] [stdout] [INFO] [stderr] Doc-tests catalyzer [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 7 tests [INFO] [stdout] test internals/runtime.rs - runtime::CatalyzerRuntimeBuilder::setup_tokio (line 132) ... FAILED [INFO] [stdout] test app/mod.rs - app::App::set_state (line 114) ... 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::bind (line 89) ... 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] ---- 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] 7 | CatalyzerRuntime::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CatalyzerRuntime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use catalyzer::internals::CatalyzerRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> internals/runtime.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an 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] 9 | #[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] 4 + 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] 11 | 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] 5 + #[derive(Clone)] [INFO] [stdout] 6 | 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] 12 | .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] 5 + #[derive(Clone)] [INFO] [stdout] 6 | struct AppState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> app/mod.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 10 | 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] ---- 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] 5 | #[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] 4 + 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] 7 | #[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] 13 | .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] 13 | .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] `Layered` implements `AxumHandler` [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] 6 | 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] 8 | fn index() { [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] 9 | "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] 6 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> internals/handlers.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn index() { [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] 8 | "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::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] 5 | #[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] 4 + use tokio::main; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> app/mod.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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] [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 1.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8ed7f9a7b8886305e11c418d149ab9540988a169e5737a3df0bbc723f1fc4520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed7f9a7b8886305e11c418d149ab9540988a169e5737a3df0bbc723f1fc4520", kill_on_drop: false }` [INFO] [stdout] 8ed7f9a7b8886305e11c418d149ab9540988a169e5737a3df0bbc723f1fc4520