[INFO] cloning repository https://github.com/Phoenix-Progressors/a4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Phoenix-Progressors/a4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhoenix-Progressors%2Fa4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhoenix-Progressors%2Fa4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4802628db208ff891cc8be3ff683ff74faeae19d [INFO] checking Phoenix-Progressors/a4/4802628db208ff891cc8be3ff683ff74faeae19d against master#8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhoenix-Progressors%2Fa4" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Phoenix-Progressors/a4 on toolchain 8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Phoenix-Progressors/a4 [INFO] finished tweaking git repo https://github.com/Phoenix-Progressors/a4 [INFO] tweaked toml for git repo https://github.com/Phoenix-Progressors/a4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Phoenix-Progressors/a4 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" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded globalcache v0.2.2 [INFO] [stderr] Downloaded datasize v0.2.15 [INFO] [stderr] Downloaded pdf_derive v0.2.0 [INFO] [stderr] Downloaded istring v0.3.4 [INFO] [stderr] Downloaded fax_derive v0.1.0 [INFO] [stderr] Downloaded datasize_derive v0.2.15 [INFO] [stderr] Downloaded tuple v0.5.2 [INFO] [stderr] Downloaded fax v0.2.4 [INFO] [stderr] Downloaded rect_packer v0.2.1 [INFO] [stderr] Downloaded bitstream-io v2.3.0 [INFO] [stderr] Downloaded wide v0.7.17 [INFO] [stderr] Downloaded pdf v0.9.0 [INFO] [stderr] Downloaded imageproc v0.24.0 [INFO] [stderr] Downloaded syn v2.0.61 [INFO] [stderr] Downloaded nalgebra v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 315931e6e71e6ac1786b5273fbd2333e1ed45842c6d9b04c3a004e80e5786606 [INFO] running `Command { std: "docker" "start" "-a" "315931e6e71e6ac1786b5273fbd2333e1ed45842c6d9b04c3a004e80e5786606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "315931e6e71e6ac1786b5273fbd2333e1ed45842c6d9b04c3a004e80e5786606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315931e6e71e6ac1786b5273fbd2333e1ed45842c6d9b04c3a004e80e5786606", kill_on_drop: false }` [INFO] [stdout] 315931e6e71e6ac1786b5273fbd2333e1ed45842c6d9b04c3a004e80e5786606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55eb06fad8756feefb0f236fc8c49812fcce7fc638fbe19aaadc5632b23f8e81 [INFO] running `Command { std: "docker" "start" "-a" "55eb06fad8756feefb0f236fc8c49812fcce7fc638fbe19aaadc5632b23f8e81", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking bitstream-io v2.3.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking wide v0.7.17 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking libflate_lz77 v2.1.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tuple v0.5.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking dary_heap v0.3.6 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking ab_glyph v0.2.25 [INFO] [stderr] Checking libflate v2.1.0 [INFO] [stderr] Compiling datasize_derive v0.2.15 [INFO] [stderr] Compiling fax_derive v0.1.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Compiling pdf_derive v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking datasize v0.2.15 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking istring v0.3.4 [INFO] [stderr] Checking fax v0.2.4 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking num v0.4.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking globalcache v0.2.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rect_packer v0.2.1 [INFO] [stderr] Checking pdf v0.9.0 [INFO] [stderr] Checking nalgebra v0.32.5 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking imageproc v0.24.0 [INFO] [stderr] Checking a4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pdf::backend::RenderingMode` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pdf::backend::RenderingMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RenderingMode` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::content::operations` [INFO] [stdout] --> src/main.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use pdf::content::operations::Drawing; [INFO] [stdout] | ^^^^^^^^^^ could not find `operations` in `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::encoding::builtin` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use pdf::encoding::builtin::Name; [INFO] [stdout] | ^^^^^^^ could not find `builtin` in `encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::backend::RenderingMode` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pdf::backend::RenderingMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RenderingMode` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::content::operations` [INFO] [stdout] --> src/main.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use pdf::content::operations::Drawing; [INFO] [stdout] | ^^^^^^^^^^ could not find `operations` in `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::encoding::builtin` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use pdf::encoding::builtin::Name; [INFO] [stdout] | ^^^^^^^ could not find `builtin` in `encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut pdf, mut page) = File::new().generate_pages(); [INFO] [stdout] | ^^^^^^^^^-- two arguments of type `Storage<_, _, _, _>` and `pdf::file::Trailer` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pdf-0.9.0/src/file.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn new(storage: Storage, trailer: Trailer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 15 | let (mut pdf, mut page) = File::new(/* storage */, /* pdf::file::Trailer */).generate_pages(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut pdf, mut page) = File::new().generate_pages(); [INFO] [stdout] | ^^^^^^^^^-- two arguments of type `Storage<_, _, _, _>` and `pdf::file::Trailer` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pdf-0.9.0/src/file.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn new(storage: Storage, trailer: Trailer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 15 | let (mut pdf, mut page) = File::new(/* storage */, /* pdf::file::Trailer */).generate_pages(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_pages` found for struct `pdf::file::File` in the current scope [INFO] [stdout] --> src/main.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut pdf, mut page) = File::new().generate_pages(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_page` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pdf-0.9.0/src/file.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn get_page(&self, n: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | let decoder = PngDecoder::new(data).unwrap(); [INFO] [stdout] | --------------- ^^^^ the trait `Seek` is not implemented for `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PngDecoder::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.25.1/src/codecs/png.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl PngDecoder { [INFO] [stdout] | ^^^^ required by this bound in `PngDecoder::::new` [INFO] [stdout] 36 | /// Creates a new decoder that decodes from the stream ```r``` [INFO] [stdout] 37 | pub fn new(r: R) -> ImageResult> { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let decoder = PngDecoder::new(data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Seek` is not implemented for `&[u8]` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PngDecoder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.25.1/src/codecs/png.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PngDecoder { [INFO] [stdout] | ^^^^ required by this bound in `PngDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let decoder = PngDecoder::new(data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Seek` is not implemented for `&[u8]` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PngDecoder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.25.1/src/codecs/png.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PngDecoder { [INFO] [stdout] | ^^^^ required by this bound in `PngDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_pages` found for struct `pdf::file::File` in the current scope [INFO] [stdout] --> src/main.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut pdf, mut page) = File::new().generate_pages(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_page` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pdf-0.9.0/src/file.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn get_page(&self, n: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for struct `PngDecoder` in the current scope [INFO] [stdout] --> src/main.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let dimensions = decoder.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PngDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | let decoder = PngDecoder::new(data).unwrap(); [INFO] [stdout] | --------------- ^^^^ the trait `Seek` is not implemented for `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PngDecoder::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.25.1/src/codecs/png.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl PngDecoder { [INFO] [stdout] | ^^^^ required by this bound in `PngDecoder::::new` [INFO] [stdout] 36 | /// Creates a new decoder that decodes from the stream ```r``` [INFO] [stdout] 37 | pub fn new(r: R) -> ImageResult> { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let decoder = PngDecoder::new(data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Seek` is not implemented for `&[u8]` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PngDecoder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.25.1/src/codecs/png.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PngDecoder { [INFO] [stdout] | ^^^^ required by this bound in `PngDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let decoder = PngDecoder::new(data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Seek` is not implemented for `&[u8]` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PngDecoder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.25.1/src/codecs/png.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PngDecoder { [INFO] [stdout] | ^^^^ required by this bound in `PngDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `PngDecoder` in the current scope [INFO] [stdout] --> src/main.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | decoder.decode().unwrap().into_rgba8() [INFO] [stdout] | ^^^^^^ method not found in `PngDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | let decoder = JpegDecoder::new(data).unwrap(); [INFO] [stdout] | ---------------- ^^^^ the trait `Seek` is not implemented for `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `JpegDecoder::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.25.1/src/codecs/jpeg/decoder.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl JpegDecoder { [INFO] [stdout] | ^^^^ required by this bound in `JpegDecoder::::new` [INFO] [stdout] 26 | /// Create a new decoder that decodes from the stream ```r``` [INFO] [stdout] 27 | pub fn new(r: R) -> ImageResult> { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for struct `PngDecoder` in the current scope [INFO] [stdout] --> src/main.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let dimensions = decoder.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PngDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for struct `JpegDecoder` in the current scope [INFO] [stdout] --> src/main.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | let dimensions = decoder.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `JpegDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `PngDecoder` in the current scope [INFO] [stdout] --> src/main.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | decoder.decode().unwrap().into_rgba8() [INFO] [stdout] | ^^^^^^ method not found in `PngDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8]: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | let decoder = JpegDecoder::new(data).unwrap(); [INFO] [stdout] | ---------------- ^^^^ the trait `Seek` is not implemented for `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `JpegDecoder::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/image-0.25.1/src/codecs/jpeg/decoder.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl JpegDecoder { [INFO] [stdout] | ^^^^ required by this bound in `JpegDecoder::::new` [INFO] [stdout] 26 | /// Create a new decoder that decodes from the stream ```r``` [INFO] [stdout] 27 | pub fn new(r: R) -> ImageResult> { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for struct `JpegDecoder` in the current scope [INFO] [stdout] --> src/main.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | let dimensions = decoder.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `JpegDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `JpegDecoder` in the current scope [INFO] [stdout] --> src/main.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | decoder.decode().unwrap().into_rgba8() [INFO] [stdout] | ^^^^^^ method not found in `JpegDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `JpegDecoder` in the current scope [INFO] [stdout] --> src/main.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | decoder.decode().unwrap().into_rgba8() [INFO] [stdout] | ^^^^^^ method not found in `JpegDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for struct `GifDecoder` in the current scope [INFO] [stdout] --> src/main.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | let dimensions = decoder.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `GifDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for struct `GifDecoder` in the current scope [INFO] [stdout] --> src/main.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | let dimensions = decoder.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `GifDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode_frame` found for struct `GifDecoder` in the current scope [INFO] [stdout] --> src/main.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | decoder.decode_frame(0).unwrap().into_rgba8() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `GifDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Content` in the current scope [INFO] [stdout] --> src/main.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | let content = Content::new() [INFO] [stdout] | ^^^ function or associated item not found in `Content` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Content`, consider using `Content::from_ops` which returns `Content` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pdf-0.9.0/src/content.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn from_ops(operations: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode_frame` found for struct `GifDecoder` in the current scope [INFO] [stdout] --> src/main.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | decoder.decode_frame(0).unwrap().into_rgba8() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `GifDecoder<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Content` in the current scope [INFO] [stdout] --> src/main.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | let content = Content::new() [INFO] [stdout] | ^^^ function or associated item not found in `Content` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Content`, consider using `Content::from_ops` which returns `Content` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pdf-0.9.0/src/content.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn from_ops(operations: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `a4` (bin "a4") due to 16 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `a4` (bin "a4" test) due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "55eb06fad8756feefb0f236fc8c49812fcce7fc638fbe19aaadc5632b23f8e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55eb06fad8756feefb0f236fc8c49812fcce7fc638fbe19aaadc5632b23f8e81", kill_on_drop: false }` [INFO] [stdout] 55eb06fad8756feefb0f236fc8c49812fcce7fc638fbe19aaadc5632b23f8e81