[INFO] fetching crate too 0.2.0... [INFO] checking too-0.2.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate too 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate too 0.2.0 [INFO] finished tweaking crates.io crate too 0.2.0 [INFO] tweaked toml for crates.io crate too 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate too 0.2.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding compact_str v0.8.1 (available: v0.9.0) [INFO] [stderr] Adding crossterm v0.28.1 (available: v0.29.0) [INFO] [stderr] Adding flume v0.11.1 (available: v0.12.0) [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] aacd277ef643252fac1894bdec27d92d1427a499aa7cdc4e00c06e333f57e77c [INFO] running `Command { std: "docker" "start" "-a" "aacd277ef643252fac1894bdec27d92d1427a499aa7cdc4e00c06e333f57e77c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aacd277ef643252fac1894bdec27d92d1427a499aa7cdc4e00c06e333f57e77c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aacd277ef643252fac1894bdec27d92d1427a499aa7cdc4e00c06e333f57e77c", kill_on_drop: false }` [INFO] [stdout] aacd277ef643252fac1894bdec27d92d1427a499aa7cdc4e00c06e333f57e77c [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] 953f31086b8b5a760e2d861bda5ede72bec906da213916bc52e571a457b3c44d [INFO] running `Command { std: "docker" "start" "-a" "953f31086b8b5a760e2d861bda5ede72bec906da213916bc52e571a457b3c44d", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking too v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/renderer/rgba.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | let scale = |d| (d as f32 / 256.0); [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] 141 - let scale = |d| (d as f32 / 256.0); [INFO] [stdout] 141 + let scale = |d| d as f32 / 256.0 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/renderer/rgba.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | let scale = |d| (d as f32 / 256.0); [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] 141 - let scale = |d| (d as f32 / 256.0); [INFO] [stdout] 141 + let scale = |d| d as f32 / 256.0 ; [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/view/response.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn map(self, map: impl FnOnce(T) -> U) -> Response { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl std::ops::Deref for Response { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 60 | 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/view/response.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pub const fn id(&self) -> ViewId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl std::ops::Deref for Response { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 60 | 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/view/response.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl std::ops::Deref for Response { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 60 | 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/views/slider.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn slider(value: &mut f32) -> Slider { [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] 85 | pub fn slider(value: &mut f32) -> Slider<'_> { [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/view/response.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn map(self, map: impl FnOnce(T) -> U) -> Response { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl std::ops::Deref for Response { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 60 | 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/view/response.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pub const fn id(&self) -> ViewId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl std::ops::Deref for Response { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 60 | 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/view/response.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl std::ops::Deref for Response { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 60 | 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/views/slider.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn slider(value: &mut f32) -> Slider { [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] 85 | pub fn slider(value: &mut f32) -> Slider<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `too` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `too` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "953f31086b8b5a760e2d861bda5ede72bec906da213916bc52e571a457b3c44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "953f31086b8b5a760e2d861bda5ede72bec906da213916bc52e571a457b3c44d", kill_on_drop: false }` [INFO] [stdout] 953f31086b8b5a760e2d861bda5ede72bec906da213916bc52e571a457b3c44d