[INFO] fetching crate pdf 0.9.1... [INFO] checking pdf-0.9.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate pdf 0.9.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pdf 0.9.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pdf 0.9.1 [INFO] tweaked toml for crates.io crate pdf 0.9.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pdf 0.9.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 pdf 0.9.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-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] 9bfec033324e25706f53a892371cc6a6702977e724865527a948a62599148f3f [INFO] running `Command { std: "docker" "start" "-a" "9bfec033324e25706f53a892371cc6a6702977e724865527a948a62599148f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bfec033324e25706f53a892371cc6a6702977e724865527a948a62599148f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfec033324e25706f53a892371cc6a6702977e724865527a948a62599148f3f", kill_on_drop: false }` [INFO] [stdout] 9bfec033324e25706f53a892371cc6a6702977e724865527a948a62599148f3f [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] b562da7acb55c8afc197f3ddee7bca3f5458973b49def736273fda46ce155920 [INFO] running `Command { std: "docker" "start" "-a" "b562da7acb55c8afc197f3ddee7bca3f5458973b49def736273fda46ce155920", kill_on_drop: false }` [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking dary_heap v0.3.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking libflate_lz77 v2.2.0 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking tuple v0.5.2 [INFO] [stderr] Checking libflate v2.2.1 [INFO] [stderr] Checking snafu v0.8.9 [INFO] [stderr] Checking globalcache v0.2.4 [INFO] [stderr] Compiling datasize_derive v0.2.15 [INFO] [stderr] Compiling pdf_derive v0.2.0 [INFO] [stderr] Checking datasize v0.2.15 [INFO] [stderr] Checking istring v0.3.4 [INFO] [stderr] Checking pdf v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error::*` and `object::*` [INFO] [stdout] --> src/object/types.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub use crate::{error::*, font::Font, object::*, primitive::Primitive}; [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 imports: `error::*` and `object::*` [INFO] [stdout] --> src/object/types.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub use crate::{error::*, font::Font, object::*, primitive::Primitive}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/object/mod.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn get_ref(&self) -> Ref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | impl Deref for RcRef { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 319 | 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/object/mod.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn data(&self) -> &Shared { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | impl Deref for RcRef { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 319 | 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/object/mod.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn as_ref(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | impl Deref for MaybeRef { [INFO] [stdout] | ----------------------------- trait implemented here [INFO] [stdout] 398 | 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/object/mod.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn data(&self) -> &Shared { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | impl Deref for MaybeRef { [INFO] [stdout] | ----------------------------- trait implemented here [INFO] [stdout] 398 | 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/object/stream.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn data(&self, resolve: &impl Resolve) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | impl Deref for Stream { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 199 | type Target = StreamInfo; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 234 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 235 | type Target = I; [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/object/stream.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | impl Deref for Stream { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 199 | type Target = StreamInfo; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 234 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 235 | type Target = I; [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/object/stream.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 234 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 235 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_filters(&self) -> &[StreamFilter] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer/mod.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn seek_newline(&mut self) -> Substr{ [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] 268 | pub fn seek_newline(&mut self) -> Substr<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer/mod.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn ctx(&self) -> Cow { [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] 340 | pub fn ctx(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pdf` (lib) due to 7 previous errors; 3 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/object/mod.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn get_ref(&self) -> Ref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | impl Deref for RcRef { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 319 | 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/object/mod.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn data(&self) -> &Shared { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | impl Deref for RcRef { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 319 | 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/object/mod.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn as_ref(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | impl Deref for MaybeRef { [INFO] [stdout] | ----------------------------- trait implemented here [INFO] [stdout] 398 | 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/object/mod.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn data(&self) -> &Shared { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | impl Deref for MaybeRef { [INFO] [stdout] | ----------------------------- trait implemented here [INFO] [stdout] 398 | 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/object/stream.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn data(&self, resolve: &impl Resolve) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | impl Deref for Stream { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 199 | type Target = StreamInfo; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 234 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 235 | type Target = I; [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/object/stream.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | impl Deref for Stream { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 199 | type Target = StreamInfo; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 234 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 235 | type Target = I; [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/object/stream.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 234 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 235 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_filters(&self) -> &[StreamFilter] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer/mod.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn seek_newline(&mut self) -> Substr{ [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] 268 | pub fn seek_newline(&mut self) -> Substr<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer/mod.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn ctx(&self) -> Cow { [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] 340 | pub fn ctx(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pdf` (lib test) due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b562da7acb55c8afc197f3ddee7bca3f5458973b49def736273fda46ce155920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b562da7acb55c8afc197f3ddee7bca3f5458973b49def736273fda46ce155920", kill_on_drop: false }` [INFO] [stdout] b562da7acb55c8afc197f3ddee7bca3f5458973b49def736273fda46ce155920