[INFO] fetching crate edon 0.0.27... [INFO] testing edon-0.0.27 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate edon 0.0.27 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate edon 0.0.27 [INFO] finished tweaking crates.io crate edon 0.0.27 [INFO] tweaked toml for crates.io crate edon 0.0.27 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate edon 0.0.27 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate edon 0.0.27 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6dae3437f4e12033bc7dc04af7420acd72d8df5340929de03ae5ed314e3b4ec [INFO] running `Command { std: "docker" "start" "-a" "e6dae3437f4e12033bc7dc04af7420acd72d8df5340929de03ae5ed314e3b4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6dae3437f4e12033bc7dc04af7420acd72d8df5340929de03ae5ed314e3b4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6dae3437f4e12033bc7dc04af7420acd72d8df5340929de03ae5ed314e3b4ec", kill_on_drop: false }` [INFO] [stdout] e6dae3437f4e12033bc7dc04af7420acd72d8df5340929de03ae5ed314e3b4ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64e6491824a2be340d12dc78af3b79438f6e01587dfe0df3ad3aef03285df595 [INFO] running `Command { std: "docker" "start" "-a" "64e6491824a2be340d12dc78af3b79438f6e01587dfe0df3ad3aef03285df595", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Compiling ctor-proc-macro v0.0.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling libnode_sys v0.0.7 [INFO] [stderr] Compiling dtor v0.0.6 [INFO] [stderr] Compiling ctor v0.4.2 [INFO] [stderr] Compiling libffi-sys v3.2.0 [INFO] [stderr] Compiling libffi v4.0.0 [INFO] [stderr] Compiling edon v0.0.27 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.25s [INFO] running `Command { std: "docker" "inspect" "64e6491824a2be340d12dc78af3b79438f6e01587dfe0df3ad3aef03285df595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e6491824a2be340d12dc78af3b79438f6e01587dfe0df3ad3aef03285df595", kill_on_drop: false }` [INFO] [stdout] 64e6491824a2be340d12dc78af3b79438f6e01587dfe0df3ad3aef03285df595 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c403b2e82fd5058ac3b5aa47beb06899321f205709e16ef25a0936978f8cb99 [INFO] running `Command { std: "docker" "start" "-a" "0c403b2e82fd5058ac3b5aa47beb06899321f205709e16ef25a0936978f8cb99", kill_on_drop: false }` [INFO] [stderr] Compiling edon v0.0.27 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.67s [INFO] running `Command { std: "docker" "inspect" "0c403b2e82fd5058ac3b5aa47beb06899321f205709e16ef25a0936978f8cb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c403b2e82fd5058ac3b5aa47beb06899321f205709e16ef25a0936978f8cb99", kill_on_drop: false }` [INFO] [stdout] 0c403b2e82fd5058ac3b5aa47beb06899321f205709e16ef25a0936978f8cb99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cec0f83500884238fd1ac21c4696fd3ddccc430100c6c19ebdecef646fb00f98 [INFO] running `Command { std: "docker" "start" "-a" "cec0f83500884238fd1ac21c4696fd3ddccc430100c6c19ebdecef646fb00f98", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/edon-8fbd995d6de40ec8) [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 edon [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/napi/threadsafe_function.rs - napi::threadsafe_function::ErrorStrategy (line 107) ... ignored [INFO] [stdout] test src/napi/threadsafe_function.rs - napi::threadsafe_function::ErrorStrategy (line 117) ... ignored [INFO] [stdout] test src/napi/threadsafe_function.rs - napi::threadsafe_function::ErrorStrategy (line 73) ... ignored [INFO] [stdout] test src/nodejs.rs - nodejs::Nodejs::load_with_args (line 33) ... FAILED [INFO] [stdout] test src/nodejs.rs - nodejs::Nodejs::load_default (line 59) ... FAILED [INFO] [stdout] test src/nodejs.rs - nodejs::Nodejs::load (line 69) ... FAILED [INFO] [stdout] test src/napi/bindgen_runtime/js_values/bigint.rs - napi::bindgen_runtime::js_values::bigint::ptr (line 3) ... FAILED [INFO] [stdout] test src/napi/bindgen_runtime/module_register.rs - napi::bindgen_runtime::module_register::get_js_function (line 159) ... FAILED [INFO] [stdout] test src/napi/bindgen_runtime/module_register.rs - napi::bindgen_runtime::module_register::get_c_callback (line 213) ... FAILED [INFO] [stdout] test src/napi/threadsafe_function.rs - napi::threadsafe_function::ThreadsafeFunction (line 218) ... FAILED [INFO] [stdout] test src/napi/js_values/function.rs - napi::js_values::function::JsFunction (line 37) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/nodejs.rs - nodejs::Nodejs::load_with_args (line 33) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/nodejs.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 1 | Windows: "libnode.dll" [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/nodejs.rs - nodejs::Nodejs::load_default (line 59) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/nodejs.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 1 | Windows: "libnode.dll" [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/nodejs.rs - nodejs::Nodejs::load (line 69) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/nodejs.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 1 | Windows: "libnode.dll" [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/napi/bindgen_runtime/js_values/bigint.rs - napi::bindgen_runtime::js_values::bigint::ptr (line 3) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `napi` [INFO] [stdout] --> src/napi/bindgen_runtime/js_values/bigint.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use napi::{bindgen_prelude::*, JsBigint}; [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 `napi` [INFO] [stdout] --> src/napi/bindgen_runtime/js_values/bigint.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use napi::{bindgen_prelude::*, JsBigint}; [INFO] [stdout] | ^^^^ help: a similar path exists: `edon::napi` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `napi` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/js_values/bigint.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[napi] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bigint` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/js_values/bigint.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn bigint_add(mut a: Bigint, mut b: Bigint) -> u128 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bigint` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/js_values/bigint.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 6 | fn bigint_add(mut a: Bigint, mut b: Bigint) -> u128 { [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, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/napi/bindgen_runtime/module_register.rs - napi::bindgen_runtime::module_register::get_js_function (line 159) stdout ---- [INFO] [stdout] error: cannot find attribute `napi` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[napi] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `napi` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[napi] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsFunction` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 9 | fn return_some_fn() -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use edon::js_values::JsFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_js_function` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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 edon::napi::get_js_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_fn_js_function` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 10 | get_js_function(some_fn_js_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/napi/bindgen_runtime/module_register.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 9 | fn return_some_fn() -> 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] 9 | fn return_some_fn() -> Result { [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/napi/bindgen_runtime/module_register.rs - napi::bindgen_runtime::module_register::get_c_callback (line 213) stdout ---- [INFO] [stdout] error: cannot find attribute `napi` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[napi] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `napi` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[napi] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Env` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 9 | fn create_obj(env: Env) -> Result { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use edon::Env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsObject` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:220:35 [INFO] [stdout] | [INFO] [stdout] 9 | fn create_obj(env: Env) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use edon::js_values::JsObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 11 | obj.define_property(&[Property::new("getter")?.with_getter(get_c_callback(some_fn_js_function)?)])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use edon::js_values::Property; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_c_callback` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:222:64 [INFO] [stdout] | [INFO] [stdout] 11 | 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 edon::napi::get_c_callback; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_fn_js_function` in this scope [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:222:79 [INFO] [stdout] | [INFO] [stdout] 11 | 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]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/napi/bindgen_runtime/module_register.rs:220:28 [INFO] [stdout] | [INFO] [stdout] 9 | fn create_obj(env: Env) -> 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] 9 | fn create_obj(env: Env) -> Result { [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/napi/threadsafe_function.rs - napi::threadsafe_function::ThreadsafeFunction (line 218) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `napi_derive` [INFO] [stdout] --> src/napi/threadsafe_function.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate napi_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `napi` [INFO] [stdout] --> src/napi/threadsafe_function.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 7 | use napi::{ [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 `napi` [INFO] [stdout] --> src/napi/threadsafe_function.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 7 | use napi::{ [INFO] [stdout] | ^^^^ help: a similar path exists: `edon::napi` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `js_function` in this scope [INFO] [stdout] --> src/napi/threadsafe_function.rs:230:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[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, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/napi/js_values/function.rs - napi::js_values::function::JsFunction (line 37) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `napi` [INFO] [stdout] --> src/napi/js_values/function.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 3 | use napi::{JsFunction, CallContext, JsNull, Result}; [INFO] [stdout] | ^^^^ help: a similar path exists: `edon::napi` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `js_function` in this scope [INFO] [stdout] --> src/napi/js_values/function.rs:40: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] [INFO] [stdout] failures: [INFO] [stdout] src/napi/bindgen_runtime/js_values/bigint.rs - napi::bindgen_runtime::js_values::bigint::ptr (line 3) [INFO] [stdout] src/napi/bindgen_runtime/module_register.rs - napi::bindgen_runtime::module_register::get_c_callback (line 213) [INFO] [stdout] src/napi/bindgen_runtime/module_register.rs - napi::bindgen_runtime::module_register::get_js_function (line 159) [INFO] [stdout] src/napi/js_values/function.rs - napi::js_values::function::JsFunction (line 37) [INFO] [stdout] src/napi/threadsafe_function.rs - napi::threadsafe_function::ThreadsafeFunction (line 218) [INFO] [stdout] src/nodejs.rs - nodejs::Nodejs::load (line 69) [INFO] [stdout] src/nodejs.rs - nodejs::Nodejs::load_default (line 59) [INFO] [stdout] src/nodejs.rs - nodejs::Nodejs::load_with_args (line 33) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cec0f83500884238fd1ac21c4696fd3ddccc430100c6c19ebdecef646fb00f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec0f83500884238fd1ac21c4696fd3ddccc430100c6c19ebdecef646fb00f98", kill_on_drop: false }` [INFO] [stdout] cec0f83500884238fd1ac21c4696fd3ddccc430100c6c19ebdecef646fb00f98