[INFO] fetching crate elif-http-derive 0.2.11... [INFO] testing elif-http-derive-0.2.11 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate elif-http-derive 0.2.11 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate elif-http-derive 0.2.11 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate elif-http-derive 0.2.11 [INFO] tweaked toml for crates.io crate elif-http-derive 0.2.11 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elif-http-derive 0.2.11 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate elif-http-derive 0.2.11 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.2.9 [INFO] [stderr] Downloaded trybuild v1.0.110 [INFO] [stderr] Downloaded target-triple v0.1.4 [INFO] [stderr] Downloaded winapi-util v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93d08c1c095cfc3e835f6e54445d700ae7de2f8bc93b41636290ba43d15ca206 [INFO] running `Command { std: "docker" "start" "-a" "93d08c1c095cfc3e835f6e54445d700ae7de2f8bc93b41636290ba43d15ca206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93d08c1c095cfc3e835f6e54445d700ae7de2f8bc93b41636290ba43d15ca206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d08c1c095cfc3e835f6e54445d700ae7de2f8bc93b41636290ba43d15ca206", kill_on_drop: false }` [INFO] [stdout] 93d08c1c095cfc3e835f6e54445d700ae7de2f8bc93b41636290ba43d15ca206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1bbe986b93f71608d2dc4a3fbc72d115ef0e1221643562b84d92b113d9c0954 [INFO] running `Command { std: "docker" "start" "-a" "e1bbe986b93f71608d2dc4a3fbc72d115ef0e1221643562b84d92b113d9c0954", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling elif-http-derive v0.2.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.52s [INFO] running `Command { std: "docker" "inspect" "e1bbe986b93f71608d2dc4a3fbc72d115ef0e1221643562b84d92b113d9c0954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1bbe986b93f71608d2dc4a3fbc72d115ef0e1221643562b84d92b113d9c0954", kill_on_drop: false }` [INFO] [stdout] e1bbe986b93f71608d2dc4a3fbc72d115ef0e1221643562b84d92b113d9c0954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8abcdc543f81c2673ffe53ea3d82be9c234f22835b08f9cdcd4d611d81318988 [INFO] running `Command { std: "docker" "start" "-a" "8abcdc543f81c2673ffe53ea3d82be9c234f22835b08f9cdcd4d611d81318988", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling elif-http-derive v0.2.11 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling trybuild v1.0.110 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use elif_core::container::{IocContainer, ServiceBinder}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | use elif_core::container::{IocContainer, ServiceBinder}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | use elif_core::container::{IocContainer, ServiceBinder}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] --> tests/parameter_types_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use elif_http::controller::{ControllerRoute, ElifController, RouteParam}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_http`, use `cargo add elif_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] --> tests/parameter_types_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use elif_http::routing::{params::ParamType, HttpMethod}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_http`, use `cargo add elif_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `elif_http` [INFO] [stdout] --> tests/parameter_types_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use elif_http::{ElifRequest, ElifResponse, HttpResult}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_http`, use `cargo add elif_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/parameter_types_test.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[controller("/api/typed")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `controller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/test_optional_with_attributes.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use elif_core::container::{IocContainer, ServiceBinder}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "parameter_types_test") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/test_optional_with_attributes.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl elif_core::foundation::traits::FrameworkComponent for MockCacheService {} [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/test_optional_with_attributes.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl elif_core::foundation::traits::Service for MockCacheService {} [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/test_optional_with_attributes.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / #[inject( [INFO] [stdout] 43 | | cache: Option = "redis_cache" [INFO] [stdout] 44 | | )] [INFO] [stdout] | |__^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `inject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/simple_body_test.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | #[post("")] [INFO] [stdout] | ^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/uuid_parameter_test.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[controller("/api/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `controller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/parameter_injection_test.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[controller("/api/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `controller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/return_type_handling_test.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[controller("/api/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `controller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl elif_core::foundation::traits::FrameworkComponent for MockUserService {} [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "test_optional_with_attributes") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl elif_core::foundation::traits::Service for MockUserService {} [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | impl elif_core::foundation::traits::FrameworkComponent for MockEmailService {} [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | impl elif_core::foundation::traits::Service for MockEmailService {} [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "simple_body_test") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | impl elif_core::foundation::traits::FrameworkComponent for MockCacheService {} [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] --> tests/parameter_metadata_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use elif_http::controller::{ControllerRoute, ElifController, RouteParam}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_http`, use `cargo add elif_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] --> tests/parameter_metadata_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use elif_http::routing::{params::ParamType, HttpMethod}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_http`, use `cargo add elif_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | impl elif_core::foundation::traits::Service for MockCacheService {} [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/integration_test.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[controller("/api/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `controller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `__register_module` is defined multiple times [INFO] [stdout] --> tests/module_integration_test.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 139 | / #[module( [INFO] [stdout] 140 | | providers: [MockUserService], [INFO] [stdout] 141 | | exports: [MockUserService] [INFO] [stdout] 142 | | )] [INFO] [stdout] | |__________- previous definition of the value `__register_module` here [INFO] [stdout] ... [INFO] [stdout] 146 | / #[module( [INFO] [stdout] 147 | | imports: [UserModule], [INFO] [stdout] 148 | | providers: [SmtpEmailService], [INFO] [stdout] 149 | | controllers: [PostController], [INFO] [stdout] 150 | | exports: [SmtpEmailService] [INFO] [stdout] 151 | | )] [INFO] [stdout] | |__________^ `__register_module` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `__register_module` must be defined only once in the value namespace of this block [INFO] [stdout] = note: this error originates in the attribute macro `::ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `__register_module___rust_ctor___ctor` is defined multiple times [INFO] [stdout] --> tests/module_integration_test.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 139 | / #[module( [INFO] [stdout] 140 | | providers: [MockUserService], [INFO] [stdout] 141 | | exports: [MockUserService] [INFO] [stdout] 142 | | )] [INFO] [stdout] | |__________- previous definition of the value `__register_module___rust_ctor___ctor` here [INFO] [stdout] ... [INFO] [stdout] 146 | / #[module( [INFO] [stdout] 147 | | imports: [UserModule], [INFO] [stdout] 148 | | providers: [SmtpEmailService], [INFO] [stdout] 149 | | controllers: [PostController], [INFO] [stdout] 150 | | exports: [SmtpEmailService] [INFO] [stdout] 151 | | )] [INFO] [stdout] | |__________^ `__register_module___rust_ctor___ctor` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `__register_module___rust_ctor___ctor` must be defined only once in the value namespace of this block [INFO] [stdout] = note: this error originates in the attribute macro `::ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | #[inject(user_service: MockUserService, email_service: MockEmailService)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `inject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | #[inject(user_service: MockUserService, cache_service: Option)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `inject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / #[module( [INFO] [stdout] 80 | | providers: [MockUserService], [INFO] [stdout] 81 | | controllers: [UserController] [INFO] [stdout] 82 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / #[module( [INFO] [stdout] 93 | | providers: [ [INFO] [stdout] 94 | | MockUserService, [INFO] [stdout] 95 | | SmtpEmailService [INFO] [stdout] 96 | | ], [INFO] [stdout] 97 | | controllers: [UserController, PostController] [INFO] [stdout] 98 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / #[module( [INFO] [stdout] 108 | | providers: [ [INFO] [stdout] 109 | | MockUserService, [INFO] [stdout] 110 | | SmtpEmailService, [INFO] [stdout] ... | [INFO] [stdout] 113 | | controllers: [UserController] [INFO] [stdout] 114 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / #[module( [INFO] [stdout] 124 | | providers: [ [INFO] [stdout] 125 | | MockUserService, [INFO] [stdout] 126 | | SmtpEmailService [INFO] [stdout] 127 | | ], [INFO] [stdout] 128 | | controllers: [UserController, PostController, AuthController] [INFO] [stdout] 129 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / #[module( [INFO] [stdout] 140 | | providers: [MockUserService], [INFO] [stdout] 141 | | exports: [MockUserService] [INFO] [stdout] 142 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | / #[module( [INFO] [stdout] 147 | | imports: [UserModule], [INFO] [stdout] 148 | | providers: [SmtpEmailService], [INFO] [stdout] 149 | | controllers: [PostController], [INFO] [stdout] 150 | | exports: [SmtpEmailService] [INFO] [stdout] 151 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / #[module( [INFO] [stdout] 161 | | providers: [ [INFO] [stdout] 162 | | MockUserService, [INFO] [stdout] 163 | | SmtpEmailService, [INFO] [stdout] ... | [INFO] [stdout] 168 | | exports: [MockUserService, SmtpEmailService] [INFO] [stdout] 169 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / #[module( [INFO] [stdout] 198 | | providers: [], [INFO] [stdout] 199 | | controllers: [], [INFO] [stdout] 200 | | imports: [], [INFO] [stdout] 201 | | exports: [] [INFO] [stdout] 202 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / #[module( [INFO] [stdout] 212 | | providers: [MockUserService], [INFO] [stdout] 213 | | controllers: [UserController] [INFO] [stdout] 214 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | #[module(providers: [MockUserService])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | #[module(controllers: [UserController])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | / #[module( [INFO] [stdout] 248 | | providers: [MockUserService], [INFO] [stdout] 249 | | controllers: [UserController] [INFO] [stdout] 250 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/module_integration_test.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | / #[module( [INFO] [stdout] 270 | | providers: [MockUserService], [INFO] [stdout] 271 | | controllers: [UserController] [INFO] [stdout] 272 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `elif_http` [INFO] [stdout] --> tests/parameter_metadata_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use elif_http::{ElifRequest, ElifResponse, HttpResult}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_http`, use `cargo add elif_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/parameter_metadata_test.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[controller("/api/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `controller` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | #[inject(cache: MockCacheService = "redis_cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `inject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/body_injection_core_test.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | #[post("")] [INFO] [stdout] | ^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/uuid_parameter_test.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[get("/{user_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/uuid_parameter_test.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | #[get("/{user_id}/posts/{post_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | Option<&elif_core::container::ScopeId>, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] --> tests/inject_integration_test.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / #[inject( [INFO] [stdout] 244 | | cache_service: MockCacheService, [INFO] [stdout] 245 | | )] [INFO] [stdout] | |__________^ use of unresolved module or unlinked crate `elif_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_core`, use `cargo add elif_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `inject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "parameter_metadata_test") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/detailed_param_test.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | #[get("/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/debug_macro_test.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[get("/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `From` for type `HttpError` [INFO] [stdout] --> tests/body_injection_core_test.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl From for HttpError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `core`: [INFO] [stdout] - impl From for T; [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "uuid_parameter_test") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/detailed_param_test.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[post("")] [INFO] [stdout] | ^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/detailed_param_test.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | #[put("/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "debug_macro_test") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0119, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "body_injection_core_test") due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `elif_http` [INFO] [stdout] --> tests/comprehensive_body_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use elif_http::{ElifRequest, ElifResponse, HttpResult, HttpError}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `elif_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elif_http`, use `cargo add elif_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/parameter_injection_test.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | #[get("/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/parameter_injection_test.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[get("/{user_id}/posts/{post_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/return_type_handling_test.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[get("/{id}/http-result")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Unsupported parameter 'data' of type 'String'. Only path parameters (specified in route), body parameters (annotated with #[body]), and ElifRequest are supported. Hint: Remove this parameter, add it to the route path like '/users/{data}' and annotate with #[param(data: type)], annotate with #[body(data: Type)], or use #[request] to enable automatic request injection. [INFO] [stdout] --> examples/advanced_routing_demo.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn update_item(id: u32, data: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "inject_integration_test") due to 14 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/return_type_handling_test.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | #[get("/{id}/elif-response")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/comprehensive_body_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[post("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Unsupported parameter 'file_data' of type 'Vec < u8 >'. Only path parameters (specified in route), body parameters (annotated with #[body]), and ElifRequest are supported. Hint: Remove this parameter, add it to the route path like '/users/{file_data}' and annotate with #[param(file_data: type)], annotate with #[body(file_data: Type)], or use #[request] to enable automatic request injection. [INFO] [stdout] --> examples/advanced_routing_demo.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn upload_avatar(id: u32, file_data: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/return_type_handling_test.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[get("/{id}/result")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/comprehensive_body_test.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[post("/users/bulk")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/detailed_param_test.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[post("")] [INFO] [stdout] | ^^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 54 | await.#[post("")] [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "parameter_injection_test") due to 3 previous errors [INFO] [stderr] error: could not compile `elif-http-derive` (test "integration_test") due to 13 previous errors [INFO] [stderr] error: could not compile `elif-http-derive` (test "return_type_handling_test") due to 6 previous errors [INFO] [stderr] error: could not compile `elif-http-derive` (test "detailed_param_test") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/comprehensive_body_test.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[put("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/detailed_param_test.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | #[put("/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 61 | await.#[put("/{id}")] [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/return_type_handling_test.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[get("/{id}/unit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> tests/integration_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[get("/hello")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/comprehensive_body_test.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | #[post("/users/sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> tests/integration_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[get("/hello")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> tests/integration_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[get("/hello")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 12 | impl TestController { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> tests/integration_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("")] // Empty string for root route under controller [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> tests/integration_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("")] // Empty string for root route under controller [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> tests/integration_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("")] // Empty string for root route under controller [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 12 | impl TestController { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> tests/integration_test.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[post("/data")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> tests/integration_test.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[post("/data")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> tests/integration_test.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[post("/data")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 12 | impl TestController { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> tests/integration_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[get("/hello")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> tests/return_type_handling_test.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | #[get("/{id}/string")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> tests/integration_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("")] // Empty string for root route under controller [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> tests/integration_test.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[post("/data")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> examples/advanced_routing_demo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[get("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> examples/advanced_routing_demo.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | #[delete("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `delete` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "comprehensive_body_test") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> examples/advanced_routing_demo.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | #[patch("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `patch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0428, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (test "module_integration_test") due to 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> examples/advanced_routing_demo.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | #[get("/organizations/{org_id}/members/{member_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> examples/advanced_routing_demo.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | #[get("/users/{user_id}/posts/{post_id}/comments/{comment_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `elif_http` in the list of imported crates [INFO] [stdout] --> examples/advanced_routing_demo.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | #[get("/categories/{category}/items/{item_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `elif_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("/health")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("/health")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("/health")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl AppRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[get("/api")] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[get("/api")] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[get("/api")] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl AppRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[post("/items")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[post("/items")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[post("/items")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl AppRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[get("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[get("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[get("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl AppRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | #[delete("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `delete` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | #[delete("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `delete` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | #[delete("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `delete` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl AppRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | #[patch("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `patch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | #[patch("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `patch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | #[patch("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `patch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl AppRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[get("/dashboard")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[get("/dashboard")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[get("/dashboard")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | impl AdminRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[get("/settings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[get("/settings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[get("/settings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | impl AdminRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | #[post("/settings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | #[post("/settings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | #[post("/settings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | impl AdminRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | #[get("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | #[get("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | #[get("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | impl AdminRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | #[post("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | #[post("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | #[post("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | impl AdminRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[get("/profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[get("/profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[get("/profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | impl ApiV1Routes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | #[put("/profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | #[put("/profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | #[put("/profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | impl ApiV1Routes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[post("/logout")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[post("/logout")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[post("/logout")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | impl ApiV1Routes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | #[get("/notifications")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | #[get("/notifications")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | #[get("/notifications")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | impl ApiV1Routes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | #[get("/organizations/{org_id}/members/{member_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | #[get("/organizations/{org_id}/members/{member_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | #[get("/organizations/{org_id}/members/{member_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | impl ApiV1Routes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | #[get("/users/{user_id}/posts/{post_id}/comments/{comment_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | #[get("/users/{user_id}/posts/{post_id}/comments/{comment_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | #[get("/users/{user_id}/posts/{post_id}/comments/{comment_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 165 | impl ComplexRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifRequest` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | #[get("/categories/{category}/items/{item_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResult` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | #[get("/categories/{category}/items/{item_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElifResponse` in this scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | #[get("/categories/{category}/items/{item_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 165 | impl ComplexRoutes { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `health_original` found for reference `&AppRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("/health")] [INFO] [stdout] | ----------------- help: use associated function syntax instead: `AppRoutes::health_original()` [INFO] [stdout] 20 | pub fn health() -> String { [INFO] [stdout] | ^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AppRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn health() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("/health")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `api_root_original` found for reference `&AppRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | #[get("/api")] [INFO] [stdout] | -------------- help: use associated function syntax instead: `AppRoutes::api_root_original()` [INFO] [stdout] 26 | pub fn api_root() -> String { [INFO] [stdout] | ^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AppRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn api_root() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[get("/api")] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_item_original` found for reference `&AppRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[post("/items")] [INFO] [stdout] | ----------------- help: use associated function syntax instead: `AppRoutes::create_item_original()` [INFO] [stdout] 32 | pub fn create_item() -> String { [INFO] [stdout] | ^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AppRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn create_item() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `create_item` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[post("/items")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[post("/items")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_item_original` found for reference `&AppRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | #[get("/items/{id}")] [INFO] [stdout] | --------------------- help: use associated function syntax instead: `AppRoutes::get_item_original(id)` [INFO] [stdout] 38 | pub fn get_item(id: u32) -> String { [INFO] [stdout] | ^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AppRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_item(id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[get("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete_item_original` found for reference `&AppRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn delete_item(id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AppRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn delete_item(id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 49 - #[delete("/items/{id}")] [INFO] [stdout] 49 + AppRoutes::delete_item_original(id) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | #[delete("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `delete` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `patch_item_original` found for reference `&AppRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn patch_item(id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AppRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn patch_item(id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 55 - #[patch("/items/{id}")] [INFO] [stdout] 55 + AppRoutes::patch_item_original(id) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | #[patch("/items/{id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `patch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dashboard_original` found for reference `&AdminRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | #[get("/dashboard")] [INFO] [stdout] | -------------------- help: use associated function syntax instead: `AdminRoutes::dashboard_original()` [INFO] [stdout] 80 | pub fn dashboard() -> String { [INFO] [stdout] | ^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AdminRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn dashboard() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `dashboard` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[get("/dashboard")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | #[get("/dashboard")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `settings_original` found for reference `&AdminRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | #[get("/settings")] [INFO] [stdout] | ------------------- help: use associated function syntax instead: `AdminRoutes::settings_original()` [INFO] [stdout] 86 | pub fn settings() -> String { [INFO] [stdout] | ^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AdminRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn settings() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[get("/settings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_settings_original` found for reference `&AdminRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | #[post("/settings")] [INFO] [stdout] | -------------------- help: use associated function syntax instead: `AdminRoutes::update_settings_original()` [INFO] [stdout] 92 | pub fn update_settings() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AdminRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn update_settings() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `update_settings` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | #[post("/settings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | #[post("/settings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `manage_users_original` found for reference `&AdminRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | #[get("/users")] [INFO] [stdout] | ---------------- help: use associated function syntax instead: `AdminRoutes::manage_users_original()` [INFO] [stdout] 98 | pub fn manage_users() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AdminRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn manage_users() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `manage_users` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | #[get("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | #[get("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_admin_user_original` found for reference `&AdminRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | #[post("/users")] [INFO] [stdout] | ----------------- help: use associated function syntax instead: `AdminRoutes::create_admin_user_original()` [INFO] [stdout] 104 | pub fn create_admin_user() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `AdminRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn create_admin_user() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `create_admin_user` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | #[post("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | #[post("/users")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `profile_original` found for reference `&ApiV1Routes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | #[get("/profile")] [INFO] [stdout] | ------------------ help: use associated function syntax instead: `ApiV1Routes::profile_original()` [INFO] [stdout] 116 | pub fn profile() -> String { [INFO] [stdout] | ^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `ApiV1Routes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn profile() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[get("/profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_profile_original` found for reference `&ApiV1Routes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | #[put("/profile")] [INFO] [stdout] | ------------------ help: use associated function syntax instead: `ApiV1Routes::update_profile_original()` [INFO] [stdout] 122 | pub fn update_profile() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `ApiV1Routes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn update_profile() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `update_profile` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | #[put("/profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | #[put("/profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `logout_original` found for reference `&ApiV1Routes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | #[post("/logout")] [INFO] [stdout] | ------------------ help: use associated function syntax instead: `ApiV1Routes::logout_original()` [INFO] [stdout] 128 | pub fn logout() -> String { [INFO] [stdout] | ^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `ApiV1Routes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn logout() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[post("/logout")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `notifications_original` found for reference `&ApiV1Routes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | #[get("/notifications")] [INFO] [stdout] | ------------------------ help: use associated function syntax instead: `ApiV1Routes::notifications_original()` [INFO] [stdout] 134 | pub fn notifications() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `ApiV1Routes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn notifications() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `notifications` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | #[get("/notifications")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | #[get("/notifications")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_org_member_original` found for reference `&ApiV1Routes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 139 | #[get("/organizations/{org_id}/members/{member_id}")] [INFO] [stdout] | ----------------------------------------------------- help: use associated function syntax instead: `ApiV1Routes::get_org_member_original(org_id, member_id)` [INFO] [stdout] 140 | pub fn get_org_member(org_id: String, member_id: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `ApiV1Routes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_org_member(org_id: String, member_id: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `get_org_member` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | #[get("/organizations/{org_id}/members/{member_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | #[get("/organizations/{org_id}/members/{member_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_comment_original` found for reference `&ComplexRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 167 | #[get("/users/{user_id}/posts/{post_id}/comments/{comment_id}")] [INFO] [stdout] | ---------------------------------------------------------------- help: use associated function syntax instead: `ComplexRoutes::get_comment_original(user_id, post_id, comment_id)` [INFO] [stdout] 168 | pub fn get_comment(user_id: u32, post_id: u64, comment_id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `ComplexRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get_comment(user_id: u32, post_id: u64, comment_id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `get_comment` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | #[get("/users/{user_id}/posts/{post_id}/comments/{comment_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | #[get("/users/{user_id}/posts/{post_id}/comments/{comment_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_categorized_item_original` found for reference `&ComplexRoutes` in the current scope [INFO] [stdout] --> examples/advanced_routing_demo.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | #[get("/categories/{category}/items/{item_id}")] [INFO] [stdout] | ------------------------------------------------ help: use associated function syntax instead: `ComplexRoutes::get_categorized_item_original(category, item_id)` [INFO] [stdout] 177 | pub fn get_categorized_item(category: String, item_id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `ComplexRoutes` [INFO] [stdout] --> examples/advanced_routing_demo.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_categorized_item(category: String, item_id: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `get_categorized_item` with a similar name, but with different arguments [INFO] [stdout] --> examples/advanced_routing_demo.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | #[get("/categories/{category}/items/{item_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElifResponse` [INFO] [stdout] --> examples/advanced_routing_demo.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | #[get("/categories/{category}/items/{item_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElifResponse` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elif-http-derive` (example "advanced_routing_demo") due to 98 previous errors [INFO] running `Command { std: "docker" "inspect" "8abcdc543f81c2673ffe53ea3d82be9c234f22835b08f9cdcd4d611d81318988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abcdc543f81c2673ffe53ea3d82be9c234f22835b08f9cdcd4d611d81318988", kill_on_drop: false }` [INFO] [stdout] 8abcdc543f81c2673ffe53ea3d82be9c234f22835b08f9cdcd4d611d81318988