[INFO] fetching crate napi-ohos 1.0.4... [INFO] checking napi-ohos-1.0.4 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate napi-ohos 1.0.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate napi-ohos 1.0.4 [INFO] finished tweaking crates.io crate napi-ohos 1.0.4 [INFO] tweaked toml for crates.io crate napi-ohos 1.0.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate napi-ohos 1.0.4 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.2.9 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0db3b779afdf4ee663b3526970f448840da8236e8bd94d3569824a1bada93770 [INFO] running `Command { std: "docker" "start" "-a" "0db3b779afdf4ee663b3526970f448840da8236e8bd94d3569824a1bada93770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0db3b779afdf4ee663b3526970f448840da8236e8bd94d3569824a1bada93770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db3b779afdf4ee663b3526970f448840da8236e8bd94d3569824a1bada93770", kill_on_drop: false }` [INFO] [stdout] 0db3b779afdf4ee663b3526970f448840da8236e8bd94d3569824a1bada93770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ee73844a238296518b49fd3c8209ed8f68ee1445e249360df364c19508a1027 [INFO] running `Command { std: "docker" "start" "-a" "8ee73844a238296518b49fd3c8209ed8f68ee1445e249360df364c19508a1027", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling napi-ohos v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking napi-sys-ohos v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stdout] warning: unused import: `ffi::CString` [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{ffi::CString, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::CString` [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{ffi::CString, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Symbol` is never constructed [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `identity` are never used [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl Symbol { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 28 | pub fn new(desc: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `qos` is never read [INFO] [stdout] --> src/bindgen_runtime/js_values/task.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AsyncTask { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | qos: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/async_work.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn promise_object(&self) -> PromiseRaw { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn promise_object(&self) -> PromiseRaw<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bindgen_runtime/js_values/class.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | fn into_instance(self, env: &Env) -> Result>; [INFO] [stdout] | ^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 234 | fn into_instance(self, env: &Env) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bindgen_runtime/js_values/function.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 200 | ) -> ThreadsafeFunctionBuilder { [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 200 | ) -> ThreadsafeFunctionBuilder<'_, T, Args, Return> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/env.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 425 | ) -> Result> { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 425 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/env.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 598 | ) -> Result> { [INFO] [stdout] | ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 598 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Symbol` is never constructed [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `identity` are never used [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl Symbol { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 28 | pub fn new(desc: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `qos` is never read [INFO] [stdout] --> src/bindgen_runtime/js_values/task.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AsyncTask { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | qos: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/async_work.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn promise_object(&self) -> PromiseRaw { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn promise_object(&self) -> PromiseRaw<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bindgen_runtime/js_values/class.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | fn into_instance(self, env: &Env) -> Result>; [INFO] [stdout] | ^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 234 | fn into_instance(self, env: &Env) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bindgen_runtime/js_values/function.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 200 | ) -> ThreadsafeFunctionBuilder { [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 200 | ) -> ThreadsafeFunctionBuilder<'_, T, Args, Return> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/env.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 425 | ) -> Result> { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 425 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/env.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 598 | ) -> Result> { [INFO] [stdout] | ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 598 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.77s [INFO] running `Command { std: "docker" "inspect" "8ee73844a238296518b49fd3c8209ed8f68ee1445e249360df364c19508a1027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee73844a238296518b49fd3c8209ed8f68ee1445e249360df364c19508a1027", kill_on_drop: false }` [INFO] [stdout] 8ee73844a238296518b49fd3c8209ed8f68ee1445e249360df364c19508a1027