[INFO] fetching crate starlark_syntax 0.13.0... [INFO] checking starlark_syntax-0.13.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate starlark_syntax 0.13.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate starlark_syntax 0.13.0 [INFO] finished tweaking crates.io crate starlark_syntax 0.13.0 [INFO] tweaked toml for crates.io crate starlark_syntax 0.13.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate starlark_syntax 0.13.0 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 127 packages to latest compatible versions [INFO] [stderr] Adding annotate-snippets v0.9.2 (available: v0.12.11) [INFO] [stderr] Adding derive_more v1.0.0 (available: v2.1.1) [INFO] [stderr] Adding lalrpop v0.19.12 (available: v0.22.2) [INFO] [stderr] Adding lalrpop-util v0.19.12 (available: v0.22.2) [INFO] [stderr] Adding logos v0.12.1 (available: v0.16.1) [INFO] [stderr] Adding lsp-types v0.94.1 (available: v0.97.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f2d8ca3e70593c29b7a92ee820425597decdc7e075f018ca371863fbc3ce3f8f [INFO] running `Command { std: "docker" "start" "-a" "f2d8ca3e70593c29b7a92ee820425597decdc7e075f018ca371863fbc3ce3f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2d8ca3e70593c29b7a92ee820425597decdc7e075f018ca371863fbc3ce3f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d8ca3e70593c29b7a92ee820425597decdc7e075f018ca371863fbc3ce3f8f", kill_on_drop: false }` [INFO] [stdout] f2d8ca3e70593c29b7a92ee820425597decdc7e075f018ca371863fbc3ce3f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f6f472e0a6175493c94e958e698644895479b451d8faa3e9e89d40841448f077 [INFO] running `Command { std: "docker" "start" "-a" "f6f472e0a6175493c94e958e698644895479b451d8faa3e9e89d40841448f077", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling allocative v0.3.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling starlark_map v0.13.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking annotate-snippets v0.9.2 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling dupe_derive v0.9.1 [INFO] [stderr] Compiling allocative_derive v0.3.3 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking dupe v0.9.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Compiling starlark_syntax v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/codemap.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn map(self, f: impl FnOnce(T) -> U) -> Spanned { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | impl Deref for Spanned { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 178 | 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/codemap.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn as_ref(&self) -> Spanned<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | impl Deref for Spanned { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 178 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codemap.rs:595:19 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn as_ref(&self) -> FileSpanRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 595 | pub fn as_ref(&self) -> FileSpanRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fast_string.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | fn convert_str_indices_slow(s: &str, start: Option, end: Option) -> Option { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | fn convert_str_indices_slow(s: &str, start: Option, end: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fast_string.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn convert_str_indices(s: &str, start: Option, end: Option) -> Option { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 213 | pub fn convert_str_indices(s: &str, start: Option, end: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syntax/module.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn loads(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn loads(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `starlark_syntax` (lib) due to 2 previous errors; 4 warnings emitted [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/codemap.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn map(self, f: impl FnOnce(T) -> U) -> Spanned { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | impl Deref for Spanned { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 178 | 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/codemap.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn as_ref(&self) -> Spanned<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | impl Deref for Spanned { [INFO] [stdout] | ---------------------------- trait implemented here [INFO] [stdout] 178 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codemap.rs:595:19 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn as_ref(&self) -> FileSpanRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 595 | pub fn as_ref(&self) -> FileSpanRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fast_string.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | fn convert_str_indices_slow(s: &str, start: Option, end: Option) -> Option { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | fn convert_str_indices_slow(s: &str, start: Option, end: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fast_string.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn convert_str_indices(s: &str, start: Option, end: Option) -> Option { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 213 | pub fn convert_str_indices(s: &str, start: Option, end: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syntax/module.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn loads(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn loads(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `starlark_syntax` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f6f472e0a6175493c94e958e698644895479b451d8faa3e9e89d40841448f077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f472e0a6175493c94e958e698644895479b451d8faa3e9e89d40841448f077", kill_on_drop: false }` [INFO] [stdout] f6f472e0a6175493c94e958e698644895479b451d8faa3e9e89d40841448f077