[INFO] fetching crate napi-h 2.16.1... [INFO] checking napi-h-2.16.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate napi-h 2.16.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate napi-h 2.16.1 [INFO] finished tweaking crates.io crate napi-h 2.16.1 [INFO] tweaked toml for crates.io crate napi-h 2.16.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate napi-h 2.16.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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 93 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.2.9 (available: v0.6.1) [INFO] [stderr] Adding napi-derive v2.16.13 (available: v3.3.3) [INFO] [stderr] Adding napi-sys v2.4.0 (available: v3.1.1) [INFO] [stderr] Adding tokio v1.32.1 (available: v1.48.0) [INFO] [stderr] Adding tokio-macros v2.1.0 (available: v2.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 639d5e18c94cfa71c89d873c6f8484f79a8ec54a2fd98e2f036e4c46df24bc42 [INFO] running `Command { std: "docker" "start" "-a" "639d5e18c94cfa71c89d873c6f8484f79a8ec54a2fd98e2f036e4c46df24bc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "639d5e18c94cfa71c89d873c6f8484f79a8ec54a2fd98e2f036e4c46df24bc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639d5e18c94cfa71c89d873c6f8484f79a8ec54a2fd98e2f036e4c46df24bc42", kill_on_drop: false }` [INFO] [stdout] 639d5e18c94cfa71c89d873c6f8484f79a8ec54a2fd98e2f036e4c46df24bc42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c7ac25b1fb4e685557b0e89ac37b83d513433e5875ed32de2ba68ec13badb97 [INFO] running `Command { std: "docker" "start" "-a" "0c7ac25b1fb4e685557b0e89ac37b83d513433e5875ed32de2ba68ec13badb97", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking napi-sys v2.4.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Checking napi-h v2.16.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> src/bindgen_runtime/js_values/external.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | val.adjusted_size = unsafe { adjusted_external_memory_size.assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> src/bindgen_runtime/js_values/external.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | val.adjusted_size = unsafe { adjusted_external_memory_size.assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/js_values/value.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Value { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub value_type: ValueType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bindgen_runtime/js_values/number.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | ret.try_into().map_err(|_| Error::from_reason(concat!("Failed to convert ", stringify!($st), " to ", stringify!($t)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl_number_conversions!( [INFO] [stdout] 53 | | ("u8", u8 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] 54 | | ("i8", i8 as i32, napi_get_value_int32, napi_create_int32), [INFO] [stdout] 55 | | ("u16", u16 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] ... | [INFO] [stdout] 60 | | ("f64", f64 as f64, napi_get_value_double, napi_create_double), [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_number_conversions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bindgen_runtime/js_values/number.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | ret.try_into().map_err(|_| Error::from_reason(concat!("Failed to convert ", stringify!($st), " to ", stringify!($t)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl_number_conversions!( [INFO] [stdout] 53 | | ("u8", u8 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] 54 | | ("i8", i8 as i32, napi_get_value_int32, napi_create_int32), [INFO] [stdout] 55 | | ("u16", u16 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] ... | [INFO] [stdout] 60 | | ("f64", f64 as f64, napi_get_value_double, napi_create_double), [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_number_conversions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bindgen_runtime/js_values/number.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | ret.try_into().map_err(|_| Error::from_reason(concat!("Failed to convert ", stringify!($st), " to ", stringify!($t)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl_number_conversions!( [INFO] [stdout] 53 | | ("u8", u8 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] 54 | | ("i8", i8 as i32, napi_get_value_int32, napi_create_int32), [INFO] [stdout] 55 | | ("u16", u16 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] ... | [INFO] [stdout] 60 | | ("f64", f64 as f64, napi_get_value_double, napi_create_double), [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_number_conversions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bindgen_runtime/js_values/number.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | ret.try_into().map_err(|_| Error::from_reason(concat!("Failed to convert ", stringify!($st), " to ", stringify!($t)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl_number_conversions!( [INFO] [stdout] 53 | | ("u8", u8 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] 54 | | ("i8", i8 as i32, napi_get_value_int32, napi_create_int32), [INFO] [stdout] 55 | | ("u16", u16 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] ... | [INFO] [stdout] 60 | | ("f64", f64 as f64, napi_get_value_double, napi_create_double), [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_number_conversions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Rc::::into_raw` that must be used [INFO] [stdout] --> src/bindgen_runtime/js_values/value_ref.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | Rc::into_raw(finalize_callbacks_raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = Rc::into_raw(finalize_callbacks_raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `napi-h` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/js_values/value.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Value { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub value_type: ValueType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bindgen_runtime/js_values/number.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | ret.try_into().map_err(|_| Error::from_reason(concat!("Failed to convert ", stringify!($st), " to ", stringify!($t)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl_number_conversions!( [INFO] [stdout] 53 | | ("u8", u8 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] 54 | | ("i8", i8 as i32, napi_get_value_int32, napi_create_int32), [INFO] [stdout] 55 | | ("u16", u16 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] ... | [INFO] [stdout] 60 | | ("f64", f64 as f64, napi_get_value_double, napi_create_double), [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_number_conversions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bindgen_runtime/js_values/number.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | ret.try_into().map_err(|_| Error::from_reason(concat!("Failed to convert ", stringify!($st), " to ", stringify!($t)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl_number_conversions!( [INFO] [stdout] 53 | | ("u8", u8 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] 54 | | ("i8", i8 as i32, napi_get_value_int32, napi_create_int32), [INFO] [stdout] 55 | | ("u16", u16 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] ... | [INFO] [stdout] 60 | | ("f64", f64 as f64, napi_get_value_double, napi_create_double), [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_number_conversions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bindgen_runtime/js_values/number.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | ret.try_into().map_err(|_| Error::from_reason(concat!("Failed to convert ", stringify!($st), " to ", stringify!($t)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl_number_conversions!( [INFO] [stdout] 53 | | ("u8", u8 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] 54 | | ("i8", i8 as i32, napi_get_value_int32, napi_create_int32), [INFO] [stdout] 55 | | ("u16", u16 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] ... | [INFO] [stdout] 60 | | ("f64", f64 as f64, napi_get_value_double, napi_create_double), [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_number_conversions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bindgen_runtime/js_values/number.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | ret.try_into().map_err(|_| Error::from_reason(concat!("Failed to convert ", stringify!($st), " to ", stringify!($t)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl_number_conversions!( [INFO] [stdout] 53 | | ("u8", u8 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] 54 | | ("i8", i8 as i32, napi_get_value_int32, napi_create_int32), [INFO] [stdout] 55 | | ("u16", u16 as u32, napi_get_value_uint32, napi_create_uint32), [INFO] [stdout] ... | [INFO] [stdout] 60 | | ("f64", f64 as f64, napi_get_value_double, napi_create_double), [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_number_conversions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Rc::::into_raw` that must be used [INFO] [stdout] --> src/bindgen_runtime/js_values/value_ref.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | Rc::into_raw(finalize_callbacks_raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = Rc::into_raw(finalize_callbacks_raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `napi-h` (lib) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c7ac25b1fb4e685557b0e89ac37b83d513433e5875ed32de2ba68ec13badb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7ac25b1fb4e685557b0e89ac37b83d513433e5875ed32de2ba68ec13badb97", kill_on_drop: false }` [INFO] [stdout] 0c7ac25b1fb4e685557b0e89ac37b83d513433e5875ed32de2ba68ec13badb97