[INFO] cloning repository https://github.com/paavohuhtala/squakey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paavohuhtala/squakey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaavohuhtala%2Fsquakey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaavohuhtala%2Fsquakey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] caeb9d42ec4b6ee5e06783490b01aa42049a3fed [INFO] checking paavohuhtala/squakey against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaavohuhtala%2Fsquakey" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/paavohuhtala/squakey [INFO] finished tweaking git repo https://github.com/paavohuhtala/squakey [INFO] tweaked toml for git repo https://github.com/paavohuhtala/squakey written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/paavohuhtala/squakey 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/paavohuhtala/squakey 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 286ee638e53ad4e92e6de833d7c4ac7efee18a766c32751cd9eb9de465401eec [INFO] running `Command { std: "docker" "start" "-a" "286ee638e53ad4e92e6de833d7c4ac7efee18a766c32751cd9eb9de465401eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "286ee638e53ad4e92e6de833d7c4ac7efee18a766c32751cd9eb9de465401eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286ee638e53ad4e92e6de833d7c4ac7efee18a766c32751cd9eb9de465401eec", kill_on_drop: false }` [INFO] [stdout] 286ee638e53ad4e92e6de833d7c4ac7efee18a766c32751cd9eb9de465401eec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3cefed6925adf7921fdab329ffa955c7d8cde7f89e345d41b9499bbcf1d79be2 [INFO] running `Command { std: "docker" "start" "-a" "3cefed6925adf7921fdab329ffa955c7d8cde7f89e345d41b9499bbcf1d79be2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling squakey v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/serializer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum BlockSpacing { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 21 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockSpacing` has derived impls for the traits `Clone` and `Debug`, but these are 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] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ast.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn with_span(mut self, span: Span<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn with_comments_before(mut self, mut other: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:333:32 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn with_comments_after(mut self, mut other: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:347:27 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn comments_after(&self) -> Option<&[Comment<'a>]> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn comments_before(&self) -> Option<&[Comment<'a>]> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_identifier(pair: QCPair) -> &str { [INFO] [stdout] | ^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 27 | fn parse_identifier(pair: QCPair<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:644:29 [INFO] [stdout] | [INFO] [stdout] 644 | pub fn parse_program(input: &str) -> Program { [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] 644 | pub fn parse_program(input: &str) -> Program<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `squakey` (lib test) due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/serializer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum BlockSpacing { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 21 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockSpacing` has derived impls for the traits `Clone` and `Debug`, but these are 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] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ast.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn with_span(mut self, span: Span<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn with_comments_before(mut self, mut other: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:333:32 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn with_comments_after(mut self, mut other: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:347:27 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn comments_after(&self) -> Option<&[Comment<'a>]> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | 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/ast.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn comments_before(&self) -> Option<&[Comment<'a>]> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | impl<'a, T> Deref for Node<'a, T> { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 375 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_identifier(pair: QCPair) -> &str { [INFO] [stdout] | ^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 27 | fn parse_identifier(pair: QCPair<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:644:29 [INFO] [stdout] | [INFO] [stdout] 644 | pub fn parse_program(input: &str) -> Program { [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] 644 | pub fn parse_program(input: &str) -> Program<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `squakey` (lib) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3cefed6925adf7921fdab329ffa955c7d8cde7f89e345d41b9499bbcf1d79be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cefed6925adf7921fdab329ffa955c7d8cde7f89e345d41b9499bbcf1d79be2", kill_on_drop: false }` [INFO] [stdout] 3cefed6925adf7921fdab329ffa955c7d8cde7f89e345d41b9499bbcf1d79be2