[INFO] fetching crate toad-common 1.0.0-beta.3... [INFO] checking toad-common-1.0.0-beta.3 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate toad-common 1.0.0-beta.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate toad-common 1.0.0-beta.3 [INFO] finished tweaking crates.io crate toad-common 1.0.0-beta.3 [INFO] tweaked toml for crates.io crate toad-common 1.0.0-beta.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate toad-common 1.0.0-beta.3 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 9 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [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: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tinyvec` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4a365092bc39e17cd605765ed44c0df312407fee5fe26d3174b8db3ad13697a1 [INFO] running `Command { std: "docker" "start" "-a" "4a365092bc39e17cd605765ed44c0df312407fee5fe26d3174b8db3ad13697a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a365092bc39e17cd605765ed44c0df312407fee5fe26d3174b8db3ad13697a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a365092bc39e17cd605765ed44c0df312407fee5fe26d3174b8db3ad13697a1", kill_on_drop: false }` [INFO] [stdout] 4a365092bc39e17cd605765ed44c0df312407fee5fe26d3174b8db3ad13697a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3610a7aefd9d8b0f56b1bf826b518befdce8049fecb677e933b32770f54248ba [INFO] running `Command { std: "docker" "start" "-a" "3610a7aefd9d8b0f56b1bf826b518befdce8049fecb677e933b32770f54248ba", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tinyvec` dependency) [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking toad-common v1.0.0-beta.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `no_std` [INFO] [stdout] --> src/lib.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(all(not(test), feature = "no_std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `docs`, `std`, and `test` [INFO] [stdout] = help: consider adding `no_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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/writable.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl> Deref for Writable { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 60 | type Target = A; [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/writable.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn as_slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl> Deref for Writable { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 60 | type Target = A; [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/writable.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn as_mut_slice(&mut self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl> Deref for Writable { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 60 | type Target = A; [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/writable.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn unwrap(self) -> A { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl> Deref for Writable { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 60 | type Target = A; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toad-common` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `no_std` [INFO] [stdout] --> src/lib.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(all(not(test), feature = "no_std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `docs`, `std`, and `test` [INFO] [stdout] = help: consider adding `no_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 165 | wait!(START); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 168 | wait!(READING); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 169 | wait!(READING_DONE); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 172 | wait!(MODIFY_DONE); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 176 | wait!(START); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 177 | wait!(READING); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 179 | wait!(MODIFY_DONE); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 182 | wait!(START); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 183 | wait!(READING); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 184 | wait!(READING_DONE); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stem.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | $b.as_ref().unwrap().clone().wait(); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 185 | wait!(MODIFY_DONE); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `wait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/writable.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl> Deref for Writable { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 60 | type Target = A; [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/writable.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn as_slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl> Deref for Writable { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 60 | type Target = A; [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/writable.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn as_mut_slice(&mut self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl> Deref for Writable { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 60 | type Target = A; [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/writable.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn unwrap(self) -> A { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl> Deref for Writable { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 60 | type Target = A; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toad-common` (lib test) due to 4 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3610a7aefd9d8b0f56b1bf826b518befdce8049fecb677e933b32770f54248ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3610a7aefd9d8b0f56b1bf826b518befdce8049fecb677e933b32770f54248ba", kill_on_drop: false }` [INFO] [stdout] 3610a7aefd9d8b0f56b1bf826b518befdce8049fecb677e933b32770f54248ba