[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-retry-0 [INFO] extracting crate herolib-core 0.3.13 into /workspace/builds/worker-7-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-7-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5f82993b9313ffce18dad9a45375cd203691fdc1f39bed6d50551a637382f0f9 [INFO] running `Command { std: "docker" "start" "-a" "5f82993b9313ffce18dad9a45375cd203691fdc1f39bed6d50551a637382f0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f82993b9313ffce18dad9a45375cd203691fdc1f39bed6d50551a637382f0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f82993b9313ffce18dad9a45375cd203691fdc1f39bed6d50551a637382f0f9", kill_on_drop: false }` [INFO] [stdout] 5f82993b9313ffce18dad9a45375cd203691fdc1f39bed6d50551a637382f0f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e1daab583eb450e9d15903515ad1c0896e675c7f21ab3f72a8a26be0fe082787 [INFO] running `Command { std: "docker" "start" "-a" "e1daab583eb450e9d15903515ad1c0896e675c7f21ab3f72a8a26be0fe082787", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking bitflags v2.10.0 [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 autocfg v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking ureq-proto v0.5.3 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking webpki-roots v1.0.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking rhai v1.24.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking lock_api v0.4.14 [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 hex v0.4.3 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking tera v1.20.1 [INFO] [stderr] Checking ureq v3.1.4 [INFO] [stderr] Compiling herolib-derive v0.3.13 [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" "e1daab583eb450e9d15903515ad1c0896e675c7f21ab3f72a8a26be0fe082787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1daab583eb450e9d15903515ad1c0896e675c7f21ab3f72a8a26be0fe082787", kill_on_drop: false }` [INFO] [stdout] e1daab583eb450e9d15903515ad1c0896e675c7f21ab3f72a8a26be0fe082787