[INFO] fetching crate pinar 0.1.0... [INFO] testing pinar-0.1.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate pinar 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pinar 0.1.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pinar 0.1.0 [INFO] finished tweaking crates.io crate pinar 0.1.0 [INFO] tweaked toml for crates.io crate pinar 0.1.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ebd2bb0e4c907c409ea28d03df88dc10a5692bdeb17535ae9dfcd8a8858231b [INFO] running `Command { std: "docker" "start" "-a" "5ebd2bb0e4c907c409ea28d03df88dc10a5692bdeb17535ae9dfcd8a8858231b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ebd2bb0e4c907c409ea28d03df88dc10a5692bdeb17535ae9dfcd8a8858231b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ebd2bb0e4c907c409ea28d03df88dc10a5692bdeb17535ae9dfcd8a8858231b", kill_on_drop: false }` [INFO] [stdout] 5ebd2bb0e4c907c409ea28d03df88dc10a5692bdeb17535ae9dfcd8a8858231b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5568c7a4c2b9189527a94b8692124e6abb96bf3e2646b82de0666e349b0f7b13 [INFO] running `Command { std: "docker" "start" "-a" "5568c7a4c2b9189527a94b8692124e6abb96bf3e2646b82de0666e349b0f7b13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling pinar-napi-sys v0.1.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pinar-derive v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pinar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/module.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) functions: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CallbackHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/module.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | fun: Box R> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn(A) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | cause: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn JsError` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn as_js_error(&self) -> &JsError { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn JsError` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | fn as_fail(&self) -> &Fail; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn as_fail(&self) -> &Fail { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/classes.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JsError, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | methods: Vec>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | method: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | accessor: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | fun: Box R>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&C, A) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pinar_serde/ser.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pinar_serde/de.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Fail::downcast_ref(self.cause.as_fail()) [INFO] [stdout] | ^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsError` [INFO] [stdout] --> src/classes.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JsError, Error}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | fn test9(args: ()) -> ABC { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/lib.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | fn test12<'e>((env, s1, obj): (Env, JsString, JsObject)) -> JsString<'e> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/lib.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | fn test12<'e>((env, s1, obj): (Env, JsString, JsObject)) -> JsString<'e> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/lib.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | fn test13<'e>((env, abc): (Env, ABC)) -> ABC { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real` [INFO] [stdout] --> src/classes.rs:392:12 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn real(&self, a: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real2` [INFO] [stdout] --> src/classes.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn real2(&self, a: (String, i64)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `other` [INFO] [stdout] --> src/classes.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn other(&self, a: u64, b: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jsbox` [INFO] [stdout] --> src/classes.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn jsbox(&self, _args: Option) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/classes.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn test(env: Env) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testfn` [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn testfn(fun: JsFunction) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.76s [INFO] running `Command { std: "docker" "inspect" "5568c7a4c2b9189527a94b8692124e6abb96bf3e2646b82de0666e349b0f7b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5568c7a4c2b9189527a94b8692124e6abb96bf3e2646b82de0666e349b0f7b13", kill_on_drop: false }` [INFO] [stdout] 5568c7a4c2b9189527a94b8692124e6abb96bf3e2646b82de0666e349b0f7b13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed3c41c56103dd59f2df8c0ed0fd401b689cacf3d24347f9ab067b531c8857a5 [INFO] running `Command { std: "docker" "start" "-a" "ed3c41c56103dd59f2df8c0ed0fd401b689cacf3d24347f9ab067b531c8857a5", kill_on_drop: false }` [INFO] [stderr] Compiling pinar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/module.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) functions: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CallbackHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/module.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | fun: Box R> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn(A) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | cause: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn JsError` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn as_js_error(&self) -> &JsError { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn JsError` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | fn as_fail(&self) -> &Fail; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn as_fail(&self) -> &Fail { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/classes.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JsError, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | methods: Vec>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | method: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | accessor: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | fun: Box R>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&C, A) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pinar_serde/ser.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pinar_serde/de.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Fail::downcast_ref(self.cause.as_fail()) [INFO] [stdout] | ^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsError` [INFO] [stdout] --> src/classes.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JsError, Error}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | fn test9(args: ()) -> ABC { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/lib.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | fn test12<'e>((env, s1, obj): (Env, JsString, JsObject)) -> JsString<'e> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/lib.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | fn test12<'e>((env, s1, obj): (Env, JsString, JsObject)) -> JsString<'e> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/lib.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | fn test13<'e>((env, abc): (Env, ABC)) -> ABC { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real` [INFO] [stdout] --> src/classes.rs:392:12 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn real(&self, a: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real2` [INFO] [stdout] --> src/classes.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn real2(&self, a: (String, i64)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `other` [INFO] [stdout] --> src/classes.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn other(&self, a: u64, b: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jsbox` [INFO] [stdout] --> src/classes.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn jsbox(&self, _args: Option) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/classes.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn test(env: Env) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testfn` [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn testfn(fun: JsFunction) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.2lvl5rrk7o0ur5f6.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-08487f8e282f19e0.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-9e93f1ef523b9dfd.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-fd135b1b487350d3.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-6d527484b6287cb3.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-91c5e579413a9548.rlib" "/opt/rustwide/target/debug/deps/libserde-f88747e9552afb9f.rlib" "/opt/rustwide/target/debug/deps/libfailure-eca02ce7d014f745.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-c76fbdc01e893fc9.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b9be161bd4ca1b40.rlib" "/opt/rustwide/target/debug/deps/libadler-04e4bd7392188ec3.rlib" "/opt/rustwide/target/debug/deps/libobject-4bc8d856264275c5.rlib" "/opt/rustwide/target/debug/deps/libmemchr-ca2af6e3a9813893.rlib" "/opt/rustwide/target/debug/deps/liblibc-f9bbf1ad0e0ddfcf.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-67240bb27da42d10.rlib" "/opt/rustwide/target/debug/deps/libgimli-aa98cf42ec5edf0e.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-477585129feec44c.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-066fc8b4483e5e43.rlib" "/opt/rustwide/target/debug/deps/libpinar_napi_sys-691afb117c00bbcb.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/pinar-43035edc939ce61a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.14.rcgu.o: in function `>::to_rust': [INFO] [stdout] /opt/rustwide/workdir/src/to_rust.rs:38: undefined reference to `napi_get_value_int64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.14.rcgu.o: in function `>::to_rust': [INFO] [stdout] /opt/rustwide/workdir/src/to_rust.rs:94: undefined reference to `napi_get_value_bool' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.3.rcgu.o: in function `pinar::__REGISTER_MODULE::register_module': [INFO] [stdout] /opt/rustwide/workdir/src/lib.rs:199: undefined reference to `napi_module_register' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.4.rcgu.o: in function `pinar::objects::external::JsExternal::get_external': [INFO] [stdout] /opt/rustwide/workdir/src/objects/external.rs:20: undefined reference to `napi_get_value_external' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.6.rcgu.o: in function `pinar::objects::array::JsArray::len': [INFO] [stdout] /opt/rustwide/workdir/src/objects/array.rs:28: undefined reference to `napi_get_array_length' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.6.rcgu.o: in function `pinar::objects::array::JsArray::set': [INFO] [stdout] /opt/rustwide/workdir/src/objects/array.rs:43: undefined reference to `napi_set_element' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.6.rcgu.o: in function `pinar::objects::array::JsArray::set': [INFO] [stdout] /opt/rustwide/workdir/src/objects/array.rs:43: undefined reference to `napi_set_element' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.6.rcgu.o: in function `pinar::objects::array::JsArray::get': [INFO] [stdout] /opt/rustwide/workdir/src/objects/array.rs:56: undefined reference to `napi_get_element' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.6.rcgu.o: in function `pinar::objects::array::JsArray::get_value': [INFO] [stdout] /opt/rustwide/workdir/src/objects/array.rs:68: undefined reference to `napi_get_element' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.6.rcgu.o: in function `pinar::objects::value::Value::type_of': [INFO] [stdout] /opt/rustwide/workdir/src/objects/value.rs:48: undefined reference to `napi_typeof' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.6.rcgu.o: in function `pinar::objects::value::Value::is_array': [INFO] [stdout] /opt/rustwide/workdir/src/objects/value.rs:60: undefined reference to `napi_is_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `::__pinar_class_constructor::{{closure}}': [INFO] [stdout] /opt/rustwide/workdir/src/classes.rs:108: undefined reference to `napi_wrap' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::classes::ClassBuilder::create_internal': [INFO] [stdout] /opt/rustwide/workdir/src/classes.rs:293: undefined reference to `napi_define_class' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/classes.rs:303: undefined reference to `napi_add_finalizer' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::objects::string::JsString::len': [INFO] [stdout] /opt/rustwide/workdir/src/objects/string.rs:18: undefined reference to `napi_get_value_string_utf8' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::object': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:73: undefined reference to `napi_create_object' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::number': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:84: undefined reference to `napi_create_int64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::string': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:97: undefined reference to `napi_create_string_utf8' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::string': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:97: undefined reference to `napi_create_string_utf8' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::array_with_capacity': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:121: undefined reference to `napi_create_array_with_length' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::null': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:155: undefined reference to `napi_get_null' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::external_box': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:167: undefined reference to `napi_create_external' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::external_rc': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:182: undefined reference to `napi_create_external' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::function_internal': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:228: undefined reference to `napi_create_function' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/env.rs:236: undefined reference to `napi_add_finalizer' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::callback_info': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:254: undefined reference to `napi_get_cb_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::callback_info': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:254: undefined reference to `napi_get_cb_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::callback_info': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:254: undefined reference to `napi_get_cb_info' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `pinar::env::Env::throw_error': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:289: undefined reference to `napi_throw_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.8.rcgu.o: in function `>::to_rust': [INFO] [stdout] /opt/rustwide/workdir/src/to_rust.rs:20: undefined reference to `napi_get_value_string_utf8' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::set': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:22: undefined reference to `napi_set_property' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::set': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:22: undefined reference to `napi_set_property' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::set': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:22: undefined reference to `napi_set_property' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::set': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:22: undefined reference to `napi_set_property' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::set': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:22: undefined reference to `napi_set_property' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::get': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:39: undefined reference to `napi_get_property' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::get': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:39: undefined reference to `napi_get_property' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::get_property_names': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:52: undefined reference to `napi_get_property_names' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::get_property_names_any': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:65: undefined reference to `napi_get_property_names' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::has_property': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:82: undefined reference to `napi_has_property' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::define_property': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:145: undefined reference to `napi_define_properties' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/pinar-43035edc939ce61a.pinar.44e32636-cgu.9.rcgu.o: in function `pinar::objects::object::JsObject::napi_unwrap': [INFO] [stdout] /opt/rustwide/workdir/src/objects/object.rs:159: undefined reference to `napi_unwrap' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pinar` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ed3c41c56103dd59f2df8c0ed0fd401b689cacf3d24347f9ab067b531c8857a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed3c41c56103dd59f2df8c0ed0fd401b689cacf3d24347f9ab067b531c8857a5", kill_on_drop: false }` [INFO] [stdout] ed3c41c56103dd59f2df8c0ed0fd401b689cacf3d24347f9ab067b531c8857a5