[INFO] fetching crate wasm_request 0.1.1...
[INFO] testing wasm_request-0.1.1 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate wasm_request 0.1.1 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate wasm_request 0.1.1 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate wasm_request 0.1.1
[INFO] finished tweaking crates.io crate wasm_request 0.1.1
[INFO] tweaked toml for crates.io crate wasm_request 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 41 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding synstructure v0.12.6 (latest: v0.13.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14de3514134cabac15cea39b005716474d9e9ad8d2df8724f52cd4c2167081bf
[INFO] running `Command { std: "docker" "start" "-a" "14de3514134cabac15cea39b005716474d9e9ad8d2df8724f52cd4c2167081bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14de3514134cabac15cea39b005716474d9e9ad8d2df8724f52cd4c2167081bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14de3514134cabac15cea39b005716474d9e9ad8d2df8724f52cd4c2167081bf", kill_on_drop: false }`
[INFO] [stdout] 14de3514134cabac15cea39b005716474d9e9ad8d2df8724f52cd4c2167081bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ddca221704de53a7b9d22c8b408731ce1caf3b65fac9f432cd66891c82785e77
[INFO] running `Command { std: "docker" "start" "-a" "ddca221704de53a7b9d22c8b408731ce1caf3b65fac9f432cd66891c82785e77", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.42
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling js-sys v0.3.69
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.42
[INFO] [stderr]    Compiling web-sys v0.3.69
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.42
[INFO] [stderr]    Compiling wasm_request v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]    --> src/lib.rs:321:66
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]     |                                                                  ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/error_handler.rs:22:49
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let request_error: RequestError = value.into_serde().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.79s
[INFO] running `Command { std: "docker" "inspect" "ddca221704de53a7b9d22c8b408731ce1caf3b65fac9f432cd66891c82785e77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddca221704de53a7b9d22c8b408731ce1caf3b65fac9f432cd66891c82785e77", kill_on_drop: false }`
[INFO] [stdout] ddca221704de53a7b9d22c8b408731ce1caf3b65fac9f432cd66891c82785e77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84205788bf5ac0bc4d63d7d562f03d3aaff2e5e4faff1e7bdf4c552cf44a6a1a
[INFO] running `Command { std: "docker" "start" "-a" "84205788bf5ac0bc4d63d7d562f03d3aaff2e5e4faff1e7bdf4c552cf44a6a1a", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]    --> src/lib.rs:321:66
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]     |                                                                  ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/error_handler.rs:22:49
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let request_error: RequestError = value.into_serde().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wasm_request v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]    --> src/lib.rs:321:66
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]     |                                                                  ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/error_handler.rs:22:49
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let request_error: RequestError = value.into_serde().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] running `Command { std: "docker" "inspect" "84205788bf5ac0bc4d63d7d562f03d3aaff2e5e4faff1e7bdf4c552cf44a6a1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84205788bf5ac0bc4d63d7d562f03d3aaff2e5e4faff1e7bdf4c552cf44a6a1a", kill_on_drop: false }`
[INFO] [stdout] 84205788bf5ac0bc4d63d7d562f03d3aaff2e5e4faff1e7bdf4c552cf44a6a1a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 28788c7006765e240eb24b6430b33e95d1e3bd4e06733b6a840972283328b0b5
[INFO] running `Command { std: "docker" "start" "-a" "28788c7006765e240eb24b6430b33e95d1e3bd4e06733b6a840972283328b0b5", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stderr]    --> src/lib.rs:321:66
[INFO] [stderr]     |
[INFO] [stderr] 321 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stderr]     |                                                                  ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stderr]   --> src/error_handler.rs:22:49
[INFO] [stderr]    |
[INFO] [stderr] 22 |         let request_error: RequestError = value.into_serde().unwrap();
[INFO] [stderr]    |                                                 ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `wasm_request` (lib) generated 2 warnings
[INFO] [stderr] warning: `wasm_request` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasm_request-1118e269ade67d0c)
[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 wasm_request
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - request (line 177) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 103) ... FAILED
[INFO] [stdout] test src/lib.rs - get_options (line 240) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 17) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 49) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - request (line 177) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Price` in this scope
[INFO] [stdout]  --> src/lib.rs:178:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]   |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `request` in this scope
[INFO] [stdout]  --> src/lib.rs:178:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]   |                              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::request;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `options` in this scope
[INFO] [stdout]  --> src/lib.rs:178:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]   |                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:178:47
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_177_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]   |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 103) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `set_storage` in this scope
[INFO] [stdout]  --> src/lib.rs:104:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | set_storage("food", "ramen");
[INFO] [stdout]   | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::set_storage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_storage` in this scope
[INFO] [stdout]  --> src/lib.rs:105:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let food = get_storage("food").unwrap();
[INFO] [stdout]   |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::get_storage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `delete_storage` in this scope
[INFO] [stdout]  --> src/lib.rs:106:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | delete_storage("food");
[INFO] [stdout]   | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::delete_storage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - get_options (line 240) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_options` in this scope
[INFO] [stdout]  --> src/lib.rs:241:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let options = get_options::<()>(
[INFO] [stdout]   |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::get_options;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/lib.rs:243:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |        Method::Get,
[INFO] [stdout]   |        ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `headers` in this scope
[INFO] [stdout]  --> src/lib.rs:244:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |        headers,
[INFO] [stdout]   |        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType`
[INFO] [stdout]  --> src/lib.rs:245:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |        Some(DataType::Form(form)),
[INFO] [stdout]   |             ^^^^^^^^ use of undeclared type `DataType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::DataType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `form` in this scope
[INFO] [stdout]  --> src/lib.rs:245:28
[INFO] [stdout]   |
[INFO] [stdout] 7 |        Some(DataType::Form(form)),
[INFO] [stdout]   |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 78) stdout ----
[INFO] [stdout] error[E0599]: no variant or associated item named `Post` found for enum `Method` in the current scope
[INFO] [stdout]   --> src/lib.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Method::Post,
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             variant or associated item not found in `Method`
[INFO] [stdout]    |             help: there is a variant with a similar name: `POST`
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `web_sys::wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/lib.rs:98:35
[INFO] [stdout]    |
[INFO] [stdout] 23 |   request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 17) stdout ----
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/lib.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde_derive::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/lib.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde_derive::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:23:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:23:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:18:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:18:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_options` in this scope
[INFO] [stdout]   --> src/lib.rs:34:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let options = get_options::<Price>(
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wasm_request::get_options;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         Method::Get,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wasm_request::Method;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `request` in this scope
[INFO] [stdout]   --> src/lib.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wasm_request::request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 49) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/lib.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 18 |   }
[INFO] [stdout]    |    ^ help: add `;` here
[INFO] [stdout] 19 |
[INFO] [stdout] 20 |   let options = get_options::<User>(
[INFO] [stdout]    |   --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:53:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:53:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `username` in initializer of `User`
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |   let user = User {
[INFO] [stdout]    |              ^^^^ missing `username`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Post` found for enum `Method` in the current scope
[INFO] [stdout]   --> src/lib.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Method::Post,
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             variant or associated item not found in `Method`
[INFO] [stdout]    |             help: there is a variant with a similar name: `POST`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `User: serde::ser::Serialize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:66:31
[INFO] [stdout]     |
[INFO] [stdout] 20  |   let options = get_options::<User>(
[INFO] [stdout]     |                               ^^^^ the trait `serde::ser::Serialize` is not implemented for `User`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `serde::ser::Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 132 others
[INFO] [stdout] note: required by a bound in `get_options`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn get_options<T>(
[INFO] [stdout]     |        ----------- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 255 |     T: Serialize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `get_options`
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/lib.rs:73:35
[INFO] [stdout]    |
[INFO] [stdout] 27 |   request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[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 17)
[INFO] [stdout]     src/lib.rs - (line 49)
[INFO] [stdout]     src/lib.rs - (line 78)
[INFO] [stdout]     src/lib.rs - get_options (line 240)
[INFO] [stdout]     src/lib.rs - request (line 177)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "28788c7006765e240eb24b6430b33e95d1e3bd4e06733b6a840972283328b0b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28788c7006765e240eb24b6430b33e95d1e3bd4e06733b6a840972283328b0b5", kill_on_drop: false }`
[INFO] [stdout] 28788c7006765e240eb24b6430b33e95d1e3bd4e06733b6a840972283328b0b5
[INFO] testing wasm_request-0.1.1 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate wasm_request 0.1.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate wasm_request 0.1.1 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate wasm_request 0.1.1
[INFO] finished tweaking crates.io crate wasm_request 0.1.1
[INFO] tweaked toml for crates.io crate wasm_request 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 41 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding synstructure v0.12.6 (latest: v0.13.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4427bc6f491a1027badfad2c1b5a8d1742fd2c383255970962ae60d7e60df15e
[INFO] running `Command { std: "docker" "start" "-a" "4427bc6f491a1027badfad2c1b5a8d1742fd2c383255970962ae60d7e60df15e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4427bc6f491a1027badfad2c1b5a8d1742fd2c383255970962ae60d7e60df15e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4427bc6f491a1027badfad2c1b5a8d1742fd2c383255970962ae60d7e60df15e", kill_on_drop: false }`
[INFO] [stdout] 4427bc6f491a1027badfad2c1b5a8d1742fd2c383255970962ae60d7e60df15e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3106a876ec2f5f4298a72ab498853bcbbeac6faef1215b68bae255593d115a85
[INFO] running `Command { std: "docker" "start" "-a" "3106a876ec2f5f4298a72ab498853bcbbeac6faef1215b68bae255593d115a85", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.42
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling js-sys v0.3.69
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.42
[INFO] [stderr]    Compiling web-sys v0.3.69
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.42
[INFO] [stderr]    Compiling wasm_request v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]    --> src/lib.rs:321:66
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]     |                                                                  ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/error_handler.rs:22:49
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let request_error: RequestError = value.into_serde().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.56s
[INFO] running `Command { std: "docker" "inspect" "3106a876ec2f5f4298a72ab498853bcbbeac6faef1215b68bae255593d115a85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3106a876ec2f5f4298a72ab498853bcbbeac6faef1215b68bae255593d115a85", kill_on_drop: false }`
[INFO] [stdout] 3106a876ec2f5f4298a72ab498853bcbbeac6faef1215b68bae255593d115a85
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 591bbc4ec950d2f67e8d3348d306c0c6cc3f6882e4c3b8c37585f7c20df6da4f
[INFO] running `Command { std: "docker" "start" "-a" "591bbc4ec950d2f67e8d3348d306c0c6cc3f6882e4c3b8c37585f7c20df6da4f", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]    --> src/lib.rs:321:66
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]     |                                                                  ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/error_handler.rs:22:49
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let request_error: RequestError = value.into_serde().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wasm_request v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]    --> src/lib.rs:321:66
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]     |                                                                  ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/error_handler.rs:22:49
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let request_error: RequestError = value.into_serde().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s
[INFO] running `Command { std: "docker" "inspect" "591bbc4ec950d2f67e8d3348d306c0c6cc3f6882e4c3b8c37585f7c20df6da4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "591bbc4ec950d2f67e8d3348d306c0c6cc3f6882e4c3b8c37585f7c20df6da4f", kill_on_drop: false }`
[INFO] [stdout] 591bbc4ec950d2f67e8d3348d306c0c6cc3f6882e4c3b8c37585f7c20df6da4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f9652c7721bf0659797f13b20e54bd3bf4be70b38e1865ce5bc183a565d449c5
[INFO] running `Command { std: "docker" "start" "-a" "f9652c7721bf0659797f13b20e54bd3bf4be70b38e1865ce5bc183a565d449c5", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stderr]    --> src/lib.rs:321:66
[INFO] [stderr]     |
[INFO] [stderr] 321 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stderr]     |                                                                  ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stderr]   --> src/error_handler.rs:22:49
[INFO] [stderr]    |
[INFO] [stderr] 22 |         let request_error: RequestError = value.into_serde().unwrap();
[INFO] [stderr]    |                                                 ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `wasm_request` (lib) generated 2 warnings
[INFO] [stderr] warning: `wasm_request` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasm_request-1118e269ade67d0c)
[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 wasm_request
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - (line 103) ... FAILED
[INFO] [stdout] test src/lib.rs - request (line 177) ... FAILED
[INFO] [stdout] test src/lib.rs - get_options (line 240) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 17) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 49) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 103) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `set_storage` in this scope
[INFO] [stdout]  --> src/lib.rs:104:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | set_storage("food", "ramen");
[INFO] [stdout]   | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::set_storage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_storage` in this scope
[INFO] [stdout]  --> src/lib.rs:105:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let food = get_storage("food").unwrap();
[INFO] [stdout]   |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::get_storage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `delete_storage` in this scope
[INFO] [stdout]  --> src/lib.rs:106:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | delete_storage("food");
[INFO] [stdout]   | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::delete_storage;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - request (line 177) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Price` in this scope
[INFO] [stdout]  --> src/lib.rs:178:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]   |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `request` in this scope
[INFO] [stdout]  --> src/lib.rs:178:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]   |                              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::request;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `options` in this scope
[INFO] [stdout]  --> src/lib.rs:178:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]   |                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:178:47
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_177_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]   |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - get_options (line 240) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_options` in this scope
[INFO] [stdout]  --> src/lib.rs:241:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let options = get_options::<()>(
[INFO] [stdout]   |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::get_options;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/lib.rs:243:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |        Method::Get,
[INFO] [stdout]   |        ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `headers` in this scope
[INFO] [stdout]  --> src/lib.rs:244:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |        headers,
[INFO] [stdout]   |        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType`
[INFO] [stdout]  --> src/lib.rs:245:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |        Some(DataType::Form(form)),
[INFO] [stdout]   |             ^^^^^^^^ use of undeclared type `DataType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_request::DataType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `form` in this scope
[INFO] [stdout]  --> src/lib.rs:245:28
[INFO] [stdout]   |
[INFO] [stdout] 7 |        Some(DataType::Form(form)),
[INFO] [stdout]   |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 78) stdout ----
[INFO] [stdout] error[E0599]: no variant or associated item named `Post` found for enum `Method` in the current scope
[INFO] [stdout]   --> src/lib.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Method::Post,
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             variant or associated item not found in `Method`
[INFO] [stdout]    |             help: there is a variant with a similar name: `POST`
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `web_sys::wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/lib.rs:98:35
[INFO] [stdout]    |
[INFO] [stdout] 23 |   request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 17) stdout ----
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/lib.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde_derive::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/lib.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde_derive::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:23:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:23:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:18:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:18:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug, Clone)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_options` in this scope
[INFO] [stdout]   --> src/lib.rs:34:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let options = get_options::<Price>(
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wasm_request::get_options;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         Method::Get,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wasm_request::Method;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `request` in this scope
[INFO] [stdout]   --> src/lib.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let price_1mt_token: Price = request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wasm_request::request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 49) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/lib.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 18 |   }
[INFO] [stdout]    |    ^ help: add `;` here
[INFO] [stdout] 19 |
[INFO] [stdout] 20 |   let options = get_options::<User>(
[INFO] [stdout]    |   --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:53:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Serialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:53:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `username` in initializer of `User`
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |   let user = User {
[INFO] [stdout]    |              ^^^^ missing `username`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Post` found for enum `Method` in the current scope
[INFO] [stdout]   --> src/lib.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Method::Post,
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             variant or associated item not found in `Method`
[INFO] [stdout]    |             help: there is a variant with a similar name: `POST`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `User: serde::ser::Serialize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:66:31
[INFO] [stdout]     |
[INFO] [stdout] 20  |   let options = get_options::<User>(
[INFO] [stdout]     |                               ^^^^ the trait `serde::ser::Serialize` is not implemented for `User`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `serde::ser::Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 132 others
[INFO] [stdout] note: required by a bound in `get_options`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn get_options<T>(
[INFO] [stdout]     |        ----------- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 255 |     T: Serialize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `get_options`
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead
[INFO] [stdout]   --> src/lib.rs:73:35
[INFO] [stdout]    |
[INFO] [stdout] 27 |   request(options).await.unwrap().into_serde().unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[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 17)
[INFO] [stdout]     src/lib.rs - (line 49)
[INFO] [stdout]     src/lib.rs - (line 78)
[INFO] [stdout]     src/lib.rs - get_options (line 240)
[INFO] [stdout]     src/lib.rs - request (line 177)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f9652c7721bf0659797f13b20e54bd3bf4be70b38e1865ce5bc183a565d449c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9652c7721bf0659797f13b20e54bd3bf4be70b38e1865ce5bc183a565d449c5", kill_on_drop: false }`
[INFO] [stdout] f9652c7721bf0659797f13b20e54bd3bf4be70b38e1865ce5bc183a565d449c5
