[INFO] cloning repository https://github.com/Sherlock2019/nodejs-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sherlock2019/nodejs-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSherlock2019%2Fnodejs-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSherlock2019%2Fnodejs-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 910a5480c1ac748b5fa8ff3da531241eaf106388 [INFO] checking Sherlock2019/nodejs-rust against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSherlock2019%2Fnodejs-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Sherlock2019/nodejs-rust [INFO] finished tweaking git repo https://github.com/Sherlock2019/nodejs-rust [INFO] tweaked toml for git repo https://github.com/Sherlock2019/nodejs-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sherlock2019/nodejs-rust 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] crate git repo https://github.com/Sherlock2019/nodejs-rust 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 269c6546822c7ce5b84babff15aeb056a91579e82a2094a554f51ba5228f3aa6 [INFO] running `Command { std: "docker" "start" "-a" "269c6546822c7ce5b84babff15aeb056a91579e82a2094a554f51ba5228f3aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "269c6546822c7ce5b84babff15aeb056a91579e82a2094a554f51ba5228f3aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "269c6546822c7ce5b84babff15aeb056a91579e82a2094a554f51ba5228f3aa6", kill_on_drop: false }` [INFO] [stdout] 269c6546822c7ce5b84babff15aeb056a91579e82a2094a554f51ba5228f3aa6 [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 -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] e8b1bcf3345cb32dad3e5cbae24f422bedee579c21c8951b11c1ceaff6cf3181 [INFO] running `Command { std: "docker" "start" "-a" "e8b1bcf3345cb32dad3e5cbae24f422bedee579c21c8951b11c1ceaff6cf3181", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint-dig v0.8.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Checking linkify v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking syn-mid v0.5.3 [INFO] [stderr] Checking neon-macros v1.0.0-alpha.4 (/opt/rustwide/workdir/crates/neon-macros) [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Checking neon v1.0.0-alpha.4 (/opt/rustwide/workdir/crates/neon) [INFO] [stderr] Checking psd v0.3.4 [INFO] [stdout] warning: struct `HandleScope` is never constructed [INFO] [stdout] --> crates/neon/src/sys/raw.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HandleScope { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/neon/src/sys/raw.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl HandleScope { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EscapableHandleScope` is never constructed [INFO] [stdout] --> crates/neon/src/sys/raw.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct EscapableHandleScope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/neon/src/sys/raw.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl EscapableHandleScope { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InheritedHandleScope` is never constructed [INFO] [stdout] --> crates/neon/src/sys/raw.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct InheritedHandleScope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/neon/src/context/mod.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | fn lock<'b>(&'b mut self) -> Lock [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 233 | fn lock<'b>(&'b mut self) -> Lock<'b, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/neon/src/context/mod.rs:525:54 [INFO] [stdout] | [INFO] [stdout] 525 | fn task<'cx, O, E>(&'cx mut self, execute: E) -> TaskBuilder [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'cx` [INFO] [stdout] | [INFO] [stdout] 525 | fn task<'cx, O, E>(&'cx mut self, execute: E) -> TaskBuilder<'cx, Self, E> [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] --> crates/neon/src/handle/mod.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn upcast>(&self) -> Handle<'a, U> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | impl<'a, V: Value> Deref for Handle<'a, V> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 197 | type Target = V; [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] --> crates/neon/src/handle/mod.rs:165:47 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn is_a<'b, U: Value, C: Context<'b>>(&self, cx: &mut C) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | impl<'a, V: Value> Deref for Handle<'a, V> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 197 | type Target = V; [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] --> crates/neon/src/handle/mod.rs:173:51 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn downcast<'b, U: Value, C: Context<'b>>(&self, cx: &mut C) -> DowncastResult<'a, T, U> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | impl<'a, V: Value> Deref for Handle<'a, V> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 197 | type Target = V; [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] --> crates/neon/src/handle/mod.rs:183:60 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn downcast_or_throw<'b, U: Value, C: Context<'b>>(&self, cx: &mut C) -> JsResult<'a, U> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | impl<'a, V: Value> Deref for Handle<'a, V> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 197 | type Target = V; [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] --> crates/neon/src/handle/mod.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | impl<'a, V: Value> Deref for Handle<'a, V> { [INFO] [stdout] | ------------------------------------------ trait implemented here [INFO] [stdout] 197 | type Target = V; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/neon/src/lifecycle.rs:105:71 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn get<'cx, 'a, C>(cx: &'a mut C, id: usize) -> Option<&mut LocalCellValue> [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn get<'cx, 'a, C>(cx: &'a mut C, id: usize) -> Option<&'a mut LocalCellValue> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/neon/src/lifecycle.rs:116:81 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn get_or_init<'cx, 'a, C, F>(cx: &'a mut C, id: usize, f: F) -> &mut LocalCellValue [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn get_or_init<'cx, 'a, C, F>(cx: &'a mut C, id: usize, f: F) -> &'a mut LocalCellValue [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/neon/src/lifecycle.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 129 | cx: &'a mut C, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 132 | ) -> Result<&mut LocalCellValue, E> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 132 | ) -> Result<&'a mut LocalCellValue, E> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neon` (lib) due to 5 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e8b1bcf3345cb32dad3e5cbae24f422bedee579c21c8951b11c1ceaff6cf3181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b1bcf3345cb32dad3e5cbae24f422bedee579c21c8951b11c1ceaff6cf3181", kill_on_drop: false }` [INFO] [stdout] e8b1bcf3345cb32dad3e5cbae24f422bedee579c21c8951b11c1ceaff6cf3181