[INFO] fetching crate fastedge 0.3.4...
[INFO] testing fastedge-0.3.4 against 1.94.0 for beta-1.95-1
[INFO] extracting crate fastedge 0.3.4 into /workspace/builds/worker-2-tc1/source
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate fastedge 0.3.4
[INFO] finished tweaking crates.io crate fastedge 0.3.4
[INFO] tweaked toml for crates.io crate fastedge 0.3.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate fastedge 0.3.4 on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate fastedge 0.3.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded id-arena v2.2.1
[INFO] [stderr]   Downloaded wit-bindgen-rust-macro v0.46.0
[INFO] [stderr]   Downloaded fastedge-derive v0.3.4
[INFO] [stderr]   Downloaded wasm-encoder v0.239.0
[INFO] [stderr]   Downloaded wit-bindgen-core v0.46.0
[INFO] [stderr]   Downloaded wasm-metadata v0.239.0
[INFO] [stderr]   Downloaded prettyplease v0.2.31
[INFO] [stderr]   Downloaded indexmap v2.8.0
[INFO] [stderr]   Downloaded wit-bindgen-rust v0.46.0
[INFO] [stderr]   Downloaded wit-parser v0.239.0
[INFO] [stderr]   Downloaded wasmparser v0.239.0
[INFO] [stderr]   Downloaded wit-component v0.239.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc6ca0c1a44b102acf5cd29391998abd106209b76ddc41c3066a93f351504a40
[INFO] running `Command { std: "docker" "start" "-a" "bc6ca0c1a44b102acf5cd29391998abd106209b76ddc41c3066a93f351504a40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc6ca0c1a44b102acf5cd29391998abd106209b76ddc41c3066a93f351504a40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc6ca0c1a44b102acf5cd29391998abd106209b76ddc41c3066a93f351504a40", kill_on_drop: false }`
[INFO] [stdout] bc6ca0c1a44b102acf5cd29391998abd106209b76ddc41c3066a93f351504a40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee83f71379fe5b63b9ea2452effdff3752362ab61eb4d36257cb55570263c529
[INFO] running `Command { std: "docker" "start" "-a" "ee83f71379fe5b63b9ea2452effdff3752362ab61eb4d36257cb55570263c529", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling wasmparser v0.239.0
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling wasm-encoder v0.239.0
[INFO] [stderr]    Compiling prettyplease v0.2.31
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling leb128fmt v0.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling wit-bindgen-rust v0.46.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling wit-bindgen-rust-macro v0.46.0
[INFO] [stderr]    Compiling wit-bindgen v0.46.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling fastedge-derive v0.3.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling wit-parser v0.239.0
[INFO] [stderr]    Compiling wasm-metadata v0.239.0
[INFO] [stderr]    Compiling wit-bindgen-core v0.46.0
[INFO] [stderr]    Compiling wit-component v0.239.0
[INFO] [stderr]    Compiling fastedge v0.3.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.74s
[INFO] running `Command { std: "docker" "inspect" "ee83f71379fe5b63b9ea2452effdff3752362ab61eb4d36257cb55570263c529", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee83f71379fe5b63b9ea2452effdff3752362ab61eb4d36257cb55570263c529", kill_on_drop: false }`
[INFO] [stdout] ee83f71379fe5b63b9ea2452effdff3752362ab61eb4d36257cb55570263c529
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 145e4ae8a8fb6b0282752662eee4e934c716dcb3435770f0abf4c273fed961c9
[INFO] running `Command { std: "docker" "start" "-a" "145e4ae8a8fb6b0282752662eee4e934c716dcb3435770f0abf4c273fed961c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling fastedge v0.3.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s
[INFO] running `Command { std: "docker" "inspect" "145e4ae8a8fb6b0282752662eee4e934c716dcb3435770f0abf4c273fed961c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "145e4ae8a8fb6b0282752662eee4e934c716dcb3435770f0abf4c273fed961c9", kill_on_drop: false }`
[INFO] [stdout] 145e4ae8a8fb6b0282752662eee4e934c716dcb3435770f0abf4c273fed961c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fe01d43b4b7be18b2bc0e22705e43650c36fac0beec00892d71ac386de4cdaae
[INFO] running `Command { std: "docker" "start" "-a" "fe01d43b4b7be18b2bc0e22705e43650c36fac0beec00892d71ac386de4cdaae", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastedge-628f960fca7fc869)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test helper::tests::test_serialize_list ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests fastedge
[INFO] [stdout] 
[INFO] [stdout] running 27 tests
[INFO] [stdout] test src/lib.rs - (line 46) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 76) - compile ... FAILED
[INFO] [stdout] test src/http_client.rs - http_client::send_request (line 38) - compile ... ok
[INFO] [stdout] test src/http_client.rs - http_client::send_request (line 59) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 131) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - dictionary (line 198) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - __export_reactor_impl (line 189) ... ok
[INFO] [stdout] test src/lib.rs - body::Body (line 437) ... ok
[INFO] [stdout] test src/lib.rs - key_value (line 274) - compile ... ok
[INFO] [stdout] test src/lib.rs - key_value (line 290) - compile ... ok
[INFO] [stdout] test src/lib.rs - key_value (line 305) - compile ... ok
[INFO] [stdout] test src/lib.rs - Error (line 363) ... ok
[INFO] [stdout] test src/lib.rs - utils (line 344) - compile ... ok
[INFO] [stdout] test src/proxywasm/dictionary.rs - proxywasm::dictionary (line 8) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 103) - compile ... FAILED
[INFO] [stdout] test src/proxywasm/dictionary.rs - proxywasm::dictionary::get (line 36) - compile ... ok
[INFO] [stdout] test src/lib.rs - body (line 410) ... ok
[INFO] [stdout] test src/lib.rs - body::Body::content_type (line 543) ... ok
[INFO] [stdout] test src/lib.rs - secret (line 227) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - body::Body::empty (line 524) ... ok
[INFO] [stdout] test src/proxywasm/secret.rs - proxywasm::secret::get_effective_at (line 101) - compile ... ok
[INFO] [stdout] test src/proxywasm/secret.rs - proxywasm::secret (line 14) - compile ... ok
[INFO] [stdout] test src/proxywasm/utils.rs - proxywasm::utils (line 7) - compile ... ok
[INFO] [stdout] test src/lib.rs - key_value (line 320) - compile ... ok
[INFO] [stdout] test src/proxywasm/secret.rs - proxywasm::secret::get (line 53) - compile ... ok
[INFO] [stdout] test src/proxywasm/utils.rs - proxywasm::utils::set_user_diag (line 30) - compile ... ok
[INFO] [stdout] test src/proxywasm/key_value.rs - proxywasm::key_value (line 7) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 46) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]   --> src/lib.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | use anyhow::Result;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[fastedge::http]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `fastedge::http` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 76) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 | use anyhow::Result;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[fastedge::http]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `fastedge::http` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 131) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]    --> src/lib.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | use anyhow::Result;
[INFO] [stdout]     |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:144:47
[INFO] [stdout]     |
[INFO] [stdout] 144 |             let key = String::from_utf8_lossy(&api_key);
[INFO] [stdout]     |                       ----------------------- ^^^^^^^^ expected `&[u8]`, found `&String`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/string.rs:619:11
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | #[fastedge::http]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `fastedge::http` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - dictionary (line 198) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`
[INFO] [stdout]    --> src/lib.rs:203:54
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_198_0() -> core::result::Result<(), impl core::fmt::Debug> {
[INFO] [stdout]     |                                      -------------------------------------------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 203 | if let Some(config) = dictionary::get("api_endpoint")? {
[INFO] [stdout]     |                                                      ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 203 | if let Some(config) = dictionary::get("api_endpoint")? {
[INFO] [stdout]     |        ^^^^^^^^^^^^   -------------------------------- this expression has type `String`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected `String`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `String`
[INFO] [stdout]                  found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 103) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]    --> src/lib.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | use anyhow::Result;
[INFO] [stdout]     |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | #[fastedge::http]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `fastedge::http` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - secret (line 227) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:234:43
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let pwd = String::from_utf8_lossy(&password);
[INFO] [stdout]     |                   ----------------------- ^^^^^^^^^ expected `&[u8]`, found `&String`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/string.rs:619:11
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 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/proxywasm/key_value.rs - proxywasm::key_value (line 7) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `proxy_wasm`
[INFO] [stdout]   --> src/proxywasm/key_value.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use proxy_wasm::traits::*;
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `proxy_wasm`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `proxy_wasm`, use `cargo add proxy_wasm` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `proxy_wasm`
[INFO] [stdout]   --> src/proxywasm/key_value.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use proxy_wasm::types::*;
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `proxy_wasm`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `proxy_wasm`, use `cargo add proxy_wasm` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `proxy_wasm::traits::*`, `proxy_wasm::types::*`
[INFO] [stdout]   --> src/proxywasm/key_value.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use proxy_wasm::traits::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 | use proxy_wasm::types::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `proxy_wasm`
[INFO] [stdout]   --> src/proxywasm/key_value.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | proxy_wasm::main! {{
[INFO] [stdout]    | ^^^^^^^^^^ use of unresolved module or unlinked crate `proxy_wasm`
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Context` in this scope
[INFO] [stdout]   --> src/proxywasm/key_value.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Context for HttpBodyRoot {}
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `RootContext` in this scope
[INFO] [stdout]   --> src/proxywasm/key_value.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl RootContext for HttpBodyRoot {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ContextType` in this scope
[INFO] [stdout]   --> src/proxywasm/key_value.rs:23:34
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn get_type(&self) -> Option<ContextType> {
[INFO] [stdout]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<ContextType> RootContext for HttpBodyRoot {
[INFO] [stdout]    |     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HttpContext` in this scope
[INFO] [stdout]   --> src/proxywasm/key_value.rs:27:61
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn create_http_context(&self, _: u32) -> Option<Box<dyn HttpContext>> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Context` in this scope
[INFO] [stdout]   --> src/proxywasm/key_value.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl Context for HttpBody {}
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HttpContext` in this scope
[INFO] [stdout]   --> src/proxywasm/key_value.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl HttpContext for HttpBody {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Action` in this scope
[INFO] [stdout]   --> src/proxywasm/key_value.rs:37:66
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_http_response_headers(&mut self, _: usize, _: bool) -> Action {
[INFO] [stdout]    |                                                                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/option.rs:600:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named enum `Option` defined here
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 37 -     fn on_http_response_headers(&mut self, _: usize, _: bool) -> Action {
[INFO] [stdout] 37 +     fn on_http_response_headers(&mut self, _: usize, _: bool) -> Option {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextType`
[INFO] [stdout]   --> src/proxywasm/key_value.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Some(ContextType::HttpContext)
[INFO] [stdout]    |              ^^^^^^^^^^^ use of undeclared type `ContextType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]   --> src/proxywasm/key_value.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |             return Action::Pause;
[INFO] [stdout]    |                    ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 40 -             return Action::Pause;
[INFO] [stdout] 40 +             return Option::Pause;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]   --> src/proxywasm/key_value.rs:44:20
[INFO] [stdout]    |
[INFO] [stdout] 44 |             return Action::Pause;
[INFO] [stdout]    |                    ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 44 -             return Action::Pause;
[INFO] [stdout] 44 +             return Option::Pause;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]   --> src/proxywasm/key_value.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Action::Continue
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 47 -         Action::Continue
[INFO] [stdout] 47 +         Option::Continue
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 103)
[INFO] [stdout]     src/lib.rs - (line 131)
[INFO] [stdout]     src/lib.rs - (line 46)
[INFO] [stdout]     src/lib.rs - (line 76)
[INFO] [stdout]     src/lib.rs - dictionary (line 198)
[INFO] [stdout]     src/lib.rs - secret (line 227)
[INFO] [stdout]     src/proxywasm/key_value.rs - proxywasm::key_value (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 20 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.62s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fe01d43b4b7be18b2bc0e22705e43650c36fac0beec00892d71ac386de4cdaae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe01d43b4b7be18b2bc0e22705e43650c36fac0beec00892d71ac386de4cdaae", kill_on_drop: false }`
[INFO] [stdout] fe01d43b4b7be18b2bc0e22705e43650c36fac0beec00892d71ac386de4cdaae
