[INFO] fetching crate napi-derive-backend-ohos 1.2.0...
[INFO] checking napi-derive-backend-ohos-1.2.0 against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] extracting crate napi-derive-backend-ohos 1.2.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate napi-derive-backend-ohos 1.2.0
[INFO] finished tweaking crates.io crate napi-derive-backend-ohos 1.2.0
[INFO] tweaked toml for crates.io crate napi-derive-backend-ohos 1.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate napi-derive-backend-ohos 1.2.0 on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate napi-derive-backend-ohos 1.2.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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4550bc192db8a841894ac2b0cd3e50b13d3ac65075a4999701c07eb2d72b0636
[INFO] running `Command { std: "docker" "start" "4550bc192db8a841894ac2b0cd3e50b13d3ac65075a4999701c07eb2d72b0636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4550bc192db8a841894ac2b0cd3e50b13d3ac65075a4999701c07eb2d72b0636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4550bc192db8a841894ac2b0cd3e50b13d3ac65075a4999701c07eb2d72b0636" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4550bc192db8a841894ac2b0cd3e50b13d3ac65075a4999701c07eb2d72b0636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4550bc192db8a841894ac2b0cd3e50b13d3ac65075a4999701c07eb2d72b0636" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking unicode-segmentation v1.13.2
[INFO] [stderr]     Checking quote v1.0.45
[INFO] [stderr]     Checking convert_case v0.11.0
[INFO] [stderr]     Checking syn v2.0.117
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking napi-derive-backend-ohos v1.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: useless conversion to the same type: `Diagnostic`
[INFO] [stdout]    --> src/error.rs:17:16
[INFO] [stdout]     |
[INFO] [stdout]  15 | macro_rules! bail_span {
[INFO] [stdout]  16 |   ($($t:tt)*) => (
[INFO] [stdout]  17 |     return Err(err_span!($($t)*).into())
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/codegen/fn.rs:314:21
[INFO] [stdout]     |
[INFO] [stdout] 314 |                     bail_span!(p, "`Reference` is only allowed in class methods");
[INFO] [stdout]     |                     ------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<Diagnostic as Into<Diagnostic>::into(val) to avoid triggering this lint
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `Diagnostic`
[INFO] [stdout]    --> src/error.rs:17:16
[INFO] [stdout]     |
[INFO] [stdout]  15 |   macro_rules! bail_span {
[INFO] [stdout]  16 |     ($($t:tt)*) => (
[INFO] [stdout]  17 |       return Err(err_span!($($t)*).into())
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/codegen/fn.rs:355:29
[INFO] [stdout]     |
[INFO] [stdout] 355 | / ...                   bail_span!(
[INFO] [stdout] 356 | | ...                     ident,
[INFO] [stdout] 357 | | ...                     "This type must not be {} \nthis in JavaScript function must be `Object` type or `undefined`",
[INFO] [stdout] 358 | | ...                     primitive_type
[INFO] [stdout] 359 | | ...                   );
[INFO] [stdout]     | |_______________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<Diagnostic as Into<Diagnostic>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `Diagnostic`
[INFO] [stdout]    --> src/error.rs:17:16
[INFO] [stdout]     |
[INFO] [stdout]  15 |   macro_rules! bail_span {
[INFO] [stdout]  16 |     ($($t:tt)*) => (
[INFO] [stdout]  17 |       return Err(err_span!($($t)*).into())
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/codegen/fn.rs:518:17
[INFO] [stdout]     |
[INFO] [stdout] 518 | /                 bail_span!(
[INFO] [stdout] 519 | |                   elem,
[INFO] [stdout] 520 | |                   "JavaScript String is primitive and cannot be passed by reference"
[INFO] [stdout] 521 | |                 );
[INFO] [stdout]     | |_________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<Diagnostic as Into<Diagnostic>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `napi-derive-backend-ohos` (lib test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: useless conversion to the same type: `Diagnostic`
[INFO] [stdout]    --> src/error.rs:17:16
[INFO] [stdout]     |
[INFO] [stdout]  15 | macro_rules! bail_span {
[INFO] [stdout]  16 |   ($($t:tt)*) => (
[INFO] [stdout]  17 |     return Err(err_span!($($t)*).into())
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/codegen/fn.rs:314:21
[INFO] [stdout]     |
[INFO] [stdout] 314 |                     bail_span!(p, "`Reference` is only allowed in class methods");
[INFO] [stdout]     |                     ------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<Diagnostic as Into<Diagnostic>::into(val) to avoid triggering this lint
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `Diagnostic`
[INFO] [stdout]    --> src/error.rs:17:16
[INFO] [stdout]     |
[INFO] [stdout]  15 |   macro_rules! bail_span {
[INFO] [stdout]  16 |     ($($t:tt)*) => (
[INFO] [stdout]  17 |       return Err(err_span!($($t)*).into())
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/codegen/fn.rs:355:29
[INFO] [stdout]     |
[INFO] [stdout] 355 | / ...                   bail_span!(
[INFO] [stdout] 356 | | ...                     ident,
[INFO] [stdout] 357 | | ...                     "This type must not be {} \nthis in JavaScript function must be `Object` type or `undefined`",
[INFO] [stdout] 358 | | ...                     primitive_type
[INFO] [stdout] 359 | | ...                   );
[INFO] [stdout]     | |_______________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<Diagnostic as Into<Diagnostic>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `Diagnostic`
[INFO] [stdout]    --> src/error.rs:17:16
[INFO] [stdout]     |
[INFO] [stdout]  15 |   macro_rules! bail_span {
[INFO] [stdout]  16 |     ($($t:tt)*) => (
[INFO] [stdout]  17 |       return Err(err_span!($($t)*).into())
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/codegen/fn.rs:518:17
[INFO] [stdout]     |
[INFO] [stdout] 518 | /                 bail_span!(
[INFO] [stdout] 519 | |                   elem,
[INFO] [stdout] 520 | |                   "JavaScript String is primitive and cannot be passed by reference"
[INFO] [stdout] 521 | |                 );
[INFO] [stdout]     | |_________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<Diagnostic as Into<Diagnostic>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `napi-derive-backend-ohos` (lib) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "4550bc192db8a841894ac2b0cd3e50b13d3ac65075a4999701c07eb2d72b0636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4550bc192db8a841894ac2b0cd3e50b13d3ac65075a4999701c07eb2d72b0636", kill_on_drop: false }`
[INFO] [stdout] 4550bc192db8a841894ac2b0cd3e50b13d3ac65075a4999701c07eb2d72b0636
