[INFO] fetching crate napi-ohos 1.1.0... [INFO] checking napi-ohos-1.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate napi-ohos 1.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate napi-ohos 1.1.0 [INFO] finished tweaking crates.io crate napi-ohos 1.1.0 [INFO] tweaked toml for crates.io crate napi-ohos 1.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate napi-ohos 1.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate napi-ohos 1.1.0 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6edf5403ad80406fd721e09bfb74343a5a2db531d63d5ceda28087916e69e47 [INFO] running `Command { std: "docker" "start" "-a" "d6edf5403ad80406fd721e09bfb74343a5a2db531d63d5ceda28087916e69e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6edf5403ad80406fd721e09bfb74343a5a2db531d63d5ceda28087916e69e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6edf5403ad80406fd721e09bfb74343a5a2db531d63d5ceda28087916e69e47", kill_on_drop: false }` [INFO] [stdout] d6edf5403ad80406fd721e09bfb74343a5a2db531d63d5ceda28087916e69e47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d233ef88bf4ce0b8b8fabb39da40a190d9ef6f856cf49d8e91168595c6c4863f [INFO] running `Command { std: "docker" "start" "-a" "d233ef88bf4ce0b8b8fabb39da40a190d9ef6f856cf49d8e91168595c6c4863f", kill_on_drop: false }` [INFO] [stderr] Compiling napi-build-ohos v1.1.0 [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Compiling ctor-proc-macro v0.0.5 [INFO] [stderr] Checking napi-sys-ohos v1.1.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling napi-ohos v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking dtor v0.0.5 [INFO] [stderr] Checking ctor v0.4.1 [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:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `identity`, and `into_js_symbol` are never used [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | impl Symbol { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(desc: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn into_js_symbol(self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `qos` is never read [INFO] [stdout] --> src/bindgen_runtime/js_values/task.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct AsyncTask ScopedTask<'task>> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | qos: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bindgen_runtime/js_values/object.rs:855:20 [INFO] [stdout] | [INFO] [stdout] 855 | pub fn get_value(&self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 855 | pub fn get_value(&self, env: &Env) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn into_js_symbol(self, env: &Env) -> Result { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn into_js_symbol(self, env: &Env) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/js_values/symbol.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_value(&self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_value(&self, env: &Env) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/js_values/unknown.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_value(&self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_value(&self, env: &Env) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Symbol` is never constructed [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `identity`, and `into_js_symbol` are never used [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | impl Symbol { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(desc: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn into_js_symbol(self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `qos` is never read [INFO] [stdout] --> src/bindgen_runtime/js_values/task.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct AsyncTask ScopedTask<'task>> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | qos: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bindgen_runtime/js_values/object.rs:855:20 [INFO] [stdout] | [INFO] [stdout] 855 | pub fn get_value(&self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 855 | pub fn get_value(&self, env: &Env) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bindgen_runtime/js_values/symbol.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn into_js_symbol(self, env: &Env) -> Result { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn into_js_symbol(self, env: &Env) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/js_values/symbol.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_value(&self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_value(&self, env: &Env) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/js_values/unknown.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_value(&self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_value(&self, env: &Env) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.86s [INFO] running `Command { std: "docker" "inspect" "d233ef88bf4ce0b8b8fabb39da40a190d9ef6f856cf49d8e91168595c6c4863f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d233ef88bf4ce0b8b8fabb39da40a190d9ef6f856cf49d8e91168595c6c4863f", kill_on_drop: false }` [INFO] [stdout] d233ef88bf4ce0b8b8fabb39da40a190d9ef6f856cf49d8e91168595c6c4863f