[INFO] fetching crate fastedge 0.4.0...
[INFO] testing fastedge-0.4.0 against 1.97.0-beta.1 for beta-1.97-1
[INFO] extracting crate fastedge 0.4.0 into /workspace/builds/worker-7-tc2/source
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate fastedge 0.4.0
[INFO] finished tweaking crates.io crate fastedge 0.4.0
[INFO] tweaked toml for crates.io crate fastedge 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate fastedge 0.4.0 on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate fastedge 0.4.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 25f1818cf078142fdeb821c214af0d396819176e71d11cc6cba91e66438e5dc7
[INFO] running `Command { std: "docker" "start" "-a" "25f1818cf078142fdeb821c214af0d396819176e71d11cc6cba91e66438e5dc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25f1818cf078142fdeb821c214af0d396819176e71d11cc6cba91e66438e5dc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25f1818cf078142fdeb821c214af0d396819176e71d11cc6cba91e66438e5dc7", kill_on_drop: false }`
[INFO] [stdout] 25f1818cf078142fdeb821c214af0d396819176e71d11cc6cba91e66438e5dc7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88858fa082536658abda4a22b431d59468f29a8a3a25177da6237f04db6f2e56
[INFO] running `Command { std: "docker" "start" "-a" "88858fa082536658abda4a22b431d59468f29a8a3a25177da6237f04db6f2e56", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling wasmparser v0.239.0
[INFO] [stderr]    Compiling equivalent v1.0.2
[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 wasm-encoder v0.239.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling prettyplease v0.2.31
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling leb128fmt v0.1.0
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling hashbrown v0.15.2
[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 heck v0.5.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[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 mime v0.3.17
[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.4.0
[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-component v0.239.0
[INFO] [stderr]    Compiling wit-bindgen-core v0.46.0
[INFO] [stderr]    Compiling fastedge v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.95s
[INFO] running `Command { std: "docker" "inspect" "88858fa082536658abda4a22b431d59468f29a8a3a25177da6237f04db6f2e56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88858fa082536658abda4a22b431d59468f29a8a3a25177da6237f04db6f2e56", kill_on_drop: false }`
[INFO] [stdout] 88858fa082536658abda4a22b431d59468f29a8a3a25177da6237f04db6f2e56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9c219878be3820b87d651f1b015d1b100fd11c0efd52eafbcba457403119e867
[INFO] running `Command { std: "docker" "start" "-a" "9c219878be3820b87d651f1b015d1b100fd11c0efd52eafbcba457403119e867", kill_on_drop: false }`
[INFO] [stderr]    Compiling fastedge v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s
[INFO] running `Command { std: "docker" "inspect" "9c219878be3820b87d651f1b015d1b100fd11c0efd52eafbcba457403119e867", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c219878be3820b87d651f1b015d1b100fd11c0efd52eafbcba457403119e867", kill_on_drop: false }`
[INFO] [stdout] 9c219878be3820b87d651f1b015d1b100fd11c0efd52eafbcba457403119e867
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 78e13a12647e9d1316319ad7a20e5ad06744faad4956d35c9b1bcee09707e810
[INFO] running `Command { std: "docker" "start" "-a" "78e13a12647e9d1316319ad7a20e5ad06744faad4956d35c9b1bcee09707e810", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastedge-e46cbfb26b6dda44)
[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 35 tests
[INFO] [stdout] test src/http_client.rs - http_client::send_request (line 38) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 51) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 144) - compile ... FAILED
[INFO] [stdout] test src/http_client.rs - http_client::send_request (line 59) - compile ... ok
[INFO] [stdout] test src/lib.rs - cache (line 445) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 172) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - cache (line 493) - compile ... ok
[INFO] [stdout] test src/lib.rs - cache (line 458) - compile ... ok
[INFO] [stdout] test src/lib.rs - dictionary (line 274) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - cache (line 467) - compile ... ok
[INFO] [stdout] test src/lib.rs - key_value (line 350) - compile ... ok
[INFO] [stdout] test src/lib.rs - key_value (line 366) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 77) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - __export_reactor_impl (line 265) ... ok
[INFO] [stdout] test src/lib.rs - key_value (line 396) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 117) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - cache (line 478) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 202) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - body (line 591) ... ok
[INFO] [stdout] test src/lib.rs - cache (line 433) - compile ... ok
[INFO] [stdout] test src/proxywasm/dictionary.rs - proxywasm::dictionary (line 8) - compile ... ok
[INFO] [stdout] test src/proxywasm/dictionary.rs - proxywasm::dictionary::get (line 36) - compile ... ok
[INFO] [stdout] test src/lib.rs - key_value (line 381) - compile ... ok
[INFO] [stdout] test src/lib.rs - body::Body::empty (line 705) ... ok
[INFO] [stdout] test src/lib.rs - body::Body::content_type (line 724) ... ok
[INFO] [stdout] test src/lib.rs - secret (line 303) - compile ... FAILED
[INFO] [stdout] test src/proxywasm/utils.rs - proxywasm::utils::set_user_diag (line 30) - compile ... ok
[INFO] [stdout] test src/proxywasm/secret.rs - proxywasm::secret (line 14) - compile ... ok
[INFO] [stdout] test src/proxywasm/secret.rs - proxywasm::secret::get_effective_at (line 101) - compile ... ok
[INFO] [stdout] test src/proxywasm/utils.rs - proxywasm::utils (line 7) - compile ... ok
[INFO] [stdout] test src/lib.rs - utils (line 525) - compile ... ok
[INFO] [stdout] test src/proxywasm/secret.rs - proxywasm::secret::get (line 53) - compile ... ok
[INFO] [stdout] test src/lib.rs - Error (line 544) ... ok
[INFO] [stdout] test src/lib.rs - body::Body (line 618) ... ok
[INFO] [stdout] test src/proxywasm/key_value.rs - proxywasm::key_value (line 7) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 51) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | 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: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 144) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]    --> src/lib.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 | 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: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - cache (line 445) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:450:30
[INFO] [stdout]     |
[INFO] [stdout] 450 | cache::set("session:abc123", b"user-data".to_vec(), Some(300_000))?;
[INFO] [stdout]     | ----------                   ^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `Vec<u8>`
[INFO] [stdout]     | |
[INFO] [stdout]     | arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                   found struct `Vec<u8>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:260:1
[INFO] [stdout]     |
[INFO] [stdout] 260 | / wit_bindgen::generate!({
[INFO] [stdout] 261 | |     world: "reactor",
[INFO] [stdout] 262 | |     path: "wit",
[INFO] [stdout] 263 | |     pub_export_macro: true,
[INFO] [stdout] 264 | | });
[INFO] [stdout]     | |__^
[INFO] [stdout]     = note: this error originates in the macro `wit_bindgen::generate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: try removing the method call
[INFO] [stdout]     |
[INFO] [stdout] 450 - cache::set("session:abc123", b"user-data".to_vec(), Some(300_000))?;
[INFO] [stdout] 450 + cache::set("session:abc123", b"user-data", Some(300_000))?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:453:28
[INFO] [stdout]     |
[INFO] [stdout] 453 | cache::set("config:flags", b"enabled".to_vec(), None)?;
[INFO] [stdout]     | ----------                 ^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `Vec<u8>`
[INFO] [stdout]     | |
[INFO] [stdout]     | arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                   found struct `Vec<u8>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:260:1
[INFO] [stdout]     |
[INFO] [stdout] 260 | / wit_bindgen::generate!({
[INFO] [stdout] 261 | |     world: "reactor",
[INFO] [stdout] 262 | |     path: "wit",
[INFO] [stdout] 263 | |     pub_export_macro: true,
[INFO] [stdout] 264 | | });
[INFO] [stdout]     | |__^
[INFO] [stdout]     = note: this error originates in the macro `wit_bindgen::generate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: try removing the method call
[INFO] [stdout]     |
[INFO] [stdout] 453 - cache::set("config:flags", b"enabled".to_vec(), None)?;
[INFO] [stdout] 453 + cache::set("config:flags", b"enabled", None)?;
[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 E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 172) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]    --> src/lib.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 | 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:185:47
[INFO] [stdout]     |
[INFO] [stdout] 185 |             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/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/alloc/src/string.rs:628:11
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/lib.rs - dictionary (line 274) 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:279:54
[INFO] [stdout]     |
[INFO] [stdout] 275 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_274_0() -> core::result::Result<(), impl core::fmt::Debug> {
[INFO] [stdout]     |                                      -------------------------------------------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 279 | 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:279:8
[INFO] [stdout]     |
[INFO] [stdout] 279 | 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 77) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `wstd` in this scope
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 | use wstd::http::body::Body;
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `wstd`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 78 - use wstd::http::body::Body;
[INFO] [stdout] 78 + use std::http::body::Body;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `wstd` in this scope
[INFO] [stdout]   --> src/lib.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | use wstd::http::{Client, Request, Response};
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `wstd`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 79 - use wstd::http::{Client, Request, Response};
[INFO] [stdout] 79 + use std::http::{Client, Request, Response};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `wstd` in this scope
[INFO] [stdout]   --> src/lib.rs:81:3
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[wstd::http_server]
[INFO] [stdout]    |   ^^^^ use of unresolved module or unlinked crate `wstd`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | async fn main(_request: Request<Body>) -> anyhow::Result<Response<Body>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]   --> src/lib.rs:82:43
[INFO] [stdout]    |
[INFO] [stdout] 82 | async fn main(_request: Request<Body>) -> anyhow::Result<Response<Body>> {
[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: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 117) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]    --> src/lib.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 | 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: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 202) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]    --> src/lib.rs:204:5
[INFO] [stdout]     |
[INFO] [stdout] 204 | 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:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |     cache::set(key, content.clone(), Some(60_000))?;
[INFO] [stdout]     |     ----------      ^^^^^^^^^^^^^^^ expected `&[u8]`, found `Vec<u8>`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                   found struct `Vec<u8>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:260:1
[INFO] [stdout]     |
[INFO] [stdout] 260 | / wit_bindgen::generate!({
[INFO] [stdout] 261 | |     world: "reactor",
[INFO] [stdout] 262 | |     path: "wit",
[INFO] [stdout] 263 | |     pub_export_macro: true,
[INFO] [stdout] 264 | | });
[INFO] [stdout]     | |__^
[INFO] [stdout]     = note: this error originates in the macro `wit_bindgen::generate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 226 |     cache::set(key, &content.clone(), Some(60_000))?;
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/lib.rs - secret (line 303) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:310:43
[INFO] [stdout]     |
[INFO] [stdout] 310 |         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/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/alloc/src/string.rs:628: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]: cannot find module or crate `proxy_wasm` in this scope
[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]: cannot find module or crate `proxy_wasm` in this scope
[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]: cannot find module or crate `proxy_wasm` in this scope
[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/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/option.rs:597: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]: cannot find type `ContextType` in this scope
[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]: cannot find type `Action` in this scope
[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]: cannot find type `Action` in this scope
[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]: cannot find type `Action` in this scope
[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 117)
[INFO] [stdout]     src/lib.rs - (line 144)
[INFO] [stdout]     src/lib.rs - (line 172)
[INFO] [stdout]     src/lib.rs - (line 202)
[INFO] [stdout]     src/lib.rs - (line 51)
[INFO] [stdout]     src/lib.rs - (line 77)
[INFO] [stdout]     src/lib.rs - cache (line 445)
[INFO] [stdout]     src/lib.rs - dictionary (line 274)
[INFO] [stdout]     src/lib.rs - secret (line 303)
[INFO] [stdout]     src/proxywasm/key_value.rs - proxywasm::key_value (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 25 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "78e13a12647e9d1316319ad7a20e5ad06744faad4956d35c9b1bcee09707e810", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78e13a12647e9d1316319ad7a20e5ad06744faad4956d35c9b1bcee09707e810", kill_on_drop: false }`
[INFO] [stdout] 78e13a12647e9d1316319ad7a20e5ad06744faad4956d35c9b1bcee09707e810
