[INFO] fetching crate napi 2.6.2...
[INFO] testing napi-2.6.2 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate napi 2.6.2 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate napi 2.6.2 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate napi 2.6.2
[INFO] finished tweaking crates.io crate napi 2.6.2
[INFO] tweaked toml for crates.io crate napi 2.6.2 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f1e11436fdae707fe8c8ba4305d1b4b43332956e0c745d225194b1caab826a1f
[INFO] running `Command { std: "docker" "start" "-a" "f1e11436fdae707fe8c8ba4305d1b4b43332956e0c745d225194b1caab826a1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1e11436fdae707fe8c8ba4305d1b4b43332956e0c745d225194b1caab826a1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1e11436fdae707fe8c8ba4305d1b4b43332956e0c745d225194b1caab826a1f", kill_on_drop: false }`
[INFO] [stdout] f1e11436fdae707fe8c8ba4305d1b4b43332956e0c745d225194b1caab826a1f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9947eccf399952c91a98c9d452722cca72f6789f4ba0a5b830fc2f3cc14c5c29
[INFO] running `Command { std: "docker" "start" "-a" "9947eccf399952c91a98c9d452722cca72f6789f4ba0a5b830fc2f3cc14c5c29", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling napi-sys v2.2.2
[INFO] [stderr]    Compiling thread_local v1.1.4
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling ctor v0.1.22
[INFO] [stderr]    Compiling napi v2.6.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.07s
[INFO] running `Command { std: "docker" "inspect" "9947eccf399952c91a98c9d452722cca72f6789f4ba0a5b830fc2f3cc14c5c29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9947eccf399952c91a98c9d452722cca72f6789f4ba0a5b830fc2f3cc14c5c29", kill_on_drop: false }`
[INFO] [stdout] 9947eccf399952c91a98c9d452722cca72f6789f4ba0a5b830fc2f3cc14c5c29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6781bd6dc5223eb330ccd5d096b0fd0f95399c137ad4af0c287b071490735380
[INFO] running `Command { std: "docker" "start" "-a" "6781bd6dc5223eb330ccd5d096b0fd0f95399c137ad4af0c287b071490735380", kill_on_drop: false }`
[INFO] [stderr]    Compiling napi v2.6.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.71s
[INFO] running `Command { std: "docker" "inspect" "6781bd6dc5223eb330ccd5d096b0fd0f95399c137ad4af0c287b071490735380", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6781bd6dc5223eb330ccd5d096b0fd0f95399c137ad4af0c287b071490735380", kill_on_drop: false }`
[INFO] [stdout] 6781bd6dc5223eb330ccd5d096b0fd0f95399c137ad4af0c287b071490735380
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f6836d610259d87196c378ccf4507ecbb33e1e689716669e5a1fff6256facd85
[INFO] running `Command { std: "docker" "start" "-a" "f6836d610259d87196c378ccf4507ecbb33e1e689716669e5a1fff6256facd85", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/napi-0d75c1aa9453e834)
[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 napi
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - (line 40) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 21) ... FAILED
[INFO] [stdout] test src/bindgen_runtime/module_register.rs - bindgen_runtime::module_register::get_js_function (line 169) ... FAILED
[INFO] [stdout] test src/bindgen_runtime/module_register.rs - bindgen_runtime::module_register::get_c_callback (line 221) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 54) ... FAILED
[INFO] [stdout] test src/js_values/function.rs - js_values::function::JsFunction (line 28) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 40) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `node`
[INFO] [stdout]  --> src/lib.rs:41: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 21) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures`
[INFO] [stdout]  --> src/lib.rs:22:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `futures`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> src/lib.rs:24:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio;
[INFO] [stdout]   |     ^^^^^ no external crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `napi` in this scope
[INFO] [stdout]  --> src/lib.rs:26:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[napi]
[INFO] [stdout]   |   ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `napi` is imported here, but it is a crate, not an attribute
[INFO] [stdout]  --> src/lib.rs:20:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate r#napi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsBuffer` in this scope
[INFO] [stdout]  --> src/lib.rs:27:60
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn tokio_readfile(js_filepath: String) -> Result<JsBuffer> {
[INFO] [stdout]   |                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use napi::JsBuffer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope
[INFO] [stdout]   --> src/lib.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ctx.env.execute_tokio_future(
[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: E0412, E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bindgen_runtime/module_register.rs - bindgen_runtime::module_register::get_js_function (line 169) stdout ----
[INFO] [stdout] error: cannot find attribute `napi` in this scope
[INFO] [stdout]  --> src/bindgen_runtime/module_register.rs:175:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[napi]
[INFO] [stdout]   |   ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `napi` is imported here, but it is a crate, not an attribute
[INFO] [stdout]  --> src/bindgen_runtime/module_register.rs:168:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate r#napi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `napi` in this scope
[INFO] [stdout]  --> src/bindgen_runtime/module_register.rs:170:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[napi]
[INFO] [stdout]   |   ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `napi` is imported here, but it is a crate, not an attribute
[INFO] [stdout]  --> src/bindgen_runtime/module_register.rs:168:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate r#napi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsFunction` in this scope
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:176:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn return_some_fn() -> Result<JsFunction> {
[INFO] [stdout]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use napi::JsFunction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_js_function` in this scope
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:177:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     get_js_function(some_fn_js_function)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use napi::bindgen_prelude::get_js_function;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `some_fn_js_function` in this scope
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:177:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     get_js_function(some_fn_js_function)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:176:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn return_some_fn() -> Result<JsFunction> {
[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] 10 | fn return_some_fn() -> Result<JsFunction, E> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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/bindgen_runtime/module_register.rs - bindgen_runtime::module_register::get_c_callback (line 221) stdout ----
[INFO] [stdout] error: cannot find attribute `napi` in this scope
[INFO] [stdout]  --> src/bindgen_runtime/module_register.rs:227:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[napi]
[INFO] [stdout]   |   ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `napi` is imported here, but it is a crate, not an attribute
[INFO] [stdout]  --> src/bindgen_runtime/module_register.rs:220:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate r#napi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `napi` in this scope
[INFO] [stdout]  --> src/bindgen_runtime/module_register.rs:222:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[napi]
[INFO] [stdout]   |   ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `napi` is imported here, but it is a crate, not an attribute
[INFO] [stdout]  --> src/bindgen_runtime/module_register.rs:220:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate r#napi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Env` in this scope
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:228:20
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn create_obj(env: Env) -> Result<JsObject> {
[INFO] [stdout]    |                    ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use napi::Env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsObject` in this scope
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:228:35
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn create_obj(env: Env) -> Result<JsObject> {
[INFO] [stdout]    |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use napi::JsObject;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property`
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:230:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     obj.define_property(&[Property::new("getter")?.with_getter(get_c_callback(some_fn_js_function)?)])?;
[INFO] [stdout]    |                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use napi::Property;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_c_callback` in this scope
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:230:64
[INFO] [stdout]    |
[INFO] [stdout] 12 |     obj.define_property(&[Property::new("getter")?.with_getter(get_c_callback(some_fn_js_function)?)])?;
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use napi::bindgen_prelude::get_c_callback;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `some_fn_js_function` in this scope
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:230:79
[INFO] [stdout]    |
[INFO] [stdout] 12 |     obj.define_property(&[Property::new("getter")?.with_getter(get_c_callback(some_fn_js_function)?)])?;
[INFO] [stdout]    |                                                                               ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/bindgen_runtime/module_register.rs:228:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn create_obj(env: Env) -> Result<JsObject> {
[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] 10 | fn create_obj(env: Env) -> Result<JsObject, E> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433.
[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 54) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:65: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:65: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 `napi` in this scope
[INFO] [stdout]   --> src/lib.rs:68:3
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[napi]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `napi` is imported here, but it is a crate, not an attribute
[INFO] [stdout]   --> src/lib.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | extern crate r#napi;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `napi` in this scope
[INFO] [stdout]   --> src/lib.rs:62:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[napi]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `napi` is imported here, but it is a crate, not an attribute
[INFO] [stdout]   --> src/lib.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | extern crate r#napi;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:55:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Serialize, Debug, Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:55:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Serialize, Debug, Deserialize)]
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsUnknown` in this scope
[INFO] [stdout]   --> src/lib.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn deserialize_from_js(arg0: JsUnknown) -> Result<JsUndefined> {
[INFO] [stdout]    |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use napi::JsUnknown;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsUndefined` in this scope
[INFO] [stdout]   --> src/lib.rs:63:51
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn deserialize_from_js(arg0: JsUnknown) -> Result<JsUndefined> {
[INFO] [stdout]    |                                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use napi::JsUndefined;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope
[INFO] [stdout]   --> src/lib.rs:64:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let de_serialized: AnObject = ctx.env.from_js_value(arg0)?;
[INFO] [stdout]    |                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Env` in this scope
[INFO] [stdout]   --> src/lib.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(env: Env) -> Result<JsUnknown> {
[INFO] [stdout]    |                   ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use napi::Env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsUnknown` in this scope
[INFO] [stdout]   --> src/lib.rs:69:34
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(env: Env) -> Result<JsUnknown> {
[INFO] [stdout]    |                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use 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:70:17
[INFO] [stdout]    |
[INFO] [stdout] 5  | 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]: this enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:63:44
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn deserialize_from_js(arg0: JsUnknown) -> 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] 12 | fn deserialize_from_js(arg0: JsUnknown) -> Result<JsUndefined, E> {
[INFO] [stdout]    |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:69:27
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn serialize(env: Env) -> 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(env: Env) -> 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, E0425, 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 28) stdout ----
[INFO] [stdout] error: cannot find attribute `js_function` in this scope
[INFO] [stdout]  --> src/js_values/function.rs:31:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[js_function(1)]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]  --> src/js_values/function.rs:34:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let js_string = ctx.env.create_string("hello".as_ref())?.into_unknown()?;
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `JsUnknown`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Try` is not implemented for `JsUnknown`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/bindgen_runtime/module_register.rs - bindgen_runtime::module_register::get_c_callback (line 221)
[INFO] [stdout]     src/bindgen_runtime/module_register.rs - bindgen_runtime::module_register::get_js_function (line 169)
[INFO] [stdout]     src/js_values/function.rs - js_values::function::JsFunction (line 28)
[INFO] [stdout]     src/lib.rs - (line 21)
[INFO] [stdout]     src/lib.rs - (line 40)
[INFO] [stdout]     src/lib.rs - (line 54)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "f6836d610259d87196c378ccf4507ecbb33e1e689716669e5a1fff6256facd85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6836d610259d87196c378ccf4507ecbb33e1e689716669e5a1fff6256facd85", kill_on_drop: false }`
[INFO] [stdout] f6836d610259d87196c378ccf4507ecbb33e1e689716669e5a1fff6256facd85
