[INFO] cloning repository https://github.com/julian-baumann/rust-data [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/julian-baumann/rust-data" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulian-baumann%2Frust-data", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulian-baumann%2Frust-data'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57c41873917ab7cdbdb3fd3908133302f18066fa [INFO] checking julian-baumann/rust-data against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulian-baumann%2Frust-data" "/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/julian-baumann/rust-data [INFO] finished tweaking git repo https://github.com/julian-baumann/rust-data [INFO] tweaked toml for git repo https://github.com/julian-baumann/rust-data written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/julian-baumann/rust-data 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/julian-baumann/rust-data 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] 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] 3fad1ba6a91f250effb1059ab8005ea357b30394eec6d375884d545ab4a72315 [INFO] running `Command { std: "docker" "start" "-a" "3fad1ba6a91f250effb1059ab8005ea357b30394eec6d375884d545ab4a72315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fad1ba6a91f250effb1059ab8005ea357b30394eec6d375884d545ab4a72315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fad1ba6a91f250effb1059ab8005ea357b30394eec6d375884d545ab4a72315", kill_on_drop: false }` [INFO] [stdout] 3fad1ba6a91f250effb1059ab8005ea357b30394eec6d375884d545ab4a72315 [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] 39e078e84c50a93bd0f68c3f4a38c1a90ca381769c8940c90e3a352e5b02403c [INFO] running `Command { std: "docker" "start" "-a" "39e078e84c50a93bd0f68c3f4a38c1a90ca381769c8940c90e3a352e5b02403c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling redb v2.6.3 [INFO] [stderr] Compiling redb v1.5.1 [INFO] [stderr] Checking inventory v0.3.21 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling native_model_macro v0.4.20 [INFO] [stderr] Compiling native_db_macro v0.6.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling native_model v0.4.20 [INFO] [stderr] Compiling native_db v0.6.1 [INFO] [stderr] Checking rust-data v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cached.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl std::ops::Deref for Cached { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 77 | 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/cached.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn set(&mut self, value: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl std::ops::Deref for Cached { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 77 | 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/cached.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn update(&mut self, f: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl std::ops::Deref for Cached { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 77 | 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/cached.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl std::ops::Deref for Cached { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 77 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-data` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cached.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl std::ops::Deref for Cached { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 77 | 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/cached.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn set(&mut self, value: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl std::ops::Deref for Cached { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 77 | 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/cached.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn update(&mut self, f: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl std::ops::Deref for Cached { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 77 | 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/cached.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl std::ops::Deref for Cached { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 77 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-data` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "39e078e84c50a93bd0f68c3f4a38c1a90ca381769c8940c90e3a352e5b02403c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e078e84c50a93bd0f68c3f4a38c1a90ca381769c8940c90e3a352e5b02403c", kill_on_drop: false }` [INFO] [stdout] 39e078e84c50a93bd0f68c3f4a38c1a90ca381769c8940c90e3a352e5b02403c