[INFO] cloning repository https://github.com/hjr3/building-better-interfaces [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hjr3/building-better-interfaces" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjr3%2Fbuilding-better-interfaces", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjr3%2Fbuilding-better-interfaces'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d30913d5f3230f435fed75e13571d4164d6b5d3 [INFO] checking hjr3/building-better-interfaces 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%2Fhjr3%2Fbuilding-better-interfaces" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hjr3/building-better-interfaces [INFO] finished tweaking git repo https://github.com/hjr3/building-better-interfaces [INFO] tweaked toml for git repo https://github.com/hjr3/building-better-interfaces written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hjr3/building-better-interfaces 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/hjr3/building-better-interfaces 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b12ada4d29e85a015897b94b7fe20d14f470e1f5935d5ae1949d314d3c01a3dd [INFO] running `Command { std: "docker" "start" "-a" "b12ada4d29e85a015897b94b7fe20d14f470e1f5935d5ae1949d314d3c01a3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b12ada4d29e85a015897b94b7fe20d14f470e1f5935d5ae1949d314d3c01a3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b12ada4d29e85a015897b94b7fe20d14f470e1f5935d5ae1949d314d3c01a3dd", kill_on_drop: false }` [INFO] [stdout] b12ada4d29e85a015897b94b7fe20d14f470e1f5935d5ae1949d314d3c01a3dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 348d290f43c77a1ccae84b03bb438de51a4965a15bedee1f0ca535fd954982dc [INFO] running `Command { std: "docker" "start" "-a" "348d290f43c77a1ccae84b03bb438de51a4965a15bedee1f0ca535fd954982dc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking building-better-interfaces v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/name.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | fn try_from(T) -> Result where Self: Sized; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/name.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | fn try_from(T) -> Result where Self: Sized; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/name.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn to_uppercase(&self) -> Cow { [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] 146 | pub fn to_uppercase(&self) -> Cow<'_, NameStr> { [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/student.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn play(self) -> Recess { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl Deref for InClass { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 46 | 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/student.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn learn(self) -> InClass { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl Deref for Recess { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 70 | 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/student.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn shout(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl Deref for Recess { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 70 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `building-better-interfaces` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/name.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn to_uppercase(&self) -> Cow { [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] 146 | pub fn to_uppercase(&self) -> Cow<'_, NameStr> { [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/student.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn play(self) -> Recess { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | impl Deref for InClass { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 46 | 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/student.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn learn(self) -> InClass { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl Deref for Recess { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 70 | 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/student.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn shout(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl Deref for Recess { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 70 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `building-better-interfaces` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "348d290f43c77a1ccae84b03bb438de51a4965a15bedee1f0ca535fd954982dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348d290f43c77a1ccae84b03bb438de51a4965a15bedee1f0ca535fd954982dc", kill_on_drop: false }` [INFO] [stdout] 348d290f43c77a1ccae84b03bb438de51a4965a15bedee1f0ca535fd954982dc