[INFO] fetching crate edjx 0.2.0...
[INFO] testing edjx-0.2.0 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate edjx 0.2.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate edjx 0.2.0 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate edjx 0.2.0
[INFO] finished tweaking crates.io crate edjx 0.2.0
[INFO] tweaked toml for crates.io crate edjx 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 858b83f62c8ed95a486f682b101afb6225f6dc0f99ebe392aaa3cdf8abe586e3
[INFO] running `Command { std: "docker" "start" "-a" "858b83f62c8ed95a486f682b101afb6225f6dc0f99ebe392aaa3cdf8abe586e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "858b83f62c8ed95a486f682b101afb6225f6dc0f99ebe392aaa3cdf8abe586e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "858b83f62c8ed95a486f682b101afb6225f6dc0f99ebe392aaa3cdf8abe586e3", kill_on_drop: false }`
[INFO] [stdout] 858b83f62c8ed95a486f682b101afb6225f6dc0f99ebe392aaa3cdf8abe586e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99854e6b43bcda075bc1012cf3cb223b022925f2b24885a9850892e839c28650
[INFO] running `Command { std: "docker" "start" "-a" "99854e6b43bcda075bc1012cf3cb223b022925f2b24885a9850892e839c28650", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling rmp v0.8.11
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling rmp-serde v0.15.5
[INFO] [stderr]    Compiling edjx v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.23s
[INFO] running `Command { std: "docker" "inspect" "99854e6b43bcda075bc1012cf3cb223b022925f2b24885a9850892e839c28650", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99854e6b43bcda075bc1012cf3cb223b022925f2b24885a9850892e839c28650", kill_on_drop: false }`
[INFO] [stdout] 99854e6b43bcda075bc1012cf3cb223b022925f2b24885a9850892e839c28650
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ab37ad7b9275d9ab761ba7b12049c9af932a4edaa75cccb4a4a50cd455e7bf4e
[INFO] running `Command { std: "docker" "start" "-a" "ab37ad7b9275d9ab761ba7b12049c9af932a4edaa75cccb4a4a50cd455e7bf4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling edjx v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "ab37ad7b9275d9ab761ba7b12049c9af932a4edaa75cccb4a4a50cd455e7bf4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab37ad7b9275d9ab761ba7b12049c9af932a4edaa75cccb4a4a50cd455e7bf4e", kill_on_drop: false }`
[INFO] [stdout] ab37ad7b9275d9ab761ba7b12049c9af932a4edaa75cccb4a4a50cd455e7bf4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 55bd737d4c837812ce46af19024b7f0218c58080733ba48cfea7d64af65daf52
[INFO] running `Command { std: "docker" "start" "-a" "55bd737d4c837812ce46af19024b7f0218c58080733ba48cfea7d64af65daf52", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/edjx-0bb54a69e0cbabcd)
[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 36 tests
[INFO] [stdout] test src/fetch.rs - fetch::HttpFetch::send_streaming (line 292) - compile ... ok
[INFO] [stdout] test src/logger/macros.rs - logger::macros::debug (line 79) ... FAILED
[INFO] [stdout] test src/logger/macros.rs - logger::macros::error (line 5) ... FAILED
[INFO] [stdout] test src/fetch_response.rs - fetch_response::FetchResponse (line 9) - compile ... ok
[INFO] [stdout] test src/fetch.rs - fetch::HttpFetch::set_header (line 191) - compile ... FAILED
[INFO] [stdout] test src/fetch_response.rs - fetch_response::FetchResponsePending (line 95) - compile ... ok
[INFO] [stdout] test src/fetch.rs - fetch::HttpFetch::send_using_standard_http_lib (line 350) - compile ... FAILED
[INFO] [stdout] test src/kv.rs - kv::put (line 117) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 25) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 52) ... FAILED
[INFO] [stdout] test src/fetch.rs - fetch::HttpFetch::new (line 114) - compile ... FAILED
[INFO] [stdout] test src/logger/macros.rs - logger::macros::info (line 29) ... FAILED
[INFO] [stdout] test src/kv.rs - kv::get (line 65) ... FAILED
[INFO] [stdout] test src/logger/macros.rs - logger::macros::fatal (line 131) ... FAILED
[INFO] [stdout] test src/logger/macros.rs - logger::macros::trace (line 104) ... FAILED
[INFO] [stdout] test src/fetch.rs - fetch::HttpFetch::send (line 227) - compile ... FAILED
[INFO] [stdout] test src/response.rs - response::HttpResponse (line 49) ... FAILED
[INFO] [stdout] test src/fetch.rs - fetch::HttpFetch (line 64) - compile ... FAILED
[INFO] [stdout] test src/request.rs - request::HttpRequest::method (line 133) - compile ... ok
[INFO] [stdout] test src/request.rs - request::HttpRequest::body (line 212) - compile ... FAILED
[INFO] [stdout] test src/response.rs - response::HttpResponse::send (line 217) ... FAILED
[INFO] [stdout] test src/response.rs - response::HttpResponse (line 85) - compile ... FAILED
[INFO] [stdout] test src/request.rs - request::HttpRequest::from_client (line 98) ... FAILED
[INFO] [stdout] test src/request.rs - request::HttpRequest::headers (line 194) - compile ... ok
[INFO] [stdout] test src/logger/macros.rs - logger::macros::warn (line 55) ... FAILED
[INFO] [stdout] test src/request.rs - request::HttpRequest::uri (line 152) - compile ... ok
[INFO] [stdout] test src/response.rs - response::HttpResponse::set_status (line 137) - compile ... ok
[INFO] [stdout] test src/response.rs - response::HttpResponse::set_header (line 186) - compile ... ok
[INFO] [stdout] test src/storage.rs - storage::put_streaming (line 195) - compile ... ok
[INFO] [stdout] test src/storage.rs - storage::set_attributes (line 374) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::get_attributes (line 312) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::get (line 67) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::delete (line 261) ... FAILED
[INFO] [stdout] test src/storage.rs - storage::put (line 118) ... FAILED
[INFO] [stdout] test src/response.rs - response::HttpResponse::send_using_standard_http_lib (line 331) - compile ... FAILED
[INFO] [stdout] test src/response.rs - response::HttpResponse::send_streaming (line 280) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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::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/fetch.rs - fetch::HttpFetch::set_header (line 191) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri`
[INFO] [stdout]  --> src/fetch.rs:194:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | let fetch_uri = Uri::from_str("https://httpbin.org/get").unwrap();
[INFO] [stdout]   |                 ^^^ use of undeclared type `Uri`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use edjx::Uri;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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::send_using_standard_http_lib (line 350) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `query_url` in this scope
[INFO] [stdout]   --> src/fetch.rs:357: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/kv.rs - kv::put (line 117) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/kv.rs:124:2
[INFO] [stdout]    |
[INFO] [stdout] 9  | }
[INFO] [stdout]    |  ^ help: add `;` here
[INFO] [stdout] 10 | } _doctest_main_src_kv_rs_117_0() }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]  --> src/kv.rs:121: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]   |                                                                          ^^^^^^^^ use of undeclared type `Duration`
[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[E0433]: failed to resolve: use of undeclared crate or module `kv`
[INFO] [stdout]  --> src/kv.rs:121: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: 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/lib.rs - (line 25) stdout ----
[INFO] [stdout] error: cannot find macro `error` in this scope
[INFO] [stdout]   --> src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             error!("{}", e.to_string().as_str());
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: 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:31:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |             error!("{}", e.to_string().as_str());
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:33: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:40: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:28:21
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let req = match HttpRequest::from_client() {
[INFO] [stdout]   |                     ^^^^^^^^^^^ use of undeclared type `HttpRequest`
[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:32:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             HttpResponse::new()
[INFO] [stdout]   |             ^^^^^^^^^^^^ use of undeclared type `HttpResponse`
[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/lib.rs - (line 52) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `HttpRequest` in this scope
[INFO] [stdout]  --> src/lib.rs:53: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:53: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:54:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     return HttpResponse::from("Success from EDJX".to_string())
[INFO] [stdout]   |            ^^^^^^^^^^^^ use of undeclared type `HttpResponse`
[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/fetch.rs - fetch::HttpFetch::new (line 114) stdout ----
[INFO] [stdout] error[E0432]: unresolved imports `edjx::Request`, `edjx::HttpError`
[INFO] [stdout]  --> src/fetch.rs:115: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]   = help: consider importing this struct instead:
[INFO] [stdout]           http::Request
[INFO] [stdout]   = help: consider importing this enum instead:
[INFO] [stdout]           edjx::error::HttpError
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri`
[INFO] [stdout]  --> src/fetch.rs:117:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | let fetch_uri = Uri::from_str("https://httpbin.org/get").unwrap();
[INFO] [stdout]   |                 ^^^ use of undeclared type `Uri`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use edjx::Uri;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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/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/kv.rs - kv::get (line 65) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KVError`
[INFO] [stdout]  --> src/kv.rs:71: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:71: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:72: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:72: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:73: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:73: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:75:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |         return HttpResponse::from(e.to_string()).set_status(status);
[INFO] [stdout]    |                ^^^^^^^^^^^^ use of undeclared type `HttpResponse`
[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 crate or module `kv`
[INFO] [stdout]  --> src/kv.rs:68: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: 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/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]    = help: 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]   = help: 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/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/fetch.rs - fetch::HttpFetch::send (line 227) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/fetch.rs:230:16
[INFO] [stdout]     |
[INFO] [stdout] 6   | HttpFetch::get("https://example.com").send();
[INFO] [stdout]     | -------------- ^^^^^^^^^^^^^^^^^^^^^ expected `Uri`, found `&str`
[INFO] [stdout]     | |
[INFO] [stdout]     | arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/fetch.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub fn get(uri: Uri) -> HttpFetch {
[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 E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response.rs - response::HttpResponse (line 49) stdout ----
[INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `;`
[INFO] [stdout]  --> src/response.rs:52:44
[INFO] [stdout]   |
[INFO] [stdout] 5 |  let req = match HttpRequest::from_client();
[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/fetch.rs - fetch::HttpFetch (line 64) stdout ----
[INFO] [stdout] error[E0432]: unresolved imports `edjx::Request`, `edjx::HttpError`
[INFO] [stdout]  --> src/fetch.rs:65: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]   = help: consider importing this struct instead:
[INFO] [stdout]           http::Request
[INFO] [stdout]   = help: consider importing this enum instead:
[INFO] [stdout]           edjx::error::HttpError
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/fetch.rs:67:16
[INFO] [stdout]     |
[INFO] [stdout] 6   | HttpFetch::get("https://example.com")
[INFO] [stdout]     | -------------- ^^^^^^^^^^^^^^^^^^^^^ expected `Uri`, found `&str`
[INFO] [stdout]     | |
[INFO] [stdout]     | arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/fetch.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub fn get(uri: Uri) -> HttpFetch {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this method are incorrect
[INFO] [stdout]    --> src/fetch.rs:68:6
[INFO] [stdout]     |
[INFO] [stdout] 7   |     .set_header("my-header", "hello!")
[INFO] [stdout]     |      ^^^^^^^^^^ -----------  -------- expected `HeaderValue`, found `&str`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 expected `HeaderName`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/fetch.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 |     pub fn set_header(mut self, header_name: HeaderName, value: HeaderValue) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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] ---- src/request.rs - request::HttpRequest::body (line 212) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/request.rs:226: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:221: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/response.rs - response::HttpResponse::send (line 217) stdout ----
[INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found keyword `let`
[INFO] [stdout]  --> src/response.rs:222:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   let req = match HttpRequest::from_client()
[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/response.rs - response::HttpResponse (line 85) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]  --> src/response.rs:89: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/request.rs - request::HttpRequest::from_client (line 98) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `serverless_function` in the crate root
[INFO] [stdout]  --> src/request.rs:102: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:101:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |   let req = HttpRequest::from_client();
[INFO] [stdout]   |             ^^^^^^^^^^^ use of undeclared type `HttpRequest`
[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/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/storage.rs - storage::set_attributes (line 374) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> src/storage.rs:378:23
[INFO] [stdout]   |
[INFO] [stdout] 6 |   let mut properties: HashMap<String, String> = 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:378:49
[INFO] [stdout]   |
[INFO] [stdout] 6 |   let mut properties: HashMap<String, String> = HashMap::new();
[INFO] [stdout]   |                                                 ^^^^^^^ use of undeclared type `HashMap`
[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:382:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |   let new_attributes = FileAttributes::new(Some(properties), None);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^ use of undeclared type `FileAttributes`
[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:384: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:387:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |        return HttpResponse::from(e.to_string().as_str().to_owned())
[INFO] [stdout]    |               ^^^^^^^^^^^^ use of undeclared type `HttpResponse`
[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 crate or module `storage`
[INFO] [stdout]   --> src/storage.rs:384: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: 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/storage.rs - storage::get_attributes (line 312) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `FileAttributes` in this scope
[INFO] [stdout]  --> src/storage.rs:316: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:319:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |        return HttpResponse::from(e.to_string().as_str().to_owned())
[INFO] [stdout]   |               ^^^^^^^^^^^^ use of undeclared type `HttpResponse`
[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 crate or module `storage`
[INFO] [stdout]  --> src/storage.rs:316: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: 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/storage.rs - storage::get (line 67) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> src/storage.rs:68: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:69: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[E0412]: cannot find type `StorageResponse` in this scope
[INFO] [stdout]  --> src/storage.rs:71: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:74:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |         return HttpResponse::from(e.to_string().as_str().to_owned())
[INFO] [stdout]   |                ^^^^^^^^^^^^ use of undeclared type `HttpResponse`
[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 crate or module `storage`
[INFO] [stdout]  --> src/storage.rs:71: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: 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::delete (line 261) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `StorageResponse` in this scope
[INFO] [stdout]  --> src/storage.rs:265: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:268:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |         return HttpResponse::from(e.to_string().as_str().to_owned())
[INFO] [stdout]   |                ^^^^^^^^^^^^ use of undeclared type `HttpResponse`
[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 crate or module `storage`
[INFO] [stdout]  --> src/storage.rs:265: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: 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/storage.rs - storage::put (line 118) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `StorageResponse` in this scope
[INFO] [stdout]  --> src/storage.rs:125: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:128:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |         return HttpResponse::from(e.to_string().as_str().to_owned())
[INFO] [stdout]    |                ^^^^^^^^^^^^ use of undeclared type `HttpResponse`
[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 crate or module `storage`
[INFO] [stdout]  --> src/storage.rs:125: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: 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::send_using_standard_http_lib (line 331) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/response.rs:337:44
[INFO] [stdout]     |
[INFO] [stdout] 9   | HttpResponse::send_using_standard_http_lib(response.body(()));
[INFO] [stdout]     | ------------------------------------------ ^^^^^^^^^^^^^^^^^ expected `Response<Option<Bytes>>`, found `Result<Response<()>, Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Response<Option<bytes::bytes::Bytes>>`
[INFO] [stdout]                  found enum `Result<Response<()>, http::Error>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/response.rs:340:12
[INFO] [stdout]     |
[INFO] [stdout] 340 |     pub fn send_using_standard_http_lib(res: Response<Option<Bytes>>) -> Result<(), HttpError> {
[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 E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response.rs - response::HttpResponse::send_streaming (line 280) stdout ----
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcYGG4yZ/symbols.o" "/tmp/rustdoctestOM6igF/rust_out.rust_out.c38b68ff-cgu.0.rcgu.o" "/tmp/rustdoctestOM6igF/rust_out.38a7fyhsvjn6z0qy.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libedjx.rlib" "/opt/rustwide/target/debug/deps/libserde_json-069295d7f7baac99.rlib" "/opt/rustwide/target/debug/deps/libryu-b5fa14faef1dcf3b.rlib" "/opt/rustwide/target/debug/deps/liburl-963a74efa57a185c.rlib" "/opt/rustwide/target/debug/deps/libidna-03b9880e1a6c6c5a.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-b37b8c0875a4acb3.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-7b8097d45487fe96.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-ece230c108b3ca46.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-ea0067a9d9ceb7ae.rlib" "/opt/rustwide/target/debug/deps/libform_urlencoded-c6dce5f233f9dc81.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-4a77b5e8a25d80c2.rlib" "/opt/rustwide/target/debug/deps/libserde-4ebf4bc08cb94a03.rlib" "/opt/rustwide/target/debug/deps/libthiserror-c24583f5136b57ee.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-20b15c62e5e0e397.rlib" "/opt/rustwide/target/debug/deps/libhttp-df05c4d3a64fcb1b.rlib" "/opt/rustwide/target/debug/deps/libitoa-ef51536650fd4ae2.rlib" "/opt/rustwide/target/debug/deps/libbytes-ae855e71327d1b48.rlib" "/opt/rustwide/target/debug/deps/libfnv-bb690c336855f248.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0e29cc23c5e02021.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d903621768a861d9.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-6d0225e655f31c13.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-9dbaf4eac7eaa079.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-27f05b3d42a66dd0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-4d73f1030321c9a2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2846c9e58abd0acb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a53d0f50415947be.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d48e4b6abc25b9dc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-2991859439ef1207.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-8a687517e4221bae.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-e07b554f6a67f5b3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b68238b7c3c619dd.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-d5e213e896c017e4.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0211a3b2e61d8689.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b371f055239ba51f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-e60518d2760eb01e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1ad943f92a4b1081.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f0d6e4d0fc1e80b4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestOM6igF/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /tmp/rustdoctestOM6igF/rust_out.rust_out.c38b68ff-cgu.0.rcgu.o: in function `edjx::stream::BaseStream::close':
[INFO] [stdout]           rust_out.c38b68ff-cgu.0:(.text._ZN4edjx6stream10BaseStream5close17h8f0a09ccff265fc0E+0x18): undefined reference to `host_close_stream'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libedjx.rlib(edjx.edjx.86c6625d-cgu.11.rcgu.o): in function `edjx::response::HttpResponse::send_streaming':
[INFO] [stdout]           /opt/rustwide/workdir/src/response.rs:302: undefined reference to `host_response_send_streaming'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libedjx.rlib(edjx.edjx.86c6625d-cgu.4.rcgu.o): in function `edjx::stream::WriteStream::call_host_write_chunk':
[INFO] [stdout]           /opt/rustwide/workdir/src/stream.rs:71: undefined reference to `host_write_chunk'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/fetch.rs - fetch::HttpFetch (line 64)
[INFO] [stdout]     src/fetch.rs - fetch::HttpFetch::new (line 114)
[INFO] [stdout]     src/fetch.rs - fetch::HttpFetch::send (line 227)
[INFO] [stdout]     src/fetch.rs - fetch::HttpFetch::send_using_standard_http_lib (line 350)
[INFO] [stdout]     src/fetch.rs - fetch::HttpFetch::set_header (line 191)
[INFO] [stdout]     src/kv.rs - kv::get (line 65)
[INFO] [stdout]     src/kv.rs - kv::put (line 117)
[INFO] [stdout]     src/lib.rs - (line 25)
[INFO] [stdout]     src/lib.rs - (line 52)
[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 212)
[INFO] [stdout]     src/request.rs - request::HttpRequest::from_client (line 98)
[INFO] [stdout]     src/response.rs - response::HttpResponse (line 49)
[INFO] [stdout]     src/response.rs - response::HttpResponse (line 85)
[INFO] [stdout]     src/response.rs - response::HttpResponse::send (line 217)
[INFO] [stdout]     src/response.rs - response::HttpResponse::send_streaming (line 280)
[INFO] [stdout]     src/response.rs - response::HttpResponse::send_using_standard_http_lib (line 331)
[INFO] [stdout]     src/storage.rs - storage::delete (line 261)
[INFO] [stdout]     src/storage.rs - storage::get (line 67)
[INFO] [stdout]     src/storage.rs - storage::get_attributes (line 312)
[INFO] [stdout]     src/storage.rs - storage::put (line 118)
[INFO] [stdout]     src/storage.rs - storage::set_attributes (line 374)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 9 passed; 27 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "55bd737d4c837812ce46af19024b7f0218c58080733ba48cfea7d64af65daf52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55bd737d4c837812ce46af19024b7f0218c58080733ba48cfea7d64af65daf52", kill_on_drop: false }`
[INFO] [stdout] 55bd737d4c837812ce46af19024b7f0218c58080733ba48cfea7d64af65daf52
