[INFO] fetching crate sm-ext 0.3.0... [INFO] checking sm-ext-0.3.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate sm-ext 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate sm-ext 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sm-ext 0.3.0 [INFO] tweaked toml for crates.io crate sm-ext 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sm-ext 0.3.0 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 crates.io crate sm-ext 0.3.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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b0fb8d8a453af52305040307227021e5eaa95b78f185c318854830eb4a69b149 [INFO] running `Command { std: "docker" "start" "-a" "b0fb8d8a453af52305040307227021e5eaa95b78f185c318854830eb4a69b149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0fb8d8a453af52305040307227021e5eaa95b78f185c318854830eb4a69b149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0fb8d8a453af52305040307227021e5eaa95b78f185c318854830eb4a69b149", kill_on_drop: false }` [INFO] [stdout] b0fb8d8a453af52305040307227021e5eaa95b78f185c318854830eb4a69b149 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] dfb82174fedc289386b56e3a774c087cfe5f7206997a4c1291820ae3cb0a350a [INFO] running `Command { std: "docker" "start" "-a" "dfb82174fedc289386b56e3a774c087cfe5f7206997a4c1291820ae3cb0a350a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking async-task v1.2.1 [INFO] [stderr] Checking c_str_macro v1.0.2 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking async-std v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling sm-ext-derive v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking sm-ext v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:868:54 [INFO] [stdout] | [INFO] [stdout] 868 | pub struct IPluginFunction<'ctx>(IPluginFunctionPtr, &'ctx IPluginContext); [INFO] [stdout] | --------------- field in this struct ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `IPluginFunction` has a derived impl for the trait `Debug`, 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/lib.rs:463:23 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn is_running(&self) -> Result<(), IsRunningError> { [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] 463 | pub fn is_running(&self) -> Result<(), IsRunningError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:824:31 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn get_function_by_id(&self, func_id: u32) -> 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] 824 | pub fn get_function_by_id(&self, func_id: u32) -> Result, GetFunctionError> { [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/lib.rs:1472:25 [INFO] [stdout] | [INFO] [stdout] 1472 | pub fn clone_handle(&self, new_owner: IdentityTokenPtr) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1486 | impl Deref for HandleRef<'_, T> { [INFO] [stdout] | ---------------------------------- trait implemented here [INFO] [stdout] 1487 | 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] [stderr] error: could not compile `sm-ext` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "dfb82174fedc289386b56e3a774c087cfe5f7206997a4c1291820ae3cb0a350a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfb82174fedc289386b56e3a774c087cfe5f7206997a4c1291820ae3cb0a350a", kill_on_drop: false }` [INFO] [stdout] dfb82174fedc289386b56e3a774c087cfe5f7206997a4c1291820ae3cb0a350a