[INFO] fetching crate thinnbox 0.1.2... [INFO] checking thinnbox-0.1.2 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate thinnbox 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate thinnbox 0.1.2 [INFO] finished tweaking crates.io crate thinnbox 0.1.2 [INFO] tweaked toml for crates.io crate thinnbox 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate thinnbox 0.1.2 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 22 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e734633790d9a3182b77c1299c0409c4a3ae1902d6105529b69792aa9feb4398 [INFO] running `Command { std: "docker" "start" "-a" "e734633790d9a3182b77c1299c0409c4a3ae1902d6105529b69792aa9feb4398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e734633790d9a3182b77c1299c0409c4a3ae1902d6105529b69792aa9feb4398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e734633790d9a3182b77c1299c0409c4a3ae1902d6105529b69792aa9feb4398", kill_on_drop: false }` [INFO] [stdout] e734633790d9a3182b77c1299c0409c4a3ae1902d6105529b69792aa9feb4398 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 203ea1efdcfe1465da7dbc692123f2b8b7abd6f44608207955cc988462fc4db9 [INFO] running `Command { std: "docker" "start" "-a" "203ea1efdcfe1465da7dbc692123f2b8b7abd6f44608207955cc988462fc4db9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling docfg v0.1.0 [INFO] [stderr] Checking thinnbox v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `$i::*` [INFO] [stdout] --> src/lib.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub use $i::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | flat_mod! { r#fn, iter, ops, future, ser_de, io } [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `flat_mod` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc_layout_extra` has been stable since 1.95.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | alloc_layout_extra, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pointer_byte_offsets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$i::*` [INFO] [stdout] --> src/lib.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub use $i::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | flat_mod! { r#fn, iter, ops, future, ser_de, io } [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `flat_mod` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc_layout_extra` has been stable since 1.95.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | alloc_layout_extra, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pointer_byte_offsets, [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/lib.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn into_raw(self) -> NonNull<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn into_inner(self) -> T [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn into_inner_with_alloc(self) -> (T, A) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | pub unsafe fn as_raw (&self) -> NonNull<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn into_raw_with_alloc(self) -> (NonNull<()>, A) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn metadata(&self) -> ::Metadata { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn allocator(&self) -> &A { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn heap_layout(&self) -> Layout { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thinnbox` (lib) due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `thinnbox` (lib test) due to 8 previous errors; 3 warnings emitted [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn into_raw(self) -> NonNull<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn into_inner(self) -> T [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn into_inner_with_alloc(self) -> (T, A) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | pub unsafe fn as_raw (&self) -> NonNull<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn into_raw_with_alloc(self) -> (NonNull<()>, A) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn metadata(&self) -> ::Metadata { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn allocator(&self) -> &A { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | 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/lib.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn heap_layout(&self) -> Layout { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | impl Deref for ThinBox { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 257 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "203ea1efdcfe1465da7dbc692123f2b8b7abd6f44608207955cc988462fc4db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "203ea1efdcfe1465da7dbc692123f2b8b7abd6f44608207955cc988462fc4db9", kill_on_drop: false }` [INFO] [stdout] 203ea1efdcfe1465da7dbc692123f2b8b7abd6f44608207955cc988462fc4db9