[INFO] fetching crate edon 0.0.27... [INFO] testing edon-0.0.27 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate edon 0.0.27 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate edon 0.0.27 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.4.2 [INFO] [stderr] Downloaded ctor-proc-macro v0.0.5 [INFO] [stderr] Downloaded dtor-proc-macro v0.0.5 [INFO] [stderr] Downloaded windows-strings v0.4.0 [INFO] [stderr] Downloaded dtor v0.0.6 [INFO] [stderr] Downloaded windows-core v0.61.0 [INFO] [stderr] Downloaded libnode_sys v0.0.7 [INFO] [stderr] Downloaded libffi-sys v3.2.0 [INFO] [stderr] Downloaded cc v1.2.19 [INFO] [stderr] Downloaded libffi v4.0.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f98bd33c447cd00365187eca91d3c9026b88d6530d979e1d9c86c7718fbe869 [INFO] running `Command { std: "docker" "start" "-a" "4f98bd33c447cd00365187eca91d3c9026b88d6530d979e1d9c86c7718fbe869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f98bd33c447cd00365187eca91d3c9026b88d6530d979e1d9c86c7718fbe869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f98bd33c447cd00365187eca91d3c9026b88d6530d979e1d9c86c7718fbe869", kill_on_drop: false }` [INFO] [stdout] 4f98bd33c447cd00365187eca91d3c9026b88d6530d979e1d9c86c7718fbe869 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39c4240f348d15c3ffd5a2f7941338304cc886f474b8c430b91680c1d6c66bc8 [INFO] running `Command { std: "docker" "start" "-a" "39c4240f348d15c3ffd5a2f7941338304cc886f474b8c430b91680c1d6c66bc8", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.19 [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 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 33.91s [INFO] running `Command { std: "docker" "inspect" "39c4240f348d15c3ffd5a2f7941338304cc886f474b8c430b91680c1d6c66bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c4240f348d15c3ffd5a2f7941338304cc886f474b8c430b91680c1d6c66bc8", kill_on_drop: false }` [INFO] [stdout] 39c4240f348d15c3ffd5a2f7941338304cc886f474b8c430b91680c1d6c66bc8 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 279ab1edee6c56a1f6753b9a19343f74db8cf170121b723c776f36a13ebcbbd6 [INFO] running `Command { std: "docker" "start" "-a" "279ab1edee6c56a1f6753b9a19343f74db8cf170121b723c776f36a13ebcbbd6", kill_on_drop: false }` [INFO] [stderr] Compiling edon v0.0.27 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.43s [INFO] running `Command { std: "docker" "inspect" "279ab1edee6c56a1f6753b9a19343f74db8cf170121b723c776f36a13ebcbbd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "279ab1edee6c56a1f6753b9a19343f74db8cf170121b723c776f36a13ebcbbd6", kill_on_drop: false }` [INFO] [stdout] 279ab1edee6c56a1f6753b9a19343f74db8cf170121b723c776f36a13ebcbbd6 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85807c6e0bf95ccd5f3f80e497f3f7e77c50f28acf25ff91c687e75daab161f5 [INFO] running `Command { std: "docker" "start" "-a" "85807c6e0bf95ccd5f3f80e497f3f7e77c50f28acf25ff91c687e75daab161f5", 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] [stderr] Doc-tests edon [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 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_default (line 59) ... FAILED [INFO] [stdout] test src/nodejs.rs - nodejs::Nodejs::load_with_args (line 33) ... FAILED [INFO] [stdout] test src/nodejs.rs - nodejs::Nodejs::load (line 69) ... 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] 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/js_values/bigint.rs - napi::bindgen_runtime::js_values::bigint::ptr (line 3) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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_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 (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/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] ---- 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/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] [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.53s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "85807c6e0bf95ccd5f3f80e497f3f7e77c50f28acf25ff91c687e75daab161f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85807c6e0bf95ccd5f3f80e497f3f7e77c50f28acf25ff91c687e75daab161f5", kill_on_drop: false }` [INFO] [stdout] 85807c6e0bf95ccd5f3f80e497f3f7e77c50f28acf25ff91c687e75daab161f5