[INFO] fetching crate herolib-core 0.3.13... [INFO] checking herolib-core-0.3.13 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate herolib-core 0.3.13 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate herolib-core 0.3.13 [INFO] finished tweaking crates.io crate herolib-core 0.3.13 [INFO] tweaked toml for crates.io crate herolib-core 0.3.13 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate herolib-core 0.3.13 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 crates.io crate herolib-core 0.3.13 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 9b99019a200a6e69de9fd0fc14885cd942aa3f9a3c30be5223cb36ccb32413f4 [INFO] running `Command { std: "docker" "start" "-a" "9b99019a200a6e69de9fd0fc14885cd942aa3f9a3c30be5223cb36ccb32413f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b99019a200a6e69de9fd0fc14885cd942aa3f9a3c30be5223cb36ccb32413f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b99019a200a6e69de9fd0fc14885cd942aa3f9a3c30be5223cb36ccb32413f4", kill_on_drop: false }` [INFO] [stdout] 9b99019a200a6e69de9fd0fc14885cd942aa3f9a3c30be5223cb36ccb32413f4 [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] 1fef8e7b7b5147f3ef1df05d81ae6d34883c078dd399d564abb25b0d7b273d19 [INFO] running `Command { std: "docker" "start" "-a" "1fef8e7b7b5147f3ef1df05d81ae6d34883c078dd399d564abb25b0d7b273d19", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking webpki-roots v1.0.5 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking ureq-proto v0.5.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking rhai v1.24.0 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tera v1.20.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Compiling herolib-derive v0.3.13 [INFO] [stderr] Checking ureq v3.1.4 [INFO] [stderr] Checking herolib-core v0.3.13 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/heroscript/text/sourced_object.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn can_save(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn file_path(&self) -> Option<&Path> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn start_line(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn end_line(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn format_location(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn save(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn save_oneline(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn to_heroscript(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `herolib-core` (lib) due to 8 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/heroscript/text/sourced_object.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn can_save(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn file_path(&self) -> Option<&Path> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn start_line(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn end_line(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn format_location(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn save(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn save_oneline(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | 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/heroscript/text/sourced_object.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn to_heroscript(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | impl std::ops::Deref for SourcedObject { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 230 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `herolib-core` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "1fef8e7b7b5147f3ef1df05d81ae6d34883c078dd399d564abb25b0d7b273d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fef8e7b7b5147f3ef1df05d81ae6d34883c078dd399d564abb25b0d7b273d19", kill_on_drop: false }` [INFO] [stdout] 1fef8e7b7b5147f3ef1df05d81ae6d34883c078dd399d564abb25b0d7b273d19