[INFO] fetching crate yuuang-test-napi 1.7.6...
[INFO] testing yuuang-test-napi-1.7.6 against 1.75.0 for beta-1.76-1
[INFO] extracting crate yuuang-test-napi 1.7.6 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate yuuang-test-napi 1.7.6 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate yuuang-test-napi 1.7.6
[INFO] finished tweaking crates.io crate yuuang-test-napi 1.7.6
[INFO] tweaked toml for crates.io crate yuuang-test-napi 1.7.6 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded napi-sys v1.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f8680dd63ca09e99c425ed289abb6800ac50babfe40f468cc56b3ebd16d85e7
[INFO] running `Command { std: "docker" "start" "-a" "8f8680dd63ca09e99c425ed289abb6800ac50babfe40f468cc56b3ebd16d85e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f8680dd63ca09e99c425ed289abb6800ac50babfe40f468cc56b3ebd16d85e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f8680dd63ca09e99c425ed289abb6800ac50babfe40f468cc56b3ebd16d85e7", kill_on_drop: false }`
[INFO] [stdout] 8f8680dd63ca09e99c425ed289abb6800ac50babfe40f468cc56b3ebd16d85e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 268fdd0f46000d93791ffcd88b9c9520d701e1897c02a41c82f346cd79a434f3
[INFO] running `Command { std: "docker" "start" "-a" "268fdd0f46000d93791ffcd88b9c9520d701e1897c02a41c82f346cd79a434f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling napi-sys v1.1.2
[INFO] [stderr]    Compiling yuuang-test-napi v1.7.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]     --> src/env.rs:1372:3
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   Box::from_raw(tagged_object);
[INFO] [stdout]      |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   let _ = Box::from_raw(tagged_object);
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.05s
[INFO] running `Command { std: "docker" "inspect" "268fdd0f46000d93791ffcd88b9c9520d701e1897c02a41c82f346cd79a434f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "268fdd0f46000d93791ffcd88b9c9520d701e1897c02a41c82f346cd79a434f3", kill_on_drop: false }`
[INFO] [stdout] 268fdd0f46000d93791ffcd88b9c9520d701e1897c02a41c82f346cd79a434f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac7af05790bbeffccae98770b19fc16dbf647d983a1e3ed7cf1507f8a78cabcf
[INFO] running `Command { std: "docker" "start" "-a" "ac7af05790bbeffccae98770b19fc16dbf647d983a1e3ed7cf1507f8a78cabcf", kill_on_drop: false }`
[INFO] [stderr]    Compiling yuuang-test-napi v1.7.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]     --> src/env.rs:1372:3
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   Box::from_raw(tagged_object);
[INFO] [stdout]      |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   let _ = Box::from_raw(tagged_object);
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]     --> src/env.rs:1372:3
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   Box::from_raw(tagged_object);
[INFO] [stdout]      |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   let _ = Box::from_raw(tagged_object);
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.94s
[INFO] running `Command { std: "docker" "inspect" "ac7af05790bbeffccae98770b19fc16dbf647d983a1e3ed7cf1507f8a78cabcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac7af05790bbeffccae98770b19fc16dbf647d983a1e3ed7cf1507f8a78cabcf", kill_on_drop: false }`
[INFO] [stdout] ac7af05790bbeffccae98770b19fc16dbf647d983a1e3ed7cf1507f8a78cabcf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f80f8fbf872882d0de5ceaafa0d4b018e387599ae10d3ae77d82709ab5fdc93a
[INFO] running `Command { std: "docker" "start" "-a" "f80f8fbf872882d0de5ceaafa0d4b018e387599ae10d3ae77d82709ab5fdc93a", kill_on_drop: false }`
[INFO] [stderr] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stderr]     --> src/env.rs:1372:3
[INFO] [stderr]      |
[INFO] [stderr] 1372 |   Box::from_raw(tagged_object);
[INFO] [stderr]      |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stderr]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1372 |   let _ = Box::from_raw(tagged_object);
[INFO] [stderr]      |   +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `yuuang-test-napi` (lib) generated 1 warning
[INFO] [stderr] warning: `yuuang-test-napi` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yuuang_test_napi-92ae2fe117ac57ae)
[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 yuuang-test-napi
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 41) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 55) ... FAILED
[INFO] [stdout] test src/lib.rs - register_module (line 125) ... FAILED
[INFO] [stdout] test src/js_values/function.rs - js_values::function::JsFunction (line 12) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 20) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 41) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `node`
[INFO] [stdout]  --> src/lib.rs:42:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | NAPI_RS_TOKIO_CHANNEL_BUFFER_SIZE=1000 node ./app.js
[INFO] [stdout]   |                                        ^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 55) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ...
[INFO] [stdout]    |     ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]   --> src/lib.rs:70:3
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[js_function]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]   --> src/lib.rs:63:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[js_function(1)]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:56:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Debug, Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:56:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Debug, Deserialize)]
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CallContext` in this scope
[INFO] [stdout]   --> src/lib.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn deserialize_from_js(ctx: CallContext) -> Result<JsUndefined> {
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::CallContext;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsUndefined` in this scope
[INFO] [stdout]   --> src/lib.rs:64:52
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn deserialize_from_js(ctx: CallContext) -> Result<JsUndefined> {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::JsUndefined;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsUnknown` in this scope
[INFO] [stdout]   --> src/lib.rs:65:26
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let arg0 = ctx.get::<JsUnknown>(0)?;
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::JsUnknown;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CallContext` in this scope
[INFO] [stdout]   --> src/lib.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(ctx: CallContext) -> Result<JsUnknown> {
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::CallContext;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsUnknown` in this scope
[INFO] [stdout]   --> src/lib.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(ctx: CallContext) -> Result<JsUnknown> {
[INFO] [stdout]    |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::JsUnknown;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AnyObject` in this scope
[INFO] [stdout]   --> src/lib.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 4  | struct AnObject {
[INFO] [stdout]    | --------------- similarly named struct `AnObject` defined here
[INFO] [stdout] ...
[INFO] [stdout] 19 |     let value = AnyObject { a: 1, b: vec![0.1, 2.22], c: "hello" };
[INFO] [stdout]    |                 ^^^^^^^^^ help: a struct with a similar name exists: `AnObject`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:64:45
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn deserialize_from_js(ctx: CallContext) -> Result<JsUndefined> {
[INFO] [stdout]    |                                             ^^^^^^ ----------- supplied 1 generic argument
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn deserialize_from_js(ctx: CallContext) -> Result<JsUndefined, E> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:71:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(ctx: CallContext) -> Result<JsUnknown> {
[INFO] [stdout]    |                                   ^^^^^^ --------- supplied 1 generic argument
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(ctx: CallContext) -> Result<JsUnknown, E> {
[INFO] [stdout]    |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - register_module (line 125) stdout ----
[INFO] [stdout] error: cannot find macro `register_module` in this scope
[INFO] [stdout]  --> src/lib.rs:126:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | register_module!(test_module, init);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use yuuang_test_napi::register_module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Module` in this scope
[INFO] [stdout]  --> src/lib.rs:128:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn init(module: &mut Module) -> Result<()> {
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use yuuang_test_napi::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `native_function` in this scope
[INFO] [stdout]  --> src/lib.rs:129:50
[INFO] [stdout]   |
[INFO] [stdout] 6 |     module.create_named_method("nativeFunction", native_function)?;
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/lib.rs:128:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn init(module: &mut Module) -> Result<()> {
[INFO] [stdout]   |                                 ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]   |                                 |
[INFO] [stdout]   |                                 expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn init(module: &mut Module) -> Result<(), E> {
[INFO] [stdout]   |                                          +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/js_values/function.rs - js_values::function::JsFunction (line 12) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `napi`
[INFO] [stdout]  --> src/js_values/function.rs:13:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use napi::{JsFunction, CallContext, JsNull, Result};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `napi`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]  --> src/js_values/function.rs:15:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[js_function(1)]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 20) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures`
[INFO] [stdout]  --> src/lib.rs:21:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `napi`
[INFO] [stdout]  --> src/lib.rs:22:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use napi::{CallContext, Error, JsObject, JsString, Result, Status};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `napi`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> src/lib.rs:23:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio;
[INFO] [stdout]   |     ^^^^^ no external crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]  --> src/lib.rs:25:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[js_function(1)]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/js_values/function.rs - js_values::function::JsFunction (line 12)
[INFO] [stdout]     src/lib.rs - (line 20)
[INFO] [stdout]     src/lib.rs - (line 41)
[INFO] [stdout]     src/lib.rs - (line 55)
[INFO] [stdout]     src/lib.rs - register_module (line 125)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f80f8fbf872882d0de5ceaafa0d4b018e387599ae10d3ae77d82709ab5fdc93a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f80f8fbf872882d0de5ceaafa0d4b018e387599ae10d3ae77d82709ab5fdc93a", kill_on_drop: false }`
[INFO] [stdout] f80f8fbf872882d0de5ceaafa0d4b018e387599ae10d3ae77d82709ab5fdc93a
[INFO] testing yuuang-test-napi-1.7.6 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate yuuang-test-napi 1.7.6 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate yuuang-test-napi 1.7.6 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate yuuang-test-napi 1.7.6
[INFO] finished tweaking crates.io crate yuuang-test-napi 1.7.6
[INFO] tweaked toml for crates.io crate yuuang-test-napi 1.7.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0690845e6cf9cfeb2286c7d42a1e92228ec047e99c481ee68915a5630f49b3fb
[INFO] running `Command { std: "docker" "start" "-a" "0690845e6cf9cfeb2286c7d42a1e92228ec047e99c481ee68915a5630f49b3fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0690845e6cf9cfeb2286c7d42a1e92228ec047e99c481ee68915a5630f49b3fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0690845e6cf9cfeb2286c7d42a1e92228ec047e99c481ee68915a5630f49b3fb", kill_on_drop: false }`
[INFO] [stdout] 0690845e6cf9cfeb2286c7d42a1e92228ec047e99c481ee68915a5630f49b3fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a243dbba1a03c37be2c051f3ba049b43dd0bab858f7805708684e9673155f741
[INFO] running `Command { std: "docker" "start" "-a" "a243dbba1a03c37be2c051f3ba049b43dd0bab858f7805708684e9673155f741", kill_on_drop: false }`
[INFO] [stderr]    Compiling napi-sys v1.1.2
[INFO] [stderr]    Compiling yuuang-test-napi v1.7.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]     --> src/env.rs:1372:3
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   Box::from_raw(tagged_object);
[INFO] [stdout]      |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   let _ = Box::from_raw(tagged_object);
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.96s
[INFO] running `Command { std: "docker" "inspect" "a243dbba1a03c37be2c051f3ba049b43dd0bab858f7805708684e9673155f741", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a243dbba1a03c37be2c051f3ba049b43dd0bab858f7805708684e9673155f741", kill_on_drop: false }`
[INFO] [stdout] a243dbba1a03c37be2c051f3ba049b43dd0bab858f7805708684e9673155f741
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b36fe997f45a3a02fe3675aeb916df5d8bc95344f83b37733a4acab3c4ed0b3
[INFO] running `Command { std: "docker" "start" "-a" "8b36fe997f45a3a02fe3675aeb916df5d8bc95344f83b37733a4acab3c4ed0b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling yuuang-test-napi v1.7.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]     --> src/env.rs:1372:3
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   Box::from_raw(tagged_object);
[INFO] [stdout]      |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   let _ = Box::from_raw(tagged_object);
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]     --> src/env.rs:1372:3
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   Box::from_raw(tagged_object);
[INFO] [stdout]      |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1372 |   let _ = Box::from_raw(tagged_object);
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.75s
[INFO] running `Command { std: "docker" "inspect" "8b36fe997f45a3a02fe3675aeb916df5d8bc95344f83b37733a4acab3c4ed0b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b36fe997f45a3a02fe3675aeb916df5d8bc95344f83b37733a4acab3c4ed0b3", kill_on_drop: false }`
[INFO] [stdout] 8b36fe997f45a3a02fe3675aeb916df5d8bc95344f83b37733a4acab3c4ed0b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 35104a6edadcf2e7ef08d40247dac070cdc9a8770fd679c3d7beb0b1ca5bd4e7
[INFO] running `Command { std: "docker" "start" "-a" "35104a6edadcf2e7ef08d40247dac070cdc9a8770fd679c3d7beb0b1ca5bd4e7", kill_on_drop: false }`
[INFO] [stderr] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stderr]     --> src/env.rs:1372:3
[INFO] [stderr]      |
[INFO] [stderr] 1372 |   Box::from_raw(tagged_object);
[INFO] [stderr]      |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stderr]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1372 |   let _ = Box::from_raw(tagged_object);
[INFO] [stderr]      |   +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `yuuang-test-napi` (lib) generated 1 warning
[INFO] [stderr] warning: `yuuang-test-napi` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yuuang_test_napi-c7e030655c2465a7)
[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 yuuang-test-napi
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 41) ... FAILED
[INFO] [stdout] test src/lib.rs - register_module (line 125) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 55) ... FAILED
[INFO] [stdout] test src/js_values/function.rs - js_values::function::JsFunction (line 12) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 20) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 41) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `node`
[INFO] [stdout]  --> src/lib.rs:42:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | NAPI_RS_TOKIO_CHANNEL_BUFFER_SIZE=1000 node ./app.js
[INFO] [stdout]   |                                        ^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - register_module (line 125) stdout ----
[INFO] [stdout] error: cannot find macro `register_module` in this scope
[INFO] [stdout]  --> src/lib.rs:126:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | register_module!(test_module, init);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use yuuang_test_napi::register_module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Module` in this scope
[INFO] [stdout]  --> src/lib.rs:128:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn init(module: &mut Module) -> Result<()> {
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use yuuang_test_napi::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `native_function` in this scope
[INFO] [stdout]  --> src/lib.rs:129:50
[INFO] [stdout]   |
[INFO] [stdout] 6 |     module.create_named_method("nativeFunction", native_function)?;
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/lib.rs:128:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn init(module: &mut Module) -> Result<()> {
[INFO] [stdout]   |                                 ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]   |                                 |
[INFO] [stdout]   |                                 expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn init(module: &mut Module) -> Result<(), E> {
[INFO] [stdout]   |                                          +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 55) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ...
[INFO] [stdout]    |     ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]   --> src/lib.rs:70:3
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[js_function]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]   --> src/lib.rs:63:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[js_function(1)]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:56:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Debug, Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:56:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Debug, Deserialize)]
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CallContext` in this scope
[INFO] [stdout]   --> src/lib.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn deserialize_from_js(ctx: CallContext) -> Result<JsUndefined> {
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::CallContext;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsUndefined` in this scope
[INFO] [stdout]   --> src/lib.rs:64:52
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn deserialize_from_js(ctx: CallContext) -> Result<JsUndefined> {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::JsUndefined;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsUnknown` in this scope
[INFO] [stdout]   --> src/lib.rs:65:26
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let arg0 = ctx.get::<JsUnknown>(0)?;
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::JsUnknown;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CallContext` in this scope
[INFO] [stdout]   --> src/lib.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(ctx: CallContext) -> Result<JsUnknown> {
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::CallContext;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsUnknown` in this scope
[INFO] [stdout]   --> src/lib.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(ctx: CallContext) -> Result<JsUnknown> {
[INFO] [stdout]    |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use yuuang_test_napi::JsUnknown;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AnyObject` in this scope
[INFO] [stdout]   --> src/lib.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 4  | struct AnObject {
[INFO] [stdout]    | --------------- similarly named struct `AnObject` defined here
[INFO] [stdout] ...
[INFO] [stdout] 19 |     let value = AnyObject { a: 1, b: vec![0.1, 2.22], c: "hello" };
[INFO] [stdout]    |                 ^^^^^^^^^ help: a struct with a similar name exists: `AnObject`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:64:45
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn deserialize_from_js(ctx: CallContext) -> Result<JsUndefined> {
[INFO] [stdout]    |                                             ^^^^^^ ----------- supplied 1 generic argument
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn deserialize_from_js(ctx: CallContext) -> Result<JsUndefined, E> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:71:35
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(ctx: CallContext) -> Result<JsUnknown> {
[INFO] [stdout]    |                                   ^^^^^^ --------- supplied 1 generic argument
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(ctx: CallContext) -> Result<JsUnknown, E> {
[INFO] [stdout]    |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/js_values/function.rs - js_values::function::JsFunction (line 12) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `napi`
[INFO] [stdout]  --> src/js_values/function.rs:13:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use napi::{JsFunction, CallContext, JsNull, Result};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `napi`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]  --> src/js_values/function.rs:15:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[js_function(1)]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 20) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures`
[INFO] [stdout]  --> src/lib.rs:21:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `napi`
[INFO] [stdout]  --> src/lib.rs:22:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use napi::{CallContext, Error, JsObject, JsString, Result, Status};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `napi`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> src/lib.rs:23:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio;
[INFO] [stdout]   |     ^^^^^ no external crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]  --> src/lib.rs:25:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[js_function(1)]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/js_values/function.rs - js_values::function::JsFunction (line 12)
[INFO] [stdout]     src/lib.rs - (line 20)
[INFO] [stdout]     src/lib.rs - (line 41)
[INFO] [stdout]     src/lib.rs - (line 55)
[INFO] [stdout]     src/lib.rs - register_module (line 125)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "35104a6edadcf2e7ef08d40247dac070cdc9a8770fd679c3d7beb0b1ca5bd4e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35104a6edadcf2e7ef08d40247dac070cdc9a8770fd679c3d7beb0b1ca5bd4e7", kill_on_drop: false }`
[INFO] [stdout] 35104a6edadcf2e7ef08d40247dac070cdc9a8770fd679c3d7beb0b1ca5bd4e7
