[INFO] fetching crate yuuang-test-napi 1.7.6... [INFO] checking yuuang-test-napi-1.7.6 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate yuuang-test-napi 1.7.6 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate yuuang-test-napi 1.7.6 [INFO] finished tweaking crates.io crate yuuang-test-napi 1.7.6 [INFO] tweaked toml for crates.io crate yuuang-test-napi 1.7.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yuuang-test-napi 1.7.6 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding napi-sys v1.1.2 (available: v3.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2bd73b2e420bfedc3b3e2ddbf29277e2327fe09e63d4ee3c9abd61246cc5bff [INFO] running `Command { std: "docker" "start" "-a" "c2bd73b2e420bfedc3b3e2ddbf29277e2327fe09e63d4ee3c9abd61246cc5bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2bd73b2e420bfedc3b3e2ddbf29277e2327fe09e63d4ee3c9abd61246cc5bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2bd73b2e420bfedc3b3e2ddbf29277e2327fe09e63d4ee3c9abd61246cc5bff", kill_on_drop: false }` [INFO] [stdout] c2bd73b2e420bfedc3b3e2ddbf29277e2327fe09e63d4ee3c9abd61246cc5bff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c758e42b9a42b20317aecc03771e0ff112837bd394862299f9a64125729520a1 [INFO] running `Command { std: "docker" "start" "-a" "c758e42b9a42b20317aecc03771e0ff112837bd394862299f9a64125729520a1", kill_on_drop: false }` [INFO] [stderr] Checking napi-sys v1.1.2 [INFO] [stderr] Checking yuuang-test-napi v1.7.6 (/opt/rustwide/workdir) [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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/env.rs:1016:35 [INFO] [stdout] | [INFO] [stdout] 1016 | pub fn spawn(&self, task: T) -> 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] 1016 | pub fn spawn(&self, task: T) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/env.rs:1372:3 [INFO] [stdout] | [INFO] [stdout] 1372 | Box::from_raw(tagged_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [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] 1372 | let _ = Box::from_raw(tagged_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/js_values/escapable_handle_scope.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn close(self, env: Env) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | impl Deref for EscapableHandleScope { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 33 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/js_values/value_ref.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn reference(&mut self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | impl Deref for Ref { [INFO] [stdout] | ------------------------ trait implemented here [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/js_values/value_ref.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn unref(mut self, env: Env) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | impl Deref for Ref { [INFO] [stdout] | ------------------------ trait implemented here [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang-test-napi` (lib test) due to 3 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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/env.rs:1016:35 [INFO] [stdout] | [INFO] [stdout] 1016 | pub fn spawn(&self, task: T) -> 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] 1016 | pub fn spawn(&self, task: T) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/env.rs:1372:3 [INFO] [stdout] | [INFO] [stdout] 1372 | Box::from_raw(tagged_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [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] 1372 | let _ = Box::from_raw(tagged_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/js_values/escapable_handle_scope.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn close(self, env: Env) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | impl Deref for EscapableHandleScope { [INFO] [stdout] | -------------------------------------------------- trait implemented here [INFO] [stdout] 33 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/js_values/value_ref.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn reference(&mut self, env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | impl Deref for Ref { [INFO] [stdout] | ------------------------ trait implemented here [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/js_values/value_ref.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn unref(mut self, env: Env) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | impl Deref for Ref { [INFO] [stdout] | ------------------------ trait implemented here [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang-test-napi` (lib) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c758e42b9a42b20317aecc03771e0ff112837bd394862299f9a64125729520a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c758e42b9a42b20317aecc03771e0ff112837bd394862299f9a64125729520a1", kill_on_drop: false }` [INFO] [stdout] c758e42b9a42b20317aecc03771e0ff112837bd394862299f9a64125729520a1