[INFO] fetching crate parsley-rs 0.20.4... [INFO] checking parsley-rs-0.20.4 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate parsley-rs 0.20.4 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate parsley-rs 0.20.4 [INFO] finished tweaking crates.io crate parsley-rs 0.20.4 [INFO] tweaked toml for crates.io crate parsley-rs 0.20.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate parsley-rs 0.20.4 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 parsley-rs 0.20.4 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-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9438df0e5a7b78ec790e7ae315df1dc6140b5c8fac44d22061f1957e4308eb28 [INFO] running `Command { std: "docker" "start" "-a" "9438df0e5a7b78ec790e7ae315df1dc6140b5c8fac44d22061f1957e4308eb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9438df0e5a7b78ec790e7ae315df1dc6140b5c8fac44d22061f1957e4308eb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9438df0e5a7b78ec790e7ae315df1dc6140b5c8fac44d22061f1957e4308eb28", kill_on_drop: false }` [INFO] [stdout] 9438df0e5a7b78ec790e7ae315df1dc6140b5c8fac44d22061f1957e4308eb28 [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 -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] bdd69220b44b34a691536641cb4346d8382d4e5456f684e14fca6d9584a5f12a [INFO] running `Command { std: "docker" "start" "-a" "bdd69220b44b34a691536641cb4346d8382d4e5456f684e14fca6d9584a5f12a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking filepath v0.1.2 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking character-stream v0.9.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking parsley-rs-hack v0.1.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking parsley-rs v0.20.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lexical/stream.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | Bound::Included(i) => (*i < end), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - Bound::Included(i) => (*i < end), [INFO] [stdout] 151 + Bound::Included(i) => *i < end , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lexical/stream.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | Bound::Excluded(e) => (e - 1 < end), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - Bound::Excluded(e) => (e - 1 < end), [INFO] [stdout] 152 + Bound::Excluded(e) => e - 1 < end , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lexical/stream.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | Bound::Included(i) => (*i <= end), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - Bound::Included(i) => (*i <= end), [INFO] [stdout] 156 + Bound::Included(i) => *i <= end , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lexical/stream.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | Bound::Excluded(e) => (e - 1 <= end), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - Bound::Excluded(e) => (e - 1 <= end), [INFO] [stdout] 157 + Bound::Excluded(e) => e - 1 <= end , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lexical/stream.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | Bound::Included(i) => (*i < end), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - Bound::Included(i) => (*i < end), [INFO] [stdout] 151 + Bound::Included(i) => *i < end , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lexical/stream.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | Bound::Excluded(e) => (e - 1 < end), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - Bound::Excluded(e) => (e - 1 < end), [INFO] [stdout] 152 + Bound::Excluded(e) => e - 1 < end , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lexical/stream.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | Bound::Included(i) => (*i <= end), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - Bound::Included(i) => (*i <= end), [INFO] [stdout] 156 + Bound::Included(i) => *i <= end , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lexical/stream.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | Bound::Excluded(e) => (e - 1 <= end), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - Bound::Excluded(e) => (e - 1 <= end), [INFO] [stdout] 157 + Bound::Excluded(e) => e - 1 <= end , [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/lexical/token.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn token(&self) -> &TokenType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl Deref for Token { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 94 | type Target = TokenType; [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/lexical/token.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn token_mut(&mut self) -> &mut TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl Deref for Token { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 94 | type Target = TokenType; [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/lexical/token.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn span(&self) -> &Span { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl Deref for Token { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 94 | type Target = TokenType; [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/lexical/token.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn span_mut(&mut self) -> &mut Span { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl Deref for Token { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 94 | type Target = TokenType; [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/lexical/token.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn token(&self) -> &TokenType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl Deref for Token { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 94 | type Target = TokenType; [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/lexical/token.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn token_mut(&mut self) -> &mut TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl Deref for Token { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 94 | type Target = TokenType; [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/lexical/token.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn span(&self) -> &Span { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl Deref for Token { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 94 | type Target = TokenType; [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/lexical/token.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn span_mut(&mut self) -> &mut Span { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl Deref for Token { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 94 | type Target = TokenType; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parsley-rs` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `parsley-rs` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bdd69220b44b34a691536641cb4346d8382d4e5456f684e14fca6d9584a5f12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd69220b44b34a691536641cb4346d8382d4e5456f684e14fca6d9584a5f12a", kill_on_drop: false }` [INFO] [stdout] bdd69220b44b34a691536641cb4346d8382d4e5456f684e14fca6d9584a5f12a