[INFO] fetching crate nestforge-core 1.9.0... [INFO] testing nestforge-core-1.9.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate nestforge-core 1.9.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate nestforge-core 1.9.0 [INFO] finished tweaking crates.io crate nestforge-core 1.9.0 [INFO] tweaked toml for crates.io crate nestforge-core 1.9.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nestforge-core 1.9.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nestforge-core 1.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nestforge-config v1.9.0 [INFO] [stderr] Downloaded validator_derive v0.16.0 [INFO] [stderr] Downloaded validator_types v0.16.0 [INFO] [stderr] Downloaded validator v0.16.1 [INFO] [stderr] Downloaded unicode-bidi v0.3.18 [INFO] [stderr] Downloaded if_chain v1.0.3 [INFO] [stderr] Downloaded idna v0.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e70849e0faae29a1f543ad14d2a63515f6849601698c59a3ad4a1de141fcbc28 [INFO] running `Command { std: "docker" "start" "-a" "e70849e0faae29a1f543ad14d2a63515f6849601698c59a3ad4a1de141fcbc28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e70849e0faae29a1f543ad14d2a63515f6849601698c59a3ad4a1de141fcbc28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e70849e0faae29a1f543ad14d2a63515f6849601698c59a3ad4a1de141fcbc28", kill_on_drop: false }` [INFO] [stdout] e70849e0faae29a1f543ad14d2a63515f6849601698c59a3ad4a1de141fcbc28 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af999859a0652cc0cd0695b05b0dc62e4667107fe958e348967b984dcc005a38 [INFO] running `Command { std: "docker" "start" "-a" "af999859a0652cc0cd0695b05b0dc62e4667107fe958e348967b984dcc005a38", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling nestforge-config v1.9.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling nestforge-core v1.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ConfigService` [INFO] [stdout] --> src/config.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use nestforge_config::{ConfigModule, ConfigOptions, ConfigService}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "af999859a0652cc0cd0695b05b0dc62e4667107fe958e348967b984dcc005a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af999859a0652cc0cd0695b05b0dc62e4667107fe958e348967b984dcc005a38", kill_on_drop: false }` [INFO] [stdout] af999859a0652cc0cd0695b05b0dc62e4667107fe958e348967b984dcc005a38 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e16fa702b8475f084dba47c12daadecddc6729c7fd91c027456d71ceba0bd5e6 [INFO] running `Command { std: "docker" "start" "-a" "e16fa702b8475f084dba47c12daadecddc6729c7fd91c027456d71ceba0bd5e6", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `ConfigService` [INFO] [stdout] --> src/config.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use nestforge_config::{ConfigModule, ConfigOptions, ConfigService}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nestforge-core v1.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.54s [INFO] running `Command { std: "docker" "inspect" "e16fa702b8475f084dba47c12daadecddc6729c7fd91c027456d71ceba0bd5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16fa702b8475f084dba47c12daadecddc6729c7fd91c027456d71ceba0bd5e6", kill_on_drop: false }` [INFO] [stdout] e16fa702b8475f084dba47c12daadecddc6729c7fd91c027456d71ceba0bd5e6 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e672b609222a1dbe975a4274b7e30768cfe52da1ecd1bb115798679c8373b21 [INFO] running `Command { std: "docker" "start" "-a" "3e672b609222a1dbe975a4274b7e30768cfe52da1ecd1bb115798679c8373b21", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ConfigService` [INFO] [stderr] --> src/config.rs:3:53 [INFO] [stderr] | [INFO] [stderr] 3 | use nestforge_config::{ConfigModule, ConfigOptions, ConfigService}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `nestforge-core` (lib) generated 1 warning (run `cargo fix --lib -p nestforge-core` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nestforge_core-a3267dc98ecef9c3) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test config::tests::test_register_config_loads ... ok [INFO] [stdout] test container::tests::override_value_takes_precedence_over_registered_value ... ok [INFO] [stdout] test container::tests::scoped_container_resolves_request_factory_without_leaking_to_parent ... ok [INFO] [stdout] test container::tests::transient_factory_creates_new_instances_per_resolve ... ok [INFO] [stdout] test injectable::tests::into_injectable_result_accepts_anyhow_results ... ok [INFO] [stdout] test injectable::tests::register_injectable_stores_service_in_container ... ok [INFO] [stdout] test module::tests::collects_module_graph_report_entries ... ok [INFO] [stdout] test module::tests::deduplicates_shared_imported_modules ... ok [INFO] [stdout] test module::tests::dynamic_module_builder_registers_typed_exports ... ok [INFO] [stdout] test module::tests::detects_module_import_cycles ... ok [INFO] [stdout] test module::tests::dynamic_module_builder_supports_async_provider_registration ... ok [INFO] [stdout] test module::tests::dynamic_module_ref_can_capture_runtime_configuration ... ok [INFO] [stdout] test module::tests::initialized_runtime_runs_lifecycle_hooks_in_expected_order ... ok [INFO] [stdout] test module::tests::module_registration_error_includes_module_and_type_context ... ok [INFO] [stdout] test module::tests::registers_imported_modules_before_local_providers ... ok [INFO] [stdout] test pipeline::tests::authentication_guard_rejects_anonymous_requests ... ok [INFO] [stdout] test pipeline::tests::role_guard_accepts_any_matching_role ... ok [INFO] [stdout] test provider::tests::factory_error_includes_type_name ... ok [INFO] [stdout] test provider::tests::registers_factory_provider ... ok [INFO] [stdout] test provider::tests::registers_transient_factory_provider ... ok [INFO] [stdout] test provider::tests::registers_request_factory_provider ... ok [INFO] [stdout] test provider::tests::registers_value_provider ... ok [INFO] [stdout] test injectable::tests::into_injectable_result_accepts_plain_values ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests nestforge_core [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/module.rs - module::ModuleDefinition (line 360) ... FAILED [INFO] [stdout] test src/auth.rs - auth::AuthIdentity::new (line 42) ... FAILED [INFO] [stdout] test src/auth.rs - auth::OptionalAuthUser (line 175) ... FAILED [INFO] [stdout] test src/injectable.rs - injectable::Injectable (line 31) ... FAILED [INFO] [stdout] test src/pipeline.rs - pipeline::ExceptionFilter (line 67) ... FAILED [INFO] [stdout] test src/response.rs - response::ResponseEnvelope (line 62) ... FAILED [INFO] [stdout] test src/auth.rs - auth::AuthUser (line 119) ... FAILED [INFO] [stdout] test src/container.rs - container::Container::register (line 103) ... FAILED [INFO] [stdout] test src/response.rs - response::ResponseSerializer (line 25) ... FAILED [INFO] [stdout] test src/pipeline.rs - pipeline::Interceptor (line 151) ... FAILED [INFO] [stdout] test src/request.rs - request::Pipe (line 23) ... FAILED [INFO] [stdout] test src/request.rs - request::RequestDecorator (line 53) ... FAILED [INFO] [stdout] test src/store.rs - store::InMemoryStore (line 29) ... FAILED [INFO] [stdout] test src/provider.rs - provider::Provider (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/module.rs - module::ModuleDefinition (line 360) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `nestforge` [INFO] [stdout] --> src/module.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | use nestforge::{ModuleDefinition, Container, ModuleRef}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nestforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nestforge`, use `cargo add nestforge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth.rs - auth::AuthIdentity::new (line 42) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `AuthIdentity` in this scope [INFO] [stdout] --> src/auth.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let identity = AuthIdentity::new("user-123"); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AuthIdentity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 42 + use nestforge_core::AuthIdentity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth.rs - auth::OptionalAuthUser (line 175) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `OptionalAuthUser` in this scope [INFO] [stdout] --> src/auth.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | async fn handler(user: OptionalAuthUser) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 175 + use nestforge_core::OptionalAuthUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> src/auth.rs:176:50 [INFO] [stdout] | [INFO] [stdout] 176 | async fn handler(user: OptionalAuthUser) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 175 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/injectable.rs - injectable::Injectable (line 31) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `nestforge` [INFO] [stdout] --> src/injectable.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use nestforge::{Injectable, Container}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nestforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nestforge`, use `cargo add nestforge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pipeline.rs - pipeline::ExceptionFilter (line 67) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `ExceptionFilter` in this scope [INFO] [stdout] --> src/pipeline.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | impl ExceptionFilter for LoggingFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 67 + use nestforge_core::ExceptionFilter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HttpException` in this scope [INFO] [stdout] --> src/pipeline.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn catch(&self, exception: HttpException, ctx: &RequestContext) -> HttpException { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 67 + use nestforge_core::HttpException; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RequestContext` in this scope [INFO] [stdout] --> src/pipeline.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | fn catch(&self, exception: HttpException, ctx: &RequestContext) -> HttpException { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 67 + use nestforge_core::RequestContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HttpException` in this scope [INFO] [stdout] --> src/pipeline.rs:70:72 [INFO] [stdout] | [INFO] [stdout] 70 | fn catch(&self, exception: HttpException, ctx: &RequestContext) -> HttpException { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 67 + use nestforge_core::HttpException; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::ResponseEnvelope (line 62) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `ApiResult` in this scope [INFO] [stdout] --> src/response.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_users() -> ApiResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:557:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 63 - fn get_users() -> ApiResult> { [INFO] [stdout] 63 + fn get_users() -> Result> { [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 62 + use nestforge_core::ApiResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `User` in this scope [INFO] [stdout] --> src/response.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_users() -> ApiResult> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | fn get_users() -> ApiResult> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ResponseEnvelope` in this scope [INFO] [stdout] --> src/response.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(ResponseEnvelope::ok(users)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ResponseEnvelope` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 + use nestforge_core::ResponseEnvelope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `users` in this scope [INFO] [stdout] --> src/response.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(ResponseEnvelope::ok(users)) [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: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth.rs - auth::AuthUser (line 119) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `AuthUser` in this scope [INFO] [stdout] --> src/auth.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | async fn handler(user: AuthUser) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use nestforge_core::AuthUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> src/auth.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | async fn handler(user: AuthUser) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 119 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/container.rs - container::Container::register (line 103) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `container` in this scope [INFO] [stdout] --> src/container.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | container.register(AppConfig::default())?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> src/container.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | container.register(AppConfig::default())?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::ResponseSerializer (line 25) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `ResponseSerializer` in this scope [INFO] [stdout] --> src/response.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl ResponseSerializer for UserResponseSerializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 25 + use nestforge_core::ResponseSerializer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `User` in this scope [INFO] [stdout] --> src/response.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | impl ResponseSerializer for UserResponseSerializer { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | impl ResponseSerializer for UserResponseSerializer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserResponse` in this scope [INFO] [stdout] --> src/response.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | type Output = UserResponse; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `User` in this scope [INFO] [stdout] --> src/response.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn serialize(value: User) -> Self::Output { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UserResponse` in this scope [INFO] [stdout] --> src/response.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | UserResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/pipeline.rs - pipeline::Interceptor (line 151) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Interceptor` in this scope [INFO] [stdout] --> src/pipeline.rs:153:6 [INFO] [stdout] | [INFO] [stdout] 153 | impl Interceptor for LoggingInterceptor { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 151 + use nestforge_core::Interceptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RequestContext` in this scope [INFO] [stdout] --> src/pipeline.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | fn around(&self, ctx: RequestContext, req: Request, next: NextFn) -> NextFuture { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 151 + use nestforge_core::RequestContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Request` in this scope [INFO] [stdout] --> src/pipeline.rs:154:48 [INFO] [stdout] | [INFO] [stdout] 154 | fn around(&self, ctx: RequestContext, req: Request, next: NextFn) -> NextFuture { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 151 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 151 + use axum::extract::Request; [INFO] [stdout] | [INFO] [stdout] 151 + use http::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Body` in this scope [INFO] [stdout] --> src/pipeline.rs:154:56 [INFO] [stdout] | [INFO] [stdout] 154 | fn around(&self, ctx: RequestContext, req: Request, next: NextFn) -> NextFuture { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 151 + use axum::body::Body; [INFO] [stdout] | [INFO] [stdout] 151 + use nestforge_core::Body; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `NextFn` in this scope [INFO] [stdout] --> src/pipeline.rs:154:69 [INFO] [stdout] | [INFO] [stdout] 154 | fn around(&self, ctx: RequestContext, req: Request, next: NextFn) -> NextFuture { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 151 + use nestforge_core::NextFn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `NextFuture` in this scope [INFO] [stdout] --> src/pipeline.rs:154:80 [INFO] [stdout] | [INFO] [stdout] 154 | fn around(&self, ctx: RequestContext, req: Request, next: NextFn) -> NextFuture { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 151 + use nestforge_core::NextFuture; [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] ---- src/request.rs - request::Pipe (line 23) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Pipe` in this scope [INFO] [stdout] --> src/request.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl Pipe for ParseIntPipe { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 23 + use nestforge_core::Pipe; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RequestContext` in this scope [INFO] [stdout] --> src/request.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn transform(value: String, ctx: &RequestContext) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 + use nestforge_core::RequestContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HttpException` in this scope [INFO] [stdout] --> src/request.rs:27:79 [INFO] [stdout] | [INFO] [stdout] 27 | fn transform(value: String, ctx: &RequestContext) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 + use nestforge_core::HttpException; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `HttpException` in this scope [INFO] [stdout] --> src/request.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | value.parse().map_err(|_| HttpException::bad_request("Invalid integer")) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `HttpException` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 + use nestforge_core::HttpException; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/request.rs - request::RequestDecorator (line 53) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `RequestDecorator` in this scope [INFO] [stdout] --> src/request.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | impl RequestDecorator for UserAgent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 53 + use nestforge_core::RequestDecorator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RequestContext` in this scope [INFO] [stdout] --> src/request.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn extract(ctx: &RequestContext, parts: &Parts) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 53 + use nestforge_core::RequestContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Parts` in this scope [INFO] [stdout] --> src/request.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | fn extract(ctx: &RequestContext, parts: &Parts) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 53 + use http::request::Parts; [INFO] [stdout] | [INFO] [stdout] 53 + use http::response::Parts; [INFO] [stdout] | [INFO] [stdout] 53 + use http::uri::Parts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HttpException` in this scope [INFO] [stdout] --> src/request.rs:57:77 [INFO] [stdout] | [INFO] [stdout] 57 | fn extract(ctx: &RequestContext, parts: &Parts) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 53 + use nestforge_core::HttpException; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `HttpException` in this scope [INFO] [stdout] --> src/request.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | .ok_or_else(|| HttpException::bad_request("Missing User-Agent")) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `HttpException` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 53 + use nestforge_core::HttpException; [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/store.rs - store::InMemoryStore (line 29) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/store.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | impl Identifiable for User { ... } [INFO] [stdout] | - ^^^ - item list ends here [INFO] [stdout] | | | [INFO] [stdout] | | non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Identifiable` in this scope [INFO] [stdout] --> src/store.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Identifiable for User { ... } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 29 + use nestforge_core::Identifiable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `InMemoryStore` in this scope [INFO] [stdout] --> src/store.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let store = InMemoryStore::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `InMemoryStore` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use nestforge_core::InMemoryStore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/provider.rs - provider::Provider (line 15) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `ModuleDefinition` in this scope [INFO] [stdout] --> src/provider.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ModuleDefinition for AppModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 15 + use nestforge_core::ModuleDefinition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AppModule` in this scope [INFO] [stdout] --> src/provider.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | impl ModuleDefinition for AppModule { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Container` in this scope [INFO] [stdout] --> src/provider.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | fn register(container: &Container) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nestforge_core::Container; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register_provider` in this scope [INFO] [stdout] --> src/provider.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | register_provider(container, Provider::value(AppConfig::default()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use nestforge_core::register_provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Provider` in this scope [INFO] [stdout] --> src/provider.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | register_provider(container, Provider::value(AppConfig::default()))?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Provider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nestforge_core::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register_provider` in this scope [INFO] [stdout] --> src/provider.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | register_provider(container, Provider::factory(|c| Ok(MyService::new(c))))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use nestforge_core::register_provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Provider` in this scope [INFO] [stdout] --> src/provider.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | register_provider(container, Provider::factory(|c| Ok(MyService::new(c))))?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Provider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nestforge_core::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> src/provider.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | register_provider(container, Provider::value(AppConfig::default()))?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MyService` in this scope [INFO] [stdout] --> src/provider.rs:19:63 [INFO] [stdout] | [INFO] [stdout] 19 | register_provider(container, Provider::factory(|c| Ok(MyService::new(c))))?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MyService` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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] [INFO] [stdout] failures: [INFO] [stdout] src/auth.rs - auth::AuthIdentity::new (line 42) [INFO] [stdout] src/auth.rs - auth::AuthUser (line 119) [INFO] [stdout] src/auth.rs - auth::OptionalAuthUser (line 175) [INFO] [stdout] src/container.rs - container::Container::register (line 103) [INFO] [stdout] src/injectable.rs - injectable::Injectable (line 31) [INFO] [stdout] src/module.rs - module::ModuleDefinition (line 360) [INFO] [stdout] src/pipeline.rs - pipeline::ExceptionFilter (line 67) [INFO] [stdout] src/pipeline.rs - pipeline::Interceptor (line 151) [INFO] [stdout] src/provider.rs - provider::Provider (line 15) [INFO] [stdout] src/request.rs - request::Pipe (line 23) [INFO] [stdout] src/request.rs - request::RequestDecorator (line 53) [INFO] [stdout] src/response.rs - response::ResponseEnvelope (line 62) [INFO] [stdout] src/response.rs - response::ResponseSerializer (line 25) [INFO] [stdout] src/store.rs - store::InMemoryStore (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.05s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3e672b609222a1dbe975a4274b7e30768cfe52da1ecd1bb115798679c8373b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e672b609222a1dbe975a4274b7e30768cfe52da1ecd1bb115798679c8373b21", kill_on_drop: false }` [INFO] [stdout] 3e672b609222a1dbe975a4274b7e30768cfe52da1ecd1bb115798679c8373b21