[INFO] fetching crate yuuang-test-napi 1.7.6...
[INFO] testing yuuang-test-napi-1.7.6 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate yuuang-test-napi 1.7.6 into /workspace/builds/worker-1-tc2/source
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate yuuang-test-napi 1.7.6 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 20 packages to latest compatible versions
[INFO] [stderr]       Adding napi-sys v1.1.2 (available: v3.2.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 18df9f185c5b3c50c014268e0d5e808965a3fed678b3aa110c8bdfa928638030
[INFO] running `Command { std: "docker" "start" "-a" "18df9f185c5b3c50c014268e0d5e808965a3fed678b3aa110c8bdfa928638030", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18df9f185c5b3c50c014268e0d5e808965a3fed678b3aa110c8bdfa928638030", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18df9f185c5b3c50c014268e0d5e808965a3fed678b3aa110c8bdfa928638030", kill_on_drop: false }`
[INFO] [stdout] 18df9f185c5b3c50c014268e0d5e808965a3fed678b3aa110c8bdfa928638030
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 11dbec6a383bb2da002c6370150b2bd22b25fde7f80c4ae61f339a1a6581e112
[INFO] running `Command { std: "docker" "start" "-a" "11dbec6a383bb2da002c6370150b2bd22b25fde7f80c4ae61f339a1a6581e112", 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: field `value_type` is never read
[INFO] [stdout]  --> src/js_values/value.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Value {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |   pub value_type: ValueType,
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/env.rs:1016:35
[INFO] [stdout]      |
[INFO] [stdout] 1016 |   pub fn spawn<T: 'static + Task>(&self, task: T) -> Result<AsyncWorkPromise> {
[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] 1016 |   pub fn spawn<T: 'static + Task>(&self, task: T) -> Result<AsyncWorkPromise<'_>> {
[INFO] [stdout]      |                                                                             ++++
[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)]` (part of `#[warn(unused)]`) 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.76s
[INFO] running `Command { std: "docker" "inspect" "11dbec6a383bb2da002c6370150b2bd22b25fde7f80c4ae61f339a1a6581e112", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11dbec6a383bb2da002c6370150b2bd22b25fde7f80c4ae61f339a1a6581e112", kill_on_drop: false }`
[INFO] [stdout] 11dbec6a383bb2da002c6370150b2bd22b25fde7f80c4ae61f339a1a6581e112
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 29ae30bcff2ae0362dfa1923a9934d6a9c3b490ac2349188866b1d93b39c8d13
[INFO] running `Command { std: "docker" "start" "-a" "29ae30bcff2ae0362dfa1923a9934d6a9c3b490ac2349188866b1d93b39c8d13", kill_on_drop: false }`
[INFO] [stderr]    Compiling yuuang-test-napi v1.7.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `value_type` is never read
[INFO] [stdout]  --> src/js_values/value.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Value {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |   pub value_type: ValueType,
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/env.rs:1016:35
[INFO] [stdout]      |
[INFO] [stdout] 1016 |   pub fn spawn<T: 'static + Task>(&self, task: T) -> Result<AsyncWorkPromise> {
[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] 1016 |   pub fn spawn<T: 'static + Task>(&self, task: T) -> Result<AsyncWorkPromise<'_>> {
[INFO] [stdout]      |                                                                             ++++
[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)]` (part of `#[warn(unused)]`) 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: field `value_type` is never read
[INFO] [stdout]  --> src/js_values/value.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Value {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |   pub value_type: ValueType,
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/env.rs:1016:35
[INFO] [stdout]      |
[INFO] [stdout] 1016 |   pub fn spawn<T: 'static + Task>(&self, task: T) -> Result<AsyncWorkPromise> {
[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] 1016 |   pub fn spawn<T: 'static + Task>(&self, task: T) -> Result<AsyncWorkPromise<'_>> {
[INFO] [stdout]      |                                                                             ++++
[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)]` (part of `#[warn(unused)]`) 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s
[INFO] running `Command { std: "docker" "inspect" "29ae30bcff2ae0362dfa1923a9934d6a9c3b490ac2349188866b1d93b39c8d13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29ae30bcff2ae0362dfa1923a9934d6a9c3b490ac2349188866b1d93b39c8d13", kill_on_drop: false }`
[INFO] [stdout] 29ae30bcff2ae0362dfa1923a9934d6a9c3b490ac2349188866b1d93b39c8d13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 36245a3a694c162e5769639e140d39bcb30146e495afbdb6b54ce7fff76c6834
[INFO] running `Command { std: "docker" "start" "-a" "36245a3a694c162e5769639e140d39bcb30146e495afbdb6b54ce7fff76c6834", kill_on_drop: false }`
[INFO] [stderr] warning: field `value_type` is never read
[INFO] [stderr]  --> src/js_values/value.rs:9:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct Value {
[INFO] [stderr]   |            ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 9 |   pub value_type: ValueType,
[INFO] [stderr]   |       ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]     --> src/env.rs:1016:35
[INFO] [stderr]      |
[INFO] [stderr] 1016 |   pub fn spawn<T: 'static + Task>(&self, task: T) -> Result<AsyncWorkPromise> {
[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] 1016 |   pub fn spawn<T: 'static + Task>(&self, task: T) -> Result<AsyncWorkPromise<'_>> {
[INFO] [stderr]      |                                                                             ++++
[INFO] [stderr] 
[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)]` (part of `#[warn(unused)]`) 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 3 warnings (run `cargo fix --lib -p yuuang-test-napi` to apply 1 suggestion)
[INFO] [stderr] warning: `yuuang-test-napi` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/yuuang-test-napi/1d447741f2ddb2c9/deps/yuuang_test_napi-1d447741f2ddb2c9)
[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 `::`, found `=`
[INFO] [stdout]   --> src/lib.rs:42:34
[INFO] [stdout]    |
[INFO] [stdout] 42 | NAPI_RS_TOKIO_CHANNEL_BUFFER_SIZE=1000 node ./app.js
[INFO] [stdout]    |                                  ^ expected one of `!` or `::`
[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 - (line 55) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 67 -     ...
[INFO] [stdout] 67 +     ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 67 -     ...
[INFO] [stdout] 67 +     ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ...
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 67 -     ...
[INFO] [stdout] 67 +     ..
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]   --> src/lib.rs:70:3
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[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] 63 | #[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] 56 | #[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] 56 | #[derive(Serialize, Debug, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CallContext` in this scope
[INFO] [stdout]   --> src/lib.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 | 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] 55 + use yuuang_test_napi::CallContext;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsUndefined` in this scope
[INFO] [stdout]   --> src/lib.rs:64:52
[INFO] [stdout]    |
[INFO] [stdout] 64 | 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] 55 + use yuuang_test_napi::JsUndefined;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsUnknown` in this scope
[INFO] [stdout]   --> src/lib.rs:65:26
[INFO] [stdout]    |
[INFO] [stdout] 65 |     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] 55 + use yuuang_test_napi::JsUnknown;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CallContext` in this scope
[INFO] [stdout]   --> src/lib.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 | 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] 55 + use yuuang_test_napi::CallContext;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsUnknown` in this scope
[INFO] [stdout]   --> src/lib.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 | 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] 55 + 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] 57 | struct AnObject {
[INFO] [stdout]    | --------------- similarly named struct `AnObject` defined here
[INFO] [stdout] ...
[INFO] [stdout] 72 |     let value = AnyObject { a: 1, b: vec![0.1, 2.22], c: "hello" };
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 72 -     let value = AnyObject { a: 1, b: vec![0.1, 2.22], c: "hello" };
[INFO] [stdout] 72 +     let value = AnObject { a: 1, b: vec![0.1, 2.22], c: "hello" };
[INFO] [stdout]    |
[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] 64 | 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] 64 | 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] 71 | 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] 71 | 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, E0422, E0425, 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] 126 | register_module!(test_module, init);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 125 + use yuuang_test_napi::register_module;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Module` in this scope
[INFO] [stdout]    --> src/lib.rs:128:22
[INFO] [stdout]     |
[INFO] [stdout] 128 | 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] 125 + 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] 129 |     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] 128 | 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] 128 | 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, 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] 13 | use napi::{JsFunction, CallContext, JsNull, Result};
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `napi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `napi`, use `cargo add napi` to add it to your `Cargo.toml`
[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] 15 | #[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 unresolved module or unlinked crate `futures`
[INFO] [stdout]   --> src/lib.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use futures::prelude::*;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `futures`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `napi`
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use napi::{CallContext, Error, JsObject, JsString, Result, Status};
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `napi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `napi`, use `cargo add napi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]   --> src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use tokio;
[INFO] [stdout]    |     ^^^^^ no external crate `tokio`
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]   --> src/lib.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[js_function(1)]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |           .map(|v| v.map_err(|e| Error::new(Status::Unknown, format!("failed to read file, {}", e)))),
[INFO] [stdout]    |                 ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 31 |           .map(|v: /* Type */| v.map_err(|e| Error::new(Status::Unknown, format!("failed to read file, {}", e)))),
[INFO] [stdout]    |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&mut _`
[INFO] [stdout]   --> src/lib.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 |         |&mut env, data| env.create_buffer_with_data(data),
[INFO] [stdout]    |          ^^^^^^^^        --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]    |
[INFO] [stdout] 32 |         |&mut env: &mut _, data| env.create_buffer_with_data(data),
[INFO] [stdout]    |                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[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.27s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "36245a3a694c162e5769639e140d39bcb30146e495afbdb6b54ce7fff76c6834", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36245a3a694c162e5769639e140d39bcb30146e495afbdb6b54ce7fff76c6834", kill_on_drop: false }`
[INFO] [stdout] 36245a3a694c162e5769639e140d39bcb30146e495afbdb6b54ce7fff76c6834
