[INFO] cloning repository https://github.com/nevakrien/expr_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nevakrien/expr_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnevakrien%2Fexpr_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnevakrien%2Fexpr_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1eedee1dc04fa13d97e9da821ec93be2bc365840 [INFO] checking nevakrien/expr_parser 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%2Fnevakrien%2Fexpr_parser" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nevakrien/expr_parser [INFO] finished tweaking git repo https://github.com/nevakrien/expr_parser [INFO] tweaked toml for git repo https://github.com/nevakrien/expr_parser written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nevakrien/expr_parser 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/nevakrien/expr_parser 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 811d35ead200da21a24c57f76035ccb35c38856c4da3fdca61561b3b55eeebb1 [INFO] running `Command { std: "docker" "start" "-a" "811d35ead200da21a24c57f76035ccb35c38856c4da3fdca61561b3b55eeebb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "811d35ead200da21a24c57f76035ccb35c38856c4da3fdca61561b3b55eeebb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811d35ead200da21a24c57f76035ccb35c38856c4da3fdca61561b3b55eeebb1", kill_on_drop: false }` [INFO] [stdout] 811d35ead200da21a24c57f76035ccb35c38856c4da3fdca61561b3b55eeebb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 43f9c0fdd5791aa6eaa2be818a4cddcc0148956cf2dc002adc8c92f6443f3a94 [INFO] running `Command { std: "docker" "start" "-a" "43f9c0fdd5791aa6eaa2be818a4cddcc0148956cf2dc002adc8c92f6443f3a94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking ariadne v0.4.1 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking expr_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VarKind` [INFO] [stdout] --> src/error_reporting.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::{BinOp, UnOp, VarKind}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VarKind` [INFO] [stdout] --> src/error_reporting.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::{BinOp, UnOp, VarKind}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `simple_struct` is never used [INFO] [stdout] --> src/type_inference.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 233 | impl TypeStore { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub(crate) fn simple_struct( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> src/type_inference.rs:1004:5 [INFO] [stdout] | [INFO] [stdout] 1000 | struct StructDef { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1004 | output: CId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_global` is never used [INFO] [stdout] --> src/type_inference.rs:1093:8 [INFO] [stdout] | [INFO] [stdout] 1069 | impl<'a, G: GlobalHandler> InferState<'a, G> { [INFO] [stdout] | -------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1093 | fn map_global(self, global_types: G2) -> InferState<'a, G2> { [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/parsing.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with(&self, value: U) -> Located { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | impl Deref for Located { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 41 | 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/parsing.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn map(self, f: impl FnOnce(T) -> U) -> Located { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | impl Deref for Located { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 41 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `expr_parser` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> src/type_inference.rs:1004:5 [INFO] [stdout] | [INFO] [stdout] 1000 | struct StructDef { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1004 | output: CId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructDef` 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: method `map_global` is never used [INFO] [stdout] --> src/type_inference.rs:1093:8 [INFO] [stdout] | [INFO] [stdout] 1069 | impl<'a, G: GlobalHandler> InferState<'a, G> { [INFO] [stdout] | -------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1093 | fn map_global(self, global_types: G2) -> InferState<'a, G2> { [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/parsing.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with(&self, value: U) -> Located { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | impl Deref for Located { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 41 | 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/parsing.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn map(self, f: impl FnOnce(T) -> U) -> Located { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | impl Deref for Located { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 41 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `expr_parser` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "43f9c0fdd5791aa6eaa2be818a4cddcc0148956cf2dc002adc8c92f6443f3a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f9c0fdd5791aa6eaa2be818a4cddcc0148956cf2dc002adc8c92f6443f3a94", kill_on_drop: false }` [INFO] [stdout] 43f9c0fdd5791aa6eaa2be818a4cddcc0148956cf2dc002adc8c92f6443f3a94