[INFO] fetching crate edlc_core 0.1.1... [INFO] checking edlc_core-0.1.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate edlc_core 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate edlc_core 0.1.1 [INFO] finished tweaking crates.io crate edlc_core 0.1.1 [INFO] tweaked toml for crates.io crate edlc_core 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate edlc_core 0.1.1 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 edlc_core 0.1.1 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 41d5a5076e72647ca1a4c227629c9b96759e002ab3fa2467ca914b4271db9020 [INFO] running `Command { std: "docker" "start" "-a" "41d5a5076e72647ca1a4c227629c9b96759e002ab3fa2467ca914b4271db9020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41d5a5076e72647ca1a4c227629c9b96759e002ab3fa2467ca914b4271db9020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d5a5076e72647ca1a4c227629c9b96759e002ab3fa2467ca914b4271db9020", kill_on_drop: false }` [INFO] [stdout] 41d5a5076e72647ca1a4c227629c9b96759e002ab3fa2467ca914b4271db9020 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 587c75744fdd220f47fa34421130bb5d421fa13593444982400f15f13a8c023c [INFO] running `Command { std: "docker" "start" "-a" "587c75744fdd220f47fa34421130bb5d421fa13593444982400f15f13a8c023c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking edlc_analysis v0.1.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.44 [INFO] [stderr] Checking edlc_core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EdlFnRet` [INFO] [stdout] --> src/resolver.rs:1683:31 [INFO] [stdout] | [INFO] [stdout] 1683 | use crate::core::edl_fn::{EdlFnRet, EdlFnSignature}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdlMaybeType` [INFO] [stdout] --> src/resolver.rs:1685:33 [INFO] [stdout] | [INFO] [stdout] 1685 | use crate::core::edl_type::{EdlMaybeType, EdlTypeRegistry}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EdlFnArgument` and `EdlFnRet` [INFO] [stdout] --> src/ast/test.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::core::edl_fn::{EdlFnArgument, EdlFnParam, EdlFnRet, EdlFnSignature}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdlMaybeType` [INFO] [stdout] --> src/ast/test.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::core::edl_type::{EdlMaybeType, EdlTypeRegistry}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/test.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | let mut target_ty = hir_phase.types.usize(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snapshot` [INFO] [stdout] --> src/core/type_analysis/snapshot_vec.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | let snapshot = vec.dump(lvl2); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lvl2` [INFO] [stdout] --> src/core/type_analysis/snapshot_vec.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 487 | let lvl2 = vec.snapshot(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lvl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snap` [INFO] [stdout] --> src/core/type_analysis/snapshot_vec.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | let snap = vec.snapshot(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_snap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snap` [INFO] [stdout] --> src/core/type_analysis/snapshot_vec.rs:547:17 [INFO] [stdout] | [INFO] [stdout] 547 | let snap = vec.snapshot(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_snap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lvl2` [INFO] [stdout] --> src/core/type_analysis/snapshot_vec.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | let lvl2 = vec.snapshot(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lvl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/type_analysis.rs:2040:13 [INFO] [stdout] | [INFO] [stdout] 2040 | let mut reg = EdlTypeRegistry::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/core/type_analysis.rs:2055:13 [INFO] [stdout] | [INFO] [stdout] 2055 | let s2 = inferer.snapshot(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/type_analysis.rs:2105:13 [INFO] [stdout] | [INFO] [stdout] 2105 | let mut reg = EdlTypeRegistry::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/core/index_map.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get(&self) -> Option<&'a T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | impl<'a, T> Deref for IndexMapView<'a, T> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 221 | 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/core/index_map.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | impl<'a, T> Deref for IndexMapViewMut<'a, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 250 | 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/core/index_map.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | impl<'a, T> Deref for IndexMapViewMut<'a, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 250 | 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/core/index_map.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn set(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | impl<'a, T> Deref for IndexMapViewMut<'a, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 250 | 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/core/index_map.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn remove(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | impl<'a, T> Deref for IndexMapViewMut<'a, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 250 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/hir/hir_expr/hir_call.rs:2011:13 [INFO] [stdout] | [INFO] [stdout] 2011 | let id = compiler.parse_module(inline_code!(r#" [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/hir/hir_expr/hir_call.rs:2021:13 [INFO] [stdout] | [INFO] [stdout] 2021 | let id = compiler.parse_module(inline_code!(r#" [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/hir/hir_expr/hir_call.rs:2032:13 [INFO] [stdout] | [INFO] [stdout] 2032 | let id = compiler.parse_module(inline_code!(r#" [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `edlc_core` (lib) due to 5 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/core/index_map.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get(&self) -> Option<&'a T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | impl<'a, T> Deref for IndexMapView<'a, T> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 221 | 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/core/index_map.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | impl<'a, T> Deref for IndexMapViewMut<'a, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 250 | 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/core/index_map.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | impl<'a, T> Deref for IndexMapViewMut<'a, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 250 | 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/core/index_map.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn set(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | impl<'a, T> Deref for IndexMapViewMut<'a, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 250 | 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/core/index_map.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn remove(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | impl<'a, T> Deref for IndexMapViewMut<'a, T> { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 250 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `edlc_core` (lib test) due to 5 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "587c75744fdd220f47fa34421130bb5d421fa13593444982400f15f13a8c023c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587c75744fdd220f47fa34421130bb5d421fa13593444982400f15f13a8c023c", kill_on_drop: false }` [INFO] [stdout] 587c75744fdd220f47fa34421130bb5d421fa13593444982400f15f13a8c023c