[INFO] fetching crate serde-wasm-bindgen 0.6.5...
[INFO] testing serde-wasm-bindgen-0.6.5 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate serde-wasm-bindgen 0.6.5 into /workspace/builds/worker-1-tc1/source
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate serde-wasm-bindgen 0.6.5
[INFO] finished tweaking crates.io crate serde-wasm-bindgen 0.6.5
[INFO] tweaked toml for crates.io crate serde-wasm-bindgen 0.6.5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate serde-wasm-bindgen 0.6.5 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 68 packages to latest compatible versions
[INFO] [stderr]       Adding bincode v1.3.3 (available: v3.0.0)
[INFO] [stderr]       Adding getrandom v0.2.17 (available: v0.3.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proptest v1.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f0306bdd13ea62fdda424d16e606577752ce0732ef907eec356b2f1ab2b71914
[INFO] running `Command { std: "docker" "start" "-a" "f0306bdd13ea62fdda424d16e606577752ce0732ef907eec356b2f1ab2b71914", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0306bdd13ea62fdda424d16e606577752ce0732ef907eec356b2f1ab2b71914", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0306bdd13ea62fdda424d16e606577752ce0732ef907eec356b2f1ab2b71914", kill_on_drop: false }`
[INFO] [stdout] f0306bdd13ea62fdda424d16e606577752ce0732ef907eec356b2f1ab2b71914
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5635546e6fa6913b503a71f888f3a34a004c87c24857cc2d0b60df3f39fad26a
[INFO] running `Command { std: "docker" "start" "-a" "5635546e6fa6913b503a71f888f3a34a004c87c24857cc2d0b60df3f39fad26a", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.108
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.108
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.108
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.108
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling js-sys v0.3.85
[INFO] [stderr]    Compiling serde-wasm-bindgen v0.6.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/de.rs:82:24
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn str_deserializer(s: &str) -> de::value::StrDeserializer<Error> {
[INFO] [stdout]    |                        ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn str_deserializer(s: &str) -> de::value::StrDeserializer<'_, Error> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.87s
[INFO] running `Command { std: "docker" "inspect" "5635546e6fa6913b503a71f888f3a34a004c87c24857cc2d0b60df3f39fad26a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5635546e6fa6913b503a71f888f3a34a004c87c24857cc2d0b60df3f39fad26a", kill_on_drop: false }`
[INFO] [stdout] 5635546e6fa6913b503a71f888f3a34a004c87c24857cc2d0b60df3f39fad26a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ad897a00b860f80a14e780c2868237baa7a525efdd50fac7784d0d3986a8af2
[INFO] running `Command { std: "docker" "start" "-a" "4ad897a00b860f80a14e780c2868237baa7a525efdd50fac7784d0d3986a8af2", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling wasm-bindgen-test-shared v0.2.108
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.58
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/de.rs:82:24
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn str_deserializer(s: &str) -> de::value::StrDeserializer<Error> {
[INFO] [stdout]    |                        ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn str_deserializer(s: &str) -> de::value::StrDeserializer<'_, Error> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling rand_xorshift v0.4.0
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.58
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.58
[INFO] [stderr]    Compiling proptest v1.9.0
[INFO] [stderr]    Compiling serde-wasm-bindgen v0.6.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/de.rs:82:24
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn str_deserializer(s: &str) -> de::value::StrDeserializer<Error> {
[INFO] [stdout]    |                        ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn str_deserializer(s: &str) -> de::value::StrDeserializer<'_, Error> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `src` is never read
[INFO] [stdout]    --> tests/common/mod.rs:469:5
[INFO] [stdout]     |
[INFO] [stdout] 469 |     src[0] = 10;
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `src` is never read
[INFO] [stdout]    --> tests/common/mod.rs:469:5
[INFO] [stdout]     |
[INFO] [stdout] 469 |     src[0] = 10;
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.75s
[INFO] running `Command { std: "docker" "inspect" "4ad897a00b860f80a14e780c2868237baa7a525efdd50fac7784d0d3986a8af2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ad897a00b860f80a14e780c2868237baa7a525efdd50fac7784d0d3986a8af2", kill_on_drop: false }`
[INFO] [stdout] 4ad897a00b860f80a14e780c2868237baa7a525efdd50fac7784d0d3986a8af2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e191352f440f6bd8bb71dc058d13c81dfb5f1dc8517a37eed27f9cc826cd9d8c
[INFO] running `Command { std: "docker" "start" "-a" "e191352f440f6bd8bb71dc058d13c81dfb5f1dc8517a37eed27f9cc826cd9d8c", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/de.rs:82:24
[INFO] [stderr]    |
[INFO] [stderr] 82 | fn str_deserializer(s: &str) -> de::value::StrDeserializer<Error> {
[INFO] [stderr]    |                        ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 82 | fn str_deserializer(s: &str) -> de::value::StrDeserializer<'_, Error> {
[INFO] [stderr]    |                                                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: `serde-wasm-bindgen` (lib) generated 1 warning (run `cargo fix --lib -p serde-wasm-bindgen` to apply 1 suggestion)
[INFO] [stderr] warning: value assigned to `src` is never read
[INFO] [stderr]    --> tests/common/mod.rs:469:5
[INFO] [stderr]     |
[INFO] [stderr] 469 |     src[0] = 10;
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `serde-wasm-bindgen` (test "node") generated 1 warning
[INFO] [stderr] warning: `serde-wasm-bindgen` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: `serde-wasm-bindgen` (test "browser") generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_wasm_bindgen-c3976d06f6ca97e8)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running tests/browser.rs (/opt/rustwide/target/debug/deps/browser-3c137d113653a785)
[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] [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]      Running tests/node.rs (/opt/rustwide/target/debug/deps/node-adb53b6286d386e4)
[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 serde_wasm_bindgen
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 33) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 143) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 46) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 64) ... FAILED
[INFO] [stdout] test src/lib.rs - preserve (line 87) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 33) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/lib.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub field1: HashMap<u32, String>,
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 143) stdout ----
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> src/lib.rs:145:10
[INFO] [stdout]     |
[INFO] [stdout] 145 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 142 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> src/lib.rs:145:21
[INFO] [stdout]     |
[INFO] [stdout] 145 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |                     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 142 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]    --> src/lib.rs:149:7
[INFO] [stdout]     |
[INFO] [stdout] 149 |     #[serde(with = "serde_wasm_bindgen::preserve")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]     = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]    --> src/lib.rs:152:7
[INFO] [stdout]     |
[INFO] [stdout] 152 |     #[serde(with = "serde_wasm_bindgen::preserve")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]     = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]    --> src/lib.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |     pub preserved_arbitrary_value: JsValue,
[INFO] [stdout]     |                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 142 + use wasm_bindgen::JsValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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 - (line 46) stdout ----
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]   --> src/lib.rs:48:3
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[wasm_bindgen]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `wasm_bindgen` is an attribute that can be used by the derive macro `BindgenedStruct`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 45 + use wasm_bindgen::prelude::wasm_bindgen;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> src/lib.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn send_example_to_js() -> Result<JsValue, JsValue> {
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 45 + use wasm_bindgen::JsValue;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> src/lib.rs:49:48
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn send_example_to_js() -> Result<JsValue, JsValue> {
[INFO] [stdout]    |                                                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 45 + use wasm_bindgen::JsValue;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/lib.rs:50:22
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut field1 = HashMap::new();
[INFO] [stdout]    |                      ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 45 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Example` in this scope
[INFO] [stdout]   --> src/lib.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let example = Example {
[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: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 64) stdout ----
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]   --> src/lib.rs:66:3
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[wasm_bindgen]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `wasm_bindgen` is an attribute that can be used by the derive macro `BindgenedStruct`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 63 + use wasm_bindgen::prelude::wasm_bindgen;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> src/lib.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn receive_example_from_js(val: JsValue) -> Result<(), JsValue> {
[INFO] [stdout]    |                                     ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 63 + use wasm_bindgen::JsValue;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> src/lib.rs:67:60
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn receive_example_from_js(val: JsValue) -> Result<(), JsValue> {
[INFO] [stdout]    |                                                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 63 + use wasm_bindgen::JsValue;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Example` in this scope
[INFO] [stdout]   --> src/lib.rs:68:18
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let example: Example = serde_wasm_bindgen::from_value(val)?;
[INFO] [stdout]    |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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 - preserve (line 87) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (76) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.85/src/lib.rs:6676:1:
[INFO] [stdout] cannot call wasm-bindgen imported functions on non-wasm targets
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x588fa71ae962 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x588fa71ae962 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized::<std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x588fa71ae962 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x588fa71ae962 - <<std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x588fa71bf27a - <core[c5ed12ab89cc536a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x588fa71bf27a - core[c5ed12ab89cc536a]::fmt::write
[INFO] [stdout]    6:     0x588fa71b24b6 - std[716c9a7a72e5c14e]::io::default_write_fmt::<std[716c9a7a72e5c14e]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x588fa71b24b6 - <std[716c9a7a72e5c14e]::sys::stdio::unix::Stderr as std[716c9a7a72e5c14e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x588fa7199d3f - <std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x588fa7199d3f - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x588fa71aae21 - std[716c9a7a72e5c14e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x588fa71aafdb - std[716c9a7a72e5c14e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x588fa7199e2a - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:691:13
[INFO] [stdout]   13:     0x588fa7191af9 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace::<std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x588fa719a61d - __rustc[4f0b026143eab78e]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x588fa71bf8ac - core[c5ed12ab89cc536a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x588fa7183ed4 - <js_sys[2c7336ecbfbf8dd3]::Int8Array>::new_with_length::__wbg_new_with_length_a30a5512e4746ad8
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.85/src/lib.rs:6381:9
[INFO] [stdout]   17:     0x588fa7183e54 - <js_sys[2c7336ecbfbf8dd3]::Int8Array>::new_with_length
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.85/src/lib.rs:6381:9
[INFO] [stdout]   18:     0x588fa7183d3c - rust_out[31cf89adcf23a82a]::main::_doctest_main_src_lib_rs_87_0
[INFO] [stdout]   19:     0x588fa7183d26 - rust_out[31cf89adcf23a82a]::main
[INFO] [stdout]   20:     0x588fa7183d73 - <fn() as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   21:     0x588fa7183ce6 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   22:     0x588fa7183cf9 - std[716c9a7a72e5c14e]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   23:     0x588fa71aa416 - <&dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   24:     0x588fa71aa416 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<&dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   25:     0x588fa71aa416 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<i32, &dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   26:     0x588fa71aa416 - std[716c9a7a72e5c14e]::panic::catch_unwind::<&dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x588fa71aa416 - std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x588fa71aa416 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x588fa71aa416 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<isize, std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x588fa71aa416 - std[716c9a7a72e5c14e]::panic::catch_unwind::<std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x588fa71aa416 - std[716c9a7a72e5c14e]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x588fa7183cb1 - std[716c9a7a72e5c14e]::rt::lang_start::<()>
[INFO] [stdout]   33:     0x588fa7183dd5 - main
[INFO] [stdout]   34:     0x7c331521b1ca - <unknown>
[INFO] [stdout]   35:     0x7c331521b28b - __libc_start_main
[INFO] [stdout]   36:     0x588fa7183bc5 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 143)
[INFO] [stdout]     src/lib.rs - (line 33)
[INFO] [stdout]     src/lib.rs - (line 46)
[INFO] [stdout]     src/lib.rs - (line 64)
[INFO] [stdout]     src/lib.rs - preserve (line 87)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e191352f440f6bd8bb71dc058d13c81dfb5f1dc8517a37eed27f9cc826cd9d8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e191352f440f6bd8bb71dc058d13c81dfb5f1dc8517a37eed27f9cc826cd9d8c", kill_on_drop: false }`
[INFO] [stdout] e191352f440f6bd8bb71dc058d13c81dfb5f1dc8517a37eed27f9cc826cd9d8c
