[INFO] fetching crate kobold 0.9.1... [INFO] checking kobold-0.9.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate kobold 0.9.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate kobold 0.9.1 [INFO] finished tweaking crates.io crate kobold 0.9.1 [INFO] tweaked toml for crates.io crate kobold 0.9.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kobold 0.9.1 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 37 packages to latest compatible versions [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] 03cc221fc9a9d3eba3c661379268b427253e50a6bf9bfa203ec55b41b7d026bf [INFO] running `Command { std: "docker" "start" "-a" "03cc221fc9a9d3eba3c661379268b427253e50a6bf9bfa203ec55b41b7d026bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03cc221fc9a9d3eba3c661379268b427253e50a6bf9bfa203ec55b41b7d026bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03cc221fc9a9d3eba3c661379268b427253e50a6bf9bfa203ec55b41b7d026bf", kill_on_drop: false }` [INFO] [stdout] 03cc221fc9a9d3eba3c661379268b427253e50a6bf9bfa203ec55b41b7d026bf [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] faad7607480161cc39acf4a60ff272a91472cd7e8ce52fe0c8303e34fc05eb54 [INFO] running `Command { std: "docker" "start" "-a" "faad7607480161cc39acf4a60ff272a91472cd7e8ce52fe0c8303e34fc05eb54", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling kobold_macros v0.9.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.108 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.108 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.108 [INFO] [stderr] Checking js-sys v0.3.85 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.58 [INFO] [stderr] Checking web-sys v0.3.85 [INFO] [stderr] Checking kobold v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/value.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | fn update(self, mut p: &mut Self::Product) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/value.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | fn update(self, mut p: &mut Self::Product) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (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/internal.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub unsafe fn cast(self) -> Out<'a, U> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | impl Deref for Out<'_, T> { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 56 | 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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list/page_list.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn cursor(&mut self) -> Cursor { [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] 131 | pub fn cursor(&mut self) -> Cursor<'_, T> { [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/stateful/hook.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn bind(&self, callback: F) -> Bound [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | impl Deref for Hook { [INFO] [stdout] | ------------------------- trait implemented here [INFO] [stdout] 227 | type Target = S; [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/stateful/hook.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn bind(&self, callback: F) -> Bound [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] 96 | pub fn bind(&self, callback: F) -> Bound<'_, S, F> [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/stateful/hook.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn bind_async(&self, callback: F) -> impl Listener [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | impl Deref for Hook { [INFO] [stdout] | ------------------------- trait implemented here [INFO] [stdout] 227 | type Target = S; [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/stateful/hook.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get(&self) -> S [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | impl Deref for Hook { [INFO] [stdout] | ------------------------- trait implemented here [INFO] [stdout] 227 | type Target = S; [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/internal.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub unsafe fn cast(self) -> Out<'a, U> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | impl Deref for Out<'_, T> { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 56 | 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] [stderr] error: could not compile `kobold` (lib) due to 4 previous errors; 3 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/list/page_list.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn cursor(&mut self) -> Cursor { [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] 131 | pub fn cursor(&mut self) -> Cursor<'_, T> { [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/stateful/hook.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn bind(&self, callback: F) -> Bound [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | impl Deref for Hook { [INFO] [stdout] | ------------------------- trait implemented here [INFO] [stdout] 227 | type Target = S; [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/stateful/hook.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn bind(&self, callback: F) -> Bound [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] 96 | pub fn bind(&self, callback: F) -> Bound<'_, S, F> [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/stateful/hook.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn bind_async(&self, callback: F) -> impl Listener [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | impl Deref for Hook { [INFO] [stdout] | ------------------------- trait implemented here [INFO] [stdout] 227 | type Target = S; [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/stateful/hook.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get(&self) -> S [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | impl Deref for Hook { [INFO] [stdout] | ------------------------- trait implemented here [INFO] [stdout] 227 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/stateful/hook.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | drop([mock, mock]); [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[hook::Bound<'_, i32, {closure@src/stateful/hook.rs:280:23: 280:59}>; 2]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 286 - drop([mock, mock]); [INFO] [stdout] 286 + let _ = [mock, mock]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kobold` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "faad7607480161cc39acf4a60ff272a91472cd7e8ce52fe0c8303e34fc05eb54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faad7607480161cc39acf4a60ff272a91472cd7e8ce52fe0c8303e34fc05eb54", kill_on_drop: false }` [INFO] [stdout] faad7607480161cc39acf4a60ff272a91472cd7e8ce52fe0c8303e34fc05eb54