[INFO] fetching crate acroform-pdf 0.0.16... [INFO] checking acroform-pdf-0.0.16 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate acroform-pdf 0.0.16 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate acroform-pdf 0.0.16 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate acroform-pdf 0.0.16 [INFO] tweaked toml for crates.io crate acroform-pdf 0.0.16 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate acroform-pdf 0.0.16 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 acroform-pdf 0.0.16 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] ac32a060d2354a5287f1354bf8185112650bc9b32c28f49303ea301272c2c5de [INFO] running `Command { std: "docker" "start" "-a" "ac32a060d2354a5287f1354bf8185112650bc9b32c28f49303ea301272c2c5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac32a060d2354a5287f1354bf8185112650bc9b32c28f49303ea301272c2c5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac32a060d2354a5287f1354bf8185112650bc9b32c28f49303ea301272c2c5de", kill_on_drop: false }` [INFO] [stdout] ac32a060d2354a5287f1354bf8185112650bc9b32c28f49303ea301272c2c5de [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] 3e1256af8de1e4dd039afe52173f49ac1d7ee1b405902fb026b0dd3e1e107073 [INFO] running `Command { std: "docker" "start" "-a" "3e1256af8de1e4dd039afe52173f49ac1d7ee1b405902fb026b0dd3e1e107073", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking dary_heap v0.3.8 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking tuple v0.5.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking libflate_lz77 v2.1.0 [INFO] [stderr] Checking libflate v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling acroform-pdf-derive v0.0.16 [INFO] [stderr] Compiling datasize_derive v0.2.15 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking datasize v0.2.15 [INFO] [stderr] Checking globalcache v0.2.4 [INFO] [stderr] Checking istring v0.3.4 [INFO] [stderr] Checking snafu v0.8.9 [INFO] [stderr] Checking acroform-pdf v0.0.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `snafu::ErrorCompat` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use snafu::ErrorCompat; [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: `Object` [INFO] [stdout] --> src/any.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::object::{Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snafu::ErrorCompat` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use snafu::ErrorCompat; [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: `Object` [INFO] [stdout] --> src/any.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::object::{Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `aes::cipher::generic_array::sequence::Split`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use aes::cipher::generic_array::{sequence::Split, GenericArray}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `aes::cipher::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use aes::cipher::generic_array::{sequence::Split, GenericArray}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `aes::cipher::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:465:27 [INFO] [stdout] | [INFO] [stdout] 465 | let zero_iv = GenericArray::from_slice(&[0u8; 16]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `aes::cipher::generic_array::sequence::Split`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use aes::cipher::generic_array::{sequence::Split, GenericArray}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `aes::cipher::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use aes::cipher::generic_array::{sequence::Split, GenericArray}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `aes::cipher::generic_array::GenericArray`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:465:27 [INFO] [stdout] | [INFO] [stdout] 465 | let zero_iv = GenericArray::from_slice(&[0u8; 16]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/primitive.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | self.dict.remove(key) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/primitive.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | self.dict.remove(key) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::group_by`: Use .chunk_by() instead [INFO] [stdout] --> src/font.rs:655:36 [INFO] [stdout] | [INFO] [stdout] 655 | for (single, group) in &blocks.group_by(|b| b.len() == 1) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::group_by`: Use .chunk_by() instead [INFO] [stdout] --> src/font.rs:655:36 [INFO] [stdout] | [INFO] [stdout] 655 | for (single, group) in &blocks.group_by(|b| b.len() == 1) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `aes::cipher::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:442:39 [INFO] [stdout] | [INFO] [stdout] 442 | if user_hash_computed.as_slice() == user_hash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `aes::cipher::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:453:44 [INFO] [stdout] | [INFO] [stdout] 453 | if owner_hash_computed.as_slice() == owner_hash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes::cipher::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:465:41 [INFO] [stdout] | [INFO] [stdout] 465 | let zero_iv = GenericArray::from_slice(&[0u8; 16]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `aes::cipher::generic_array::sequence::Split::split`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:490:39 [INFO] [stdout] | [INFO] [stdout] 490 | let (mut key, mut iv) = input.split(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `aes::cipher::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:442:39 [INFO] [stdout] | [INFO] [stdout] 442 | if user_hash_computed.as_slice() == user_hash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `aes::cipher::generic_array::GenericArray::::as_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:453:44 [INFO] [stdout] | [INFO] [stdout] 453 | if owner_hash_computed.as_slice() == owner_hash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes::cipher::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:465:41 [INFO] [stdout] | [INFO] [stdout] 465 | let zero_iv = GenericArray::from_slice(&[0u8; 16]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `aes::cipher::generic_array::sequence::Split::split`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypt.rs:490:39 [INFO] [stdout] | [INFO] [stdout] 490 | let (mut key, mut iv) = input.split(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/object/function.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | fn to_primitive(&self, update: &mut impl Updater) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloner` [INFO] [stdout] --> src/object/function.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | fn deep_clone(&self, cloner: &mut impl Cloner) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/object/mod.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | fn stream_data(&self, id: PlainRef, range: Range) -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/object/mod.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | fn stream_data(&self, id: PlainRef, range: Range) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/object/mod.rs:485:28 [INFO] [stdout] | [INFO] [stdout] 485 | fn to_primitive(&self, update: &mut impl Updater) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloner` [INFO] [stdout] --> src/object/mod.rs:841:38 [INFO] [stdout] | [INFO] [stdout] 841 | fn deep_clone(&self, cloner: &mut impl Cloner) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 848 | deep_clone_simple!(f32, i32, u32, bool, Name, (), Date, PdfString, Rectangle, u8, Arc<[u8]>, Vec); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `cloner` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/object/mod.rs:841:38 [INFO] [stdout] | [INFO] [stdout] 841 | fn deep_clone(&self, cloner: &mut impl Cloner) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 848 | deep_clone_simple!(f32, i32, u32, bool, Name, (), Date, PdfString, Rectangle, u8, Arc<[u8]>, Vec); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `deep_clone_simple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/object/function.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | fn to_primitive(&self, update: &mut impl Updater) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloner` [INFO] [stdout] --> src/object/function.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | fn deep_clone(&self, cloner: &mut impl Cloner) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/object/mod.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | fn stream_data(&self, id: PlainRef, range: Range) -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/object/mod.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | fn stream_data(&self, id: PlainRef, range: Range) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/primitive.rs:270:28 [INFO] [stdout] | [INFO] [stdout] 270 | fn to_primitive(&self, update: &mut impl Updater) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/object/mod.rs:485:28 [INFO] [stdout] | [INFO] [stdout] 485 | fn to_primitive(&self, update: &mut impl Updater) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloner` [INFO] [stdout] --> src/object/mod.rs:841:38 [INFO] [stdout] | [INFO] [stdout] 841 | fn deep_clone(&self, cloner: &mut impl Cloner) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 848 | deep_clone_simple!(f32, i32, u32, bool, Name, (), Date, PdfString, Rectangle, u8, Arc<[u8]>, Vec); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `cloner` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/object/mod.rs:841:38 [INFO] [stdout] | [INFO] [stdout] 841 | fn deep_clone(&self, cloner: &mut impl Cloner) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 848 | deep_clone_simple!(f32, i32, u32, bool, Name, (), Date, PdfString, Rectangle, u8, Arc<[u8]>, Vec); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `deep_clone_simple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/primitive.rs:270:28 [INFO] [stdout] | [INFO] [stdout] 270 | fn to_primitive(&self, update: &mut impl Updater) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloner` [INFO] [stdout] --> src/encoding.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn deep_clone(&self, cloner: &mut impl pdf::object::Cloner) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/build.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | if let Some((old, new)) = self.shared.get(&key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloner` [INFO] [stdout] --> src/encoding.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn deep_clone(&self, cloner: &mut impl pdf::object::Cloner) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/build.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | if let Some((old, new)) = self.shared.get(&key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [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:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_ref(&self) -> Ref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | impl Deref for RcRef { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 288 | 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:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn data(&self) -> &Shared { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | impl Deref for RcRef { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 288 | 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:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn as_ref(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | impl Deref for MaybeRef { [INFO] [stdout] | ----------------------------- trait implemented here [INFO] [stdout] 367 | 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:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn data(&self) -> &Shared { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | impl Deref for MaybeRef { [INFO] [stdout] | ----------------------------- trait implemented here [INFO] [stdout] 367 | 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] 195 | impl Deref for Stream { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 196 | type Target = StreamInfo; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 231 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 232 | 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] 195 | impl Deref for Stream { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 196 | type Target = StreamInfo; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 231 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 232 | 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:257:24 [INFO] [stdout] | [INFO] [stdout] 231 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 232 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 257 | 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] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/object/mod.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_ref(&self) -> Ref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | impl Deref for RcRef { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 288 | 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:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn data(&self) -> &Shared { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | impl Deref for RcRef { [INFO] [stdout] | -------------------------- trait implemented here [INFO] [stdout] 288 | 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:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn as_ref(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | impl Deref for MaybeRef { [INFO] [stdout] | ----------------------------- trait implemented here [INFO] [stdout] 367 | 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:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn data(&self) -> &Shared { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | impl Deref for MaybeRef { [INFO] [stdout] | ----------------------------- trait implemented here [INFO] [stdout] 367 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `acroform-pdf` (lib) due to 7 previous errors; 22 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/stream.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn data(&self, resolve: &impl Resolve) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl Deref for Stream { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 196 | type Target = StreamInfo; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 231 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 232 | 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] 195 | impl Deref for Stream { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 196 | type Target = StreamInfo; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 231 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 232 | 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:257:24 [INFO] [stdout] | [INFO] [stdout] 231 | impl Deref for StreamInfo { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 232 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 257 | 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 `acroform-pdf` (lib test) due to 7 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e1256af8de1e4dd039afe52173f49ac1d7ee1b405902fb026b0dd3e1e107073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1256af8de1e4dd039afe52173f49ac1d7ee1b405902fb026b0dd3e1e107073", kill_on_drop: false }` [INFO] [stdout] 3e1256af8de1e4dd039afe52173f49ac1d7ee1b405902fb026b0dd3e1e107073