[INFO] fetching crate app-frame 0.3.1... [INFO] testing app-frame-0.3.1 against 1.77.0 for beta-1.78-1 [INFO] extracting crate app-frame 0.3.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate app-frame 0.3.1 on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded priority-queue v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04eebc36c9062bc0649589035b589e1f6ef4eec0e665e869526c8f8f832509e3 [INFO] running `Command { std: "docker" "start" "-a" "04eebc36c9062bc0649589035b589e1f6ef4eec0e665e869526c8f8f832509e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04eebc36c9062bc0649589035b589e1f6ef4eec0e665e869526c8f8f832509e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04eebc36c9062bc0649589035b589e1f6ef4eec0e665e869526c8f8f832509e3", kill_on_drop: false }` [INFO] [stdout] 04eebc36c9062bc0649589035b589e1f6ef4eec0e665e869526c8f8f832509e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5c0cada01e4ebf25e642a9931d697e4c884fb207d114c462971e3fab33d4f9b [INFO] running `Command { std: "docker" "start" "-a" "d5c0cada01e4ebf25e642a9931d697e4c884fb207d114c462971e3fab33d4f9b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling app-frame v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.16s [INFO] running `Command { std: "docker" "inspect" "d5c0cada01e4ebf25e642a9931d697e4c884fb207d114c462971e3fab33d4f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5c0cada01e4ebf25e642a9931d697e4c884fb207d114c462971e3fab33d4f9b", kill_on_drop: false }` [INFO] [stdout] d5c0cada01e4ebf25e642a9931d697e4c884fb207d114c462971e3fab33d4f9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccd9d95f62f054edb0ca14dded6d1d43db75f04789829884f880a55f9b65bf1e [INFO] running `Command { std: "docker" "start" "-a" "ccd9d95f62f054edb0ca14dded6d1d43db75f04789829884f880a55f9b65bf1e", kill_on_drop: false }` [INFO] [stderr] Compiling app-frame v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.45s [INFO] running `Command { std: "docker" "inspect" "ccd9d95f62f054edb0ca14dded6d1d43db75f04789829884f880a55f9b65bf1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd9d95f62f054edb0ca14dded6d1d43db75f04789829884f880a55f9b65bf1e", kill_on_drop: false }` [INFO] [stdout] ccd9d95f62f054edb0ca14dded6d1d43db75f04789829884f880a55f9b65bf1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0259a6c43e29fbdffa858d269ece9852abafd69e47219c8ddeae9c7e1a11f6ab [INFO] running `Command { std: "docker" "start" "-a" "0259a6c43e29fbdffa858d269ece9852abafd69e47219c8ddeae9c7e1a11f6ab", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/app_frame-ed6593632cdba402) [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.01s [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 38) ... FAILED [INFO] [stdout] test src/lib.rs - (line 147) ... FAILED [INFO] [stdout] test src/lib.rs - (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - (line 85) ... 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 239) ... FAILED [INFO] [stdout] test src/lib.rs - (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - (line 98) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 6 | #[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] 7 | async fn main() -> anyhow::Result { [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 147) stdout ---- [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[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] 2 + 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] 6 | impl Job for JobToLoopForever { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use app_frame::service::Job; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobToLoopForever` in this scope [INFO] [stdout] --> src/lib.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 12 | impl SelfConfiguredLoop for JobToLoopForever { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use app_frame::service::SelfConfiguredLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobToLoopForever` in this scope [INFO] [stdout] --> src/lib.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 12 | impl SelfConfiguredLoop for JobToLoopForever { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoopConfig` in this scope [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 2 + 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] 14 | LoopConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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, E0412, E0422. [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] 6 | .run_custom(RunConfig { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + 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] 9 | 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] 4 + 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] 11 | success_status: StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + 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] 12 | 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] 4 + 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_216_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | .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] 5 | 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 85) stdout ---- [INFO] [stdout] error: cannot find macro `inject` in this scope [INFO] [stdout] --> src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 7 | inject!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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 176) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 4 | db_singleton: Arc, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatabaseConnectionPoolSingleton` in this scope [INFO] [stdout] --> src/lib.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 4 | db_singleton: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MyApp { [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] 10 | 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] 2 + 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] 10 | 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: E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 6 | #[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] 13 | impl Initialize for MyApp {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + 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] 15 | impl Serves for MyApp { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + 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] 16 | fn services(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use app_frame::service::Service; [INFO] [stdout] | [INFO] [stdout] 4 + 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 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] 17 | #[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] 18 | async fn main() -> anyhow::Result { [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 122) stdout ---- [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[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] 2 + 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] 5 | impl Service for MyService { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use app_frame::service::Service; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::service::Service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyService` in this scope [INFO] [stdout] --> src/lib.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl Service for MyService { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Never` in this scope [INFO] [stdout] --> src/lib.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 2 + use app_frame::Never; [INFO] [stdout] | [INFO] [stdout] 2 + use futures::never::Never; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:137:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn set_heartbeat(&mut self, heartbeat: Arc) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 17 | fn set_heartbeat(&mut self, heartbeat: Arc) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + 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, E0412. [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[E0412]: cannot find type `MyService` in this scope [INFO] [stdout] --> src/lib.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 8 | impl 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] 10 | T: Provides>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use app_frame::dependency_injection::Provides; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 10 | T: Provides>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 10 | T: Provides>, [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] 15 | heartbeat: Arc::new(()), [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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, E0412, E0433. [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.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0259a6c43e29fbdffa858d269ece9852abafd69e47219c8ddeae9c7e1a11f6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0259a6c43e29fbdffa858d269ece9852abafd69e47219c8ddeae9c7e1a11f6ab", kill_on_drop: false }` [INFO] [stdout] 0259a6c43e29fbdffa858d269ece9852abafd69e47219c8ddeae9c7e1a11f6ab [INFO] testing app-frame-0.3.1 against beta-2024-03-24 for beta-1.78-1 [INFO] extracting crate app-frame 0.3.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate app-frame 0.3.1 on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b0a53a73370e2e20dcfab816797448b098f99f8885d69932b2bcedda939df31 [INFO] running `Command { std: "docker" "start" "-a" "6b0a53a73370e2e20dcfab816797448b098f99f8885d69932b2bcedda939df31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b0a53a73370e2e20dcfab816797448b098f99f8885d69932b2bcedda939df31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b0a53a73370e2e20dcfab816797448b098f99f8885d69932b2bcedda939df31", kill_on_drop: false }` [INFO] [stdout] 6b0a53a73370e2e20dcfab816797448b098f99f8885d69932b2bcedda939df31 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db0e7f23b62a3560fbcc92fa8663d31303287a4c4ba6dd36fadfb17cc271b155 [INFO] running `Command { std: "docker" "start" "-a" "db0e7f23b62a3560fbcc92fa8663d31303287a4c4ba6dd36fadfb17cc271b155", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling app-frame v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `(dyn LoopableJob + 'static): Job` is not satisfied [INFO] [stdout] --> src/service.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | self.job.run_once().await [INFO] [stdout] | ^^^^^^^^ the trait `Job` is not implemented for `(dyn LoopableJob + 'static)` [INFO] [stdout] | [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 188 | impl Job for LoopingJobService where (dyn LoopableJob + 'static): Job { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(dyn LoopableJob + 'static): Job` is not satisfied [INFO] [stdout] --> src/service.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 201 | .run_once() [INFO] [stdout] | ^^^^^^^^ the trait `Job` is not implemented for `(dyn LoopableJob + 'static)` [INFO] [stdout] | [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 195 | impl Service for LoopingJobService where (dyn LoopableJob + 'static): Job { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(dyn LoopableJob + 'static): Job` is not satisfied [INFO] [stdout] --> src/service.rs:203:80 [INFO] [stdout] | [INFO] [stdout] 203 | .log_with_context(|| format!("Unhandled error in {}", self.job.name())); [INFO] [stdout] | ^^^^ the trait `Job` is not implemented for `(dyn LoopableJob + 'static)` [INFO] [stdout] | [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 195 | impl Service for LoopingJobService where (dyn LoopableJob + 'static): Job { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(dyn LoopableJob + 'static): Job` is not satisfied [INFO] [stdout] --> src/service.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | self.job.name() [INFO] [stdout] | ^^^^ the trait `Job` is not implemented for `(dyn LoopableJob + 'static)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Job`: [INFO] [stdout] LoopingJobService [INFO] [stdout] futures::lock::Mutex [INFO] [stdout] Vec> [INFO] [stdout] Vec [INFO] [stdout] (J, T) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Job: Job` is not satisfied [INFO] [stdout] --> src/service.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | item.run_once().await?; [INFO] [stdout] | ^^^^^^^^ the trait `Job` is not implemented for `dyn Job` [INFO] [stdout] | [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 245 | impl Job for Vec> where dyn Job: Job { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `app-frame` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "db0e7f23b62a3560fbcc92fa8663d31303287a4c4ba6dd36fadfb17cc271b155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db0e7f23b62a3560fbcc92fa8663d31303287a4c4ba6dd36fadfb17cc271b155", kill_on_drop: false }` [INFO] [stdout] db0e7f23b62a3560fbcc92fa8663d31303287a4c4ba6dd36fadfb17cc271b155