[INFO] fetching crate edjx 0.1.1... [INFO] testing edjx-0.1.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate edjx 0.1.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate edjx 0.1.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate edjx 0.1.1 [INFO] finished tweaking crates.io crate edjx 0.1.1 [INFO] tweaked toml for crates.io crate edjx 0.1.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rmp-serde v0.15.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14e6c9fd5f3151f831de020261e49f2726498fd283a54dda0440f565c00e5256 [INFO] running `Command { std: "docker" "start" "-a" "14e6c9fd5f3151f831de020261e49f2726498fd283a54dda0440f565c00e5256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14e6c9fd5f3151f831de020261e49f2726498fd283a54dda0440f565c00e5256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e6c9fd5f3151f831de020261e49f2726498fd283a54dda0440f565c00e5256", kill_on_drop: false }` [INFO] [stdout] 14e6c9fd5f3151f831de020261e49f2726498fd283a54dda0440f565c00e5256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bb2940092128e6555619b2f96aee2cad2b4fcd4c44ffcfcee262c9647c0d4f2 [INFO] running `Command { std: "docker" "start" "-a" "4bb2940092128e6555619b2f96aee2cad2b4fcd4c44ffcfcee262c9647c0d4f2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling edjx v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.55s [INFO] running `Command { std: "docker" "inspect" "4bb2940092128e6555619b2f96aee2cad2b4fcd4c44ffcfcee262c9647c0d4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bb2940092128e6555619b2f96aee2cad2b4fcd4c44ffcfcee262c9647c0d4f2", kill_on_drop: false }` [INFO] [stdout] 4bb2940092128e6555619b2f96aee2cad2b4fcd4c44ffcfcee262c9647c0d4f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 277ada8098d2a010475ae5bdfae2396919a0411efa43cb678469c1e963833110 [INFO] running `Command { std: "docker" "start" "-a" "277ada8098d2a010475ae5bdfae2396919a0411efa43cb678469c1e963833110", kill_on_drop: false }` [INFO] [stderr] Compiling edjx v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "277ada8098d2a010475ae5bdfae2396919a0411efa43cb678469c1e963833110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277ada8098d2a010475ae5bdfae2396919a0411efa43cb678469c1e963833110", kill_on_drop: false }` [INFO] [stdout] 277ada8098d2a010475ae5bdfae2396919a0411efa43cb678469c1e963833110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e235dfec49d4e94d1034e09d4dc487609d516d28cce13242bf7350db50ecb396 [INFO] running `Command { std: "docker" "start" "-a" "e235dfec49d4e94d1034e09d4dc487609d516d28cce13242bf7350db50ecb396", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/edjx-d2753ded80e7f433) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests edjx [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test src/response.rs - response::HttpResponse (line 36) ... FAILED [INFO] [stdout] test src/response.rs - response::HttpResponse::send (line 203) ... FAILED [INFO] [stdout] test src/logger/macros.rs - logger::macros::debug (line 79) ... FAILED [INFO] [stdout] test src/logger/macros.rs - logger::macros::info (line 29) ... FAILED [INFO] [stdout] test src/fetch.rs - fetch::HttpFetch::send_using_standard_http_lib (line 273) - compile ... FAILED [INFO] [stdout] test src/logger/macros.rs - logger::macros::trace (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/logger/macros.rs - logger::macros::error (line 5) ... FAILED [INFO] [stdout] test src/storage.rs - storage::put (line 107) ... FAILED [INFO] [stdout] test src/response.rs - response::HttpResponse (line 71) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/kv.rs - kv::get (line 54) ... FAILED [INFO] [stdout] test src/storage.rs - storage::get_attributes (line 230) ... FAILED [INFO] [stdout] test src/response.rs - response::HttpResponse::set_header (line 172) - compile ... ok [INFO] [stdout] test src/logger/macros.rs - logger::macros::fatal (line 131) ... FAILED [INFO] [stdout] test src/request.rs - request::HttpRequest::method (line 140) - compile ... ok [INFO] [stdout] test src/storage.rs - storage::get (line 56) ... FAILED [INFO] [stdout] test src/storage.rs - storage::set_attributes (line 286) ... FAILED [INFO] [stdout] test src/request.rs - request::HttpRequest::uri (line 159) - compile ... ok [INFO] [stdout] test src/kv.rs - kv::put (line 106) ... FAILED [INFO] [stdout] test src/fetch.rs - fetch::HttpFetch::send (line 213) - compile ... FAILED [INFO] [stdout] test src/storage.rs - storage::delete (line 179) ... FAILED [INFO] [stdout] test src/request.rs - request::HttpRequest::from_client (line 101) ... FAILED [INFO] [stdout] test src/request.rs - request::HttpRequest::body (line 224) - compile ... FAILED [INFO] [stdout] test src/fetch.rs - fetch::HttpFetch::set_header (line 177) - compile ... FAILED [INFO] [stdout] test src/fetch.rs - fetch::HttpFetch::new (line 100) - compile ... FAILED [INFO] [stdout] test src/fetch_response.rs - fetch_response::FetchResponse (line 20) - compile ... FAILED [INFO] [stdout] test src/response.rs - response::HttpResponse::set_status (line 123) - compile ... ok [INFO] [stdout] test src/request.rs - request::HttpRequest::headers (line 201) - compile ... ok [INFO] [stdout] test src/logger/macros.rs - logger::macros::warn (line 55) ... FAILED [INFO] [stdout] test src/response.rs - response::HttpResponse::send_using_standard_http_lib (line 266) - compile ... FAILED [INFO] [stdout] test src/fetch.rs - fetch::HttpFetch (line 50) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/response.rs - response::HttpResponse (line 36) stdout ---- [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `;` [INFO] [stdout] --> src/response.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 5 | let req = match HttpRequest::from_client(true); [INFO] [stdout] | ----- ^ expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] | | [INFO] [stdout] | while parsing this match expression [INFO] [stdout] | help: try removing this `match` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::HttpResponse::send (line 203) stdout ---- [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found keyword `let` [INFO] [stdout] --> src/response.rs:208:3 [INFO] [stdout] | [INFO] [stdout] 5 | let req = match HttpRequest::from_client(true) [INFO] [stdout] | ----- - expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] | | [INFO] [stdout] | while parsing this match expression [INFO] [stdout] 6 | [INFO] [stdout] 7 | let res = crate::serverless_function::serverless(req); [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/logger/macros.rs - logger::macros::debug (line 79) stdout ---- [INFO] [stdout] error: expected type, found `"app_events"` [INFO] [stdout] --> src/logger/macros.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 10 | debug!(target: "app_events", "New position: x: {}, y: {}", pos.x, pos.y); [INFO] [stdout] | - ^^^^^^^^^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/logger/macros.rs - logger::macros::info (line 29) stdout ---- [INFO] [stdout] error: expected type, found `"connection_events"` [INFO] [stdout] --> src/logger/macros.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 10 | info!(target: "connection_events", "Successfull connection, port: {}, speed: {}", [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fetch.rs - fetch::HttpFetch::send_using_standard_http_lib (line 273) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `query_url` in this scope [INFO] [stdout] --> src/fetch.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 10 | .uri(&query_url) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/logger/macros.rs - logger::macros::trace (line 104) stdout ---- [INFO] [stdout] error: expected type, found `"app_events"` [INFO] [stdout] --> src/logger/macros.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 10 | trace!(target: "app_events", "x is {} and y is {}", [INFO] [stdout] | - ^^^^^^^^^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/lib.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 21 | error!("{}", e.to_string().as_str()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] edjx::error [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 8 | error!("{}", e.to_string().as_str()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] edjx::error [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/lib.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 10 | .set_status(StatusCode::BAD_REQUEST) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serverless_function` in the crate root [INFO] [stdout] --> src/lib.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 17 | let res = crate::serverless_function::serverless(req); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `serverless_function` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpRequest` [INFO] [stdout] --> src/lib.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 5 | let req = match HttpRequest::from_client(true) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 9 | HttpResponse::new() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/logger/macros.rs - logger::macros::error (line 5) stdout ---- [INFO] [stdout] error: expected type, found `"app_events"` [INFO] [stdout] --> src/logger/macros.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 10 | error!(target: "app_events", "App Error: {}, Port: {}", err_info, 22); [INFO] [stdout] | - ^^^^^^^^^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::put (line 107) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `storage` [INFO] [stdout] --> src/storage.rs:114:40 [INFO] [stdout] | [INFO] [stdout] 9 | let put_res: StorageResponse = match storage::put(&bucket_id, &file_name, &properties , &buf_data.as_ref()) { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `storage` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StorageResponse` in this scope [INFO] [stdout] --> src/storage.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 9 | let put_res: StorageResponse = match storage::put(&bucket_id, &file_name, &properties , &buf_data.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::StorageResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/storage.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 12 | return HttpResponse::from(e.to_string().as_str().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::HttpResponse (line 71) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/response.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 7 | .set_status(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `HttpRequest` in this scope [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn serverless(req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResponse` in this scope [INFO] [stdout] --> src/lib.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn serverless(req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/lib.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 4 | return HttpResponse::from("Success from EDJX".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/kv.rs - kv::get (line 54) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kv` [INFO] [stdout] --> src/kv.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 5 | let value = match kv::get(&some_key) { [INFO] [stdout] | ^^ use of undeclared crate or module `kv` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KVError` [INFO] [stdout] --> src/kv.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 8 | KVError::Unknown => StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^ use of undeclared type `KVError` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/kv.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 8 | KVError::Unknown => StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KVError` [INFO] [stdout] --> src/kv.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 9 | KVError::UnAuthorized => StatusCode::UNAUTHORIZED, [INFO] [stdout] | ^^^^^^^ use of undeclared type `KVError` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/kv.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 9 | KVError::UnAuthorized => StatusCode::UNAUTHORIZED, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KVError` [INFO] [stdout] --> src/kv.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 10 | KVError::NotFound => StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^ use of undeclared type `KVError` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/kv.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 10 | KVError::NotFound => StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/kv.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 12 | return HttpResponse::from(e.to_string()).set_status(status); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::get_attributes (line 230) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `storage` [INFO] [stdout] --> src/storage.rs:234:46 [INFO] [stdout] | [INFO] [stdout] 6 | let mut attributes: FileAttributes = match storage::get_attributes(&bucket_id, &file_name) { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `storage` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FileAttributes` in this scope [INFO] [stdout] --> src/storage.rs:234:23 [INFO] [stdout] | [INFO] [stdout] 6 | let mut attributes: FileAttributes = match storage::get_attributes(&bucket_id, &file_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::FileAttributes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/storage.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 9 | return HttpResponse::from(e.to_string().as_str().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/logger/macros.rs - logger::macros::fatal (line 131) stdout ---- [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/logger/macros.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 10 | error!(target: "app_events", "App Error: {}, Port: {}", fatal_info, port); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] edjx::error [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/logger/macros.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 9 | error!("Fatal: {} on port {}", fatal_info, port); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] edjx::error [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::get (line 56) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/storage.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 3 | let bucket_id = "af66ad83-e55b-4a71-a7d5-6ec3199e42e9" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | let file_name = "example.txt" [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/storage.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 4 | let file_name = "example.txt" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | [INFO] [stdout] 6 | let mut res_bytes: StorageResponse = match storage::get(&bucket_id, &file_name) { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `storage` [INFO] [stdout] --> src/storage.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 6 | let mut res_bytes: StorageResponse = match storage::get(&bucket_id, &file_name) { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `storage` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StorageResponse` in this scope [INFO] [stdout] --> src/storage.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 6 | let mut res_bytes: StorageResponse = match storage::get(&bucket_id, &file_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::StorageResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/storage.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 9 | return HttpResponse::from(e.to_string().as_str().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::set_attributes (line 286) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `storage` [INFO] [stdout] --> src/storage.rs:296:46 [INFO] [stdout] | [INFO] [stdout] 12 | let mut res_bytes: StorageResponse = match storage::set_attributes(&bucket_id, &file_name, new_attributes) { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `storage` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/storage.rs:290:23 [INFO] [stdout] | [INFO] [stdout] 6 | let mut properties: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/storage.rs:290:49 [INFO] [stdout] | [INFO] [stdout] 6 | let mut properties: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileAttributes` [INFO] [stdout] --> src/storage.rs:294:24 [INFO] [stdout] | [INFO] [stdout] 10 | let new_attributes = FileAttributes::new(Some(properties), None); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::FileAttributes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StorageResponse` in this scope [INFO] [stdout] --> src/storage.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 12 | let mut res_bytes: StorageResponse = match storage::set_attributes(&bucket_id, &file_name, new_attributes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::StorageResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/storage.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 15 | return HttpResponse::from(e.to_string().as_str().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/kv.rs - kv::put (line 106) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/kv.rs:113:2 [INFO] [stdout] | [INFO] [stdout] 9 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 10 | } _doctest_main_src_kv_rs_106_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kv` [INFO] [stdout] --> src/kv.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 6 | let operation_success : bool = match kv::put(&some_key, some_value, Some(Duration::from_secs(1000 * 5 * 60))) { [INFO] [stdout] | ^^ use of undeclared crate or module `kv` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/kv.rs:110:74 [INFO] [stdout] | [INFO] [stdout] 6 | let operation_success : bool = match kv::put(&some_key, some_value, Some(Duration::from_secs(1000 * 5 * 60))) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fetch.rs - fetch::HttpFetch::send (line 213) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fetch.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 6 | HttpFetch::get("https://example.com").send(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `edjx::Uri`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::delete (line 179) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `storage` [INFO] [stdout] --> src/storage.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 6 | let mut res_bytes: StorageResponse = match storage::delete(&bucket_id, &file_name) { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `storage` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StorageResponse` in this scope [INFO] [stdout] --> src/storage.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 6 | let mut res_bytes: StorageResponse = match storage::delete(&bucket_id, &file_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::StorageResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/storage.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 9 | return HttpResponse::from(e.to_string().as_str().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::HttpRequest::from_client (line 101) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `serverless_function` in the crate root [INFO] [stdout] --> src/request.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 6 | crate::serverless_function::serverless(req.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `serverless_function` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpRequest` [INFO] [stdout] --> src/request.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 5 | let req = HttpRequest::from_client(true); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use edjx::HttpRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::HttpRequest::body (line 224) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/request.rs:238:6 [INFO] [stdout] | [INFO] [stdout] 17 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 18 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/request.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 12 | .set_status(StatusCode::BAD_REQUEST) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fetch.rs - fetch::HttpFetch::set_header (line 177) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/fetch.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 6 | let fetch_uri = Uri::from_str("https://httpbin.org/get").unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use edjx::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fetch.rs - fetch::HttpFetch::new (line 100) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `edjx::Request`, `edjx::HttpError` [INFO] [stdout] --> src/fetch.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 4 | use edjx::{HttpFetch, Request, HttpError, Method}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ no `HttpError` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Request` in the root [INFO] [stdout] | help: a similar name exists in the module: `request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/fetch.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 6 | let fetch_uri = Uri::from_str("https://httpbin.org/get").unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use edjx::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fetch_response.rs - fetch_response::FetchResponse (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/fetch_response.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 7 | let fetch_uri = Uri::from_str("https://httpbin.org/get").unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use edjx::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/logger/macros.rs - logger::macros::warn (line 55) stdout ---- [INFO] [stdout] error: expected type, found `"input_events"` [INFO] [stdout] --> src/logger/macros.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 9 | warn!(target: "input_events", "App received warning: {}", warn_description); [INFO] [stdout] | - ^^^^^^^^^^^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::HttpResponse::send_using_standard_http_lib (line 266) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/response.rs:272:44 [INFO] [stdout] | [INFO] [stdout] 9 | HttpResponse::send_using_standard_http_lib(response.body(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `Response`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Response>` [INFO] [stdout] found enum `Result, http::Error>` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fetch.rs - fetch::HttpFetch (line 50) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `edjx::Request`, `edjx::HttpError` [INFO] [stdout] --> src/fetch.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 4 | use edjx::{HttpFetch, Request, HttpError}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ no `HttpError` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Request` in the root [INFO] [stdout] | help: a similar name exists in the module: `request` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fetch.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 6 | HttpFetch::get("https://example.com") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `edjx::Uri`, found `&str` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fetch.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 7 | .set_header("my-header", "hello!") [INFO] [stdout] | ^^^^^^^^^^^ expected struct `HeaderName`, found `&str` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fetch.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 7 | .set_header("my-header", "hello!") [INFO] [stdout] | ^^^^^^^^ expected struct `HeaderValue`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/fetch.rs - fetch::HttpFetch (line 50) [INFO] [stdout] src/fetch.rs - fetch::HttpFetch::new (line 100) [INFO] [stdout] src/fetch.rs - fetch::HttpFetch::send (line 213) [INFO] [stdout] src/fetch.rs - fetch::HttpFetch::send_using_standard_http_lib (line 273) [INFO] [stdout] src/fetch.rs - fetch::HttpFetch::set_header (line 177) [INFO] [stdout] src/fetch_response.rs - fetch_response::FetchResponse (line 20) [INFO] [stdout] src/kv.rs - kv::get (line 54) [INFO] [stdout] src/kv.rs - kv::put (line 106) [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] src/logger/macros.rs - logger::macros::debug (line 79) [INFO] [stdout] src/logger/macros.rs - logger::macros::error (line 5) [INFO] [stdout] src/logger/macros.rs - logger::macros::fatal (line 131) [INFO] [stdout] src/logger/macros.rs - logger::macros::info (line 29) [INFO] [stdout] src/logger/macros.rs - logger::macros::trace (line 104) [INFO] [stdout] src/logger/macros.rs - logger::macros::warn (line 55) [INFO] [stdout] src/request.rs - request::HttpRequest::body (line 224) [INFO] [stdout] src/request.rs - request::HttpRequest::from_client (line 101) [INFO] [stdout] src/response.rs - response::HttpResponse (line 36) [INFO] [stdout] src/response.rs - response::HttpResponse (line 71) [INFO] [stdout] src/response.rs - response::HttpResponse::send (line 203) [INFO] [stdout] src/response.rs - response::HttpResponse::send_using_standard_http_lib (line 266) [INFO] [stdout] src/storage.rs - storage::delete (line 179) [INFO] [stdout] src/storage.rs - storage::get (line 56) [INFO] [stdout] src/storage.rs - storage::get_attributes (line 230) [INFO] [stdout] src/storage.rs - storage::put (line 107) [INFO] [stdout] src/storage.rs - storage::set_attributes (line 286) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 27 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e235dfec49d4e94d1034e09d4dc487609d516d28cce13242bf7350db50ecb396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e235dfec49d4e94d1034e09d4dc487609d516d28cce13242bf7350db50ecb396", kill_on_drop: false }` [INFO] [stdout] e235dfec49d4e94d1034e09d4dc487609d516d28cce13242bf7350db50ecb396