[INFO] cloning repository https://github.com/Tortoaster/SPL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tortoaster/SPL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTortoaster%2FSPL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTortoaster%2FSPL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdd25caad185d20c8a521260cd835a9c7a11dc16 [INFO] checking Tortoaster/SPL 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%2FTortoaster%2FSPL" "/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/Tortoaster/SPL [INFO] finished tweaking git repo https://github.com/Tortoaster/SPL [INFO] tweaked toml for git repo https://github.com/Tortoaster/SPL written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Tortoaster/SPL 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/Tortoaster/SPL 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] d5671e45b0c4ffbcbd7a28325bb76f29d05147c3109e8bc0134c15751b3474f7 [INFO] running `Command { std: "docker" "start" "-a" "d5671e45b0c4ffbcbd7a28325bb76f29d05147c3109e8bc0134c15751b3474f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5671e45b0c4ffbcbd7a28325bb76f29d05147c3109e8bc0134c15751b3474f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5671e45b0c4ffbcbd7a28325bb76f29d05147c3109e8bc0134c15751b3474f7", kill_on_drop: false }` [INFO] [stdout] d5671e45b0c4ffbcbd7a28325bb76f29d05147c3109e8bc0134c15751b3474f7 [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] d96f0999347c3c895faa9fa69846b9b2d01058d32bbd7ee4e55e0af65aee1e7e [INFO] running `Command { std: "docker" "start" "-a" "d96f0999347c3c895faa9fa69846b9b2d01058d32bbd7ee4e55e0af65aee1e7e", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking spl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/parser.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^--^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [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 `'a` [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result<'a, Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> 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] 8 | pub fn compile(code: &str) -> Result<'_, Program> { [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/position.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn with(&self, content: U) -> Pos<'a, U> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | 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/position.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn extend(mut self, other: &Pos) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | 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/position.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn grow(mut self, length: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | 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/position.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn eject(self) -> (Pos<'a, ()>, T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | 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/position.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn pos(&self) -> Pos<'a, ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spl` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/parser.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^--^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [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 `'a` [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new(mut lexer: PeekLexer<'a>) -> Result<'a, Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn compile(code: &str) -> 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] 8 | pub fn compile(code: &str) -> Result<'_, Program> { [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/position.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn with(&self, content: U) -> Pos<'a, U> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | 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/position.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn extend(mut self, other: &Pos) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | 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/position.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn grow(mut self, length: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | 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/position.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn eject(self) -> (Pos<'a, ()>, T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | 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/position.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn pos(&self) -> Pos<'a, ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | impl<'a, T> Deref for Pos<'a, T> { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 166 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spl` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d96f0999347c3c895faa9fa69846b9b2d01058d32bbd7ee4e55e0af65aee1e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96f0999347c3c895faa9fa69846b9b2d01058d32bbd7ee4e55e0af65aee1e7e", kill_on_drop: false }` [INFO] [stdout] d96f0999347c3c895faa9fa69846b9b2d01058d32bbd7ee4e55e0af65aee1e7e