[INFO] fetching crate jbig2enc-rust 0.5.0... [INFO] testing jbig2enc-rust-0.5.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate jbig2enc-rust 0.5.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate jbig2enc-rust 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jbig2enc-rust 0.5.0 [INFO] tweaked toml for crates.io crate jbig2enc-rust 0.5.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jbig2enc-rust 0.5.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jbig2enc-rust 0.5.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xxhash-rust v0.8.15 [INFO] [stderr] Downloaded str_stack v0.1.0 [INFO] [stderr] Downloaded pprof v0.15.0 [INFO] [stderr] Downloaded vergen-lib v9.1.0 [INFO] [stderr] Downloaded symbolic-common v12.17.2 [INFO] [stderr] Downloaded bitfrob v1.3.2 [INFO] [stderr] Downloaded block-padding v0.3.3 [INFO] [stderr] Downloaded hex-literal v1.1.0 [INFO] [stderr] Downloaded ecb v0.1.2 [INFO] [stderr] Downloaded vergen v9.1.0 [INFO] [stderr] Downloaded nom_locate v5.0.0 [INFO] [stderr] Downloaded cbc v0.1.2 [INFO] [stderr] Downloaded findshlibs v0.10.2 [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded num-format v0.4.4 [INFO] [stderr] Downloaded cpp_demangle v0.5.1 [INFO] [stderr] Downloaded zune-jpeg v0.5.13 [INFO] [stderr] Downloaded quick-xml v0.26.0 [INFO] [stderr] Downloaded inferno v0.11.21 [INFO] [stderr] Downloaded zerocopy-derive v0.8.42 [INFO] [stderr] Downloaded symbolic-demangle v12.17.2 [INFO] [stderr] Downloaded zerocopy v0.8.42 [INFO] [stderr] Downloaded lopdf v0.39.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b3a6a622aa2f7bab6d17b9896de748b3b5472e9c2275fb3b64781771816f489 [INFO] running `Command { std: "docker" "start" "-a" "6b3a6a622aa2f7bab6d17b9896de748b3b5472e9c2275fb3b64781771816f489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b3a6a622aa2f7bab6d17b9896de748b3b5472e9c2275fb3b64781771816f489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b3a6a622aa2f7bab6d17b9896de748b3b5472e9c2275fb3b64781771816f489", kill_on_drop: false }` [INFO] [stdout] 6b3a6a622aa2f7bab6d17b9896de748b3b5472e9c2275fb3b64781771816f489 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee717c1599fc4b404ea750d1d141df9dcd79135b4719907b204d55067acd03a2 [INFO] running `Command { std: "docker" "start" "-a" "ee717c1599fc4b404ea750d1d141df9dcd79135b4719907b204d55067acd03a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling vergen-lib v9.1.0 [INFO] [stderr] Compiling vergen v9.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling nom_locate v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling ecb v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling jiff v0.2.23 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling jbig2enc-rust v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rangemap v1.7.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling bitfrob v1.3.2 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lopdf v0.39.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "ee717c1599fc4b404ea750d1d141df9dcd79135b4719907b204d55067acd03a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee717c1599fc4b404ea750d1d141df9dcd79135b4719907b204d55067acd03a2", kill_on_drop: false }` [INFO] [stdout] ee717c1599fc4b404ea750d1d141df9dcd79135b4719907b204d55067acd03a2 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72819c00df7559322078bd1ecf4777d409f59eff1d66af13d8c3a2913cd44cf2 [INFO] running `Command { std: "docker" "start" "-a" "72819c00df7559322078bd1ecf4777d409f59eff1d66af13d8c3a2913cd44cf2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling which v8.0.2 [INFO] [stderr] Compiling hex-literal v1.1.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling lopdf v0.39.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling vergen-lib v9.1.0 [INFO] [stderr] Compiling vergen v9.1.0 [INFO] [stderr] Compiling jbig2enc-rust v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder_pbm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use jbig2::jbig2enc::{encode_page_with_symbol_dictionary, encode_symbol_dict}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder_pbm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use jbig2::jbig2structs::Jbig2Config; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jbig2enc_rust as jbig2` [INFO] [stdout] --> tests/comparator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jbig2enc_rust as jbig2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use jbig2::jbig2arith::{BASE, Jbig2ArithCoder, State}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use jbig2::jbig2sym::{BitImage, Symbol}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use jbig2::jbig2enc::{Jbig2Encoder, encode_page_with_symbol_dictionary, encode_symbol_dict}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use jbig2::jbig2structs::Jbig2Config; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use jbig2::jbig2sym::array_to_bitimage; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | use jbig2::jbig2arith::Jbig2ArithCoder; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder.rs:751:9 [INFO] [stdout] | [INFO] [stdout] 751 | use jbig2::jbig2sym::BitImage; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `SeekFrom`, and `Seek` [INFO] [stdout] --> tests/encoder.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, BufReader, Read, Seek, SeekFrom}; [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: `jbig2enc_rust as jbig2` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use jbig2enc_rust as jbig2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jbig2` in this scope [INFO] [stdout] --> tests/encoder_pbm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use jbig2::jbig2sym::{BitImage, array_to_bitimage}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jbig2` [INFO] [stdout] --> tests/encoder_pbm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use jbig2::jbig2sym; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `jbig2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jbig2`, use `cargo add jbig2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeekFrom` [INFO] [stdout] --> tests/encoder_pbm.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader, Read, Seek, SeekFrom}; [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: `ndarray::Array2` [INFO] [stdout] --> tests/encoder_pbm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ndarray::Array2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jbig2::Jbig2PdfSplitResult` [INFO] [stdout] --> tests/mode_comparison.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use jbig2::{Jbig2PdfSplitResult, encode_single_image, encode_single_image_lossless}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Jbig2PdfSplitResult` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `jbig2enc_rust as jbig2` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use jbig2enc_rust as jbig2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jbig2enc-rust` (test "encoder_pbm") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> tests/encoder.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, BufReader, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `page_streams` on type `Jbig2EncodeResult` [INFO] [stdout] --> tests/mode_comparison.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 199 | let page_data = result.page_streams.first().cloned().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `global_data`, `page_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `page_streams` on type `Jbig2EncodeResult` [INFO] [stdout] --> tests/mode_comparison.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | .page_streams [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `global_data`, `page_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `global_segments` on type `Jbig2EncodeResult` [INFO] [stdout] --> tests/mode_comparison.rs:257:48 [INFO] [stdout] | [INFO] [stdout] 257 | if let Some(ref dict) = pdf_result.global_segments { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `global_data`, `page_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `page_streams` on type `Jbig2EncodeResult` [INFO] [stdout] --> tests/mode_comparison.rs:266:57 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(page_data) = pdf_result.page_streams.first() { [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `global_data`, `page_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `page_streams` on type `Jbig2EncodeResult` [INFO] [stdout] --> tests/mode_comparison.rs:292:36 [INFO] [stdout] | [INFO] [stdout] 292 | let page_data = result.page_streams.first().cloned().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `global_data`, `page_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `global_segments` on type `Jbig2EncodeResult` [INFO] [stdout] --> tests/mode_comparison.rs:303:64 [INFO] [stdout] | [INFO] [stdout] 303 | let complete_data = if let Some(ref dict) = result.global_segments { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `global_data`, `page_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jbig2enc-rust` (test "encoder") due to 7 previous errors; 3 warnings emitted [INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern [INFO] [stdout] --> tests/mode_comparison.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | if let (Some(ref lossless), Some(ref symbol)) = (&self.lossless, &self.symbol) { [INFO] [stdout] | ^^^ ^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [INFO] [stdout] | | [INFO] [stdout] | explicit `ref` binding modifier not allowed when implicitly borrowing [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents [INFO] [stdout] --> tests/mode_comparison.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | if let (Some(ref lossless), Some(ref symbol)) = (&self.lossless, &self.symbol) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_` [INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents [INFO] [stdout] --> tests/mode_comparison.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | if let (Some(ref lossless), Some(ref symbol)) = (&self.lossless, &self.symbol) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_` [INFO] [stdout] help: remove the unnecessary binding modifiers [INFO] [stdout] | [INFO] [stdout] 128 - if let (Some(ref lossless), Some(ref symbol)) = (&self.lossless, &self.symbol) { [INFO] [stdout] 128 + if let (Some(lossless), Some(symbol)) = (&self.lossless, &self.symbol) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern [INFO] [stdout] --> tests/mode_comparison.rs:564:22 [INFO] [stdout] | [INFO] [stdout] 564 | if let (Some(ref lossless), Some(ref symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] | ^^^ ^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [INFO] [stdout] | | [INFO] [stdout] | explicit `ref` binding modifier not allowed when implicitly borrowing [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents [INFO] [stdout] --> tests/mode_comparison.rs:564:37 [INFO] [stdout] | [INFO] [stdout] 564 | if let (Some(ref lossless), Some(ref symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_` [INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents [INFO] [stdout] --> tests/mode_comparison.rs:564:17 [INFO] [stdout] | [INFO] [stdout] 564 | if let (Some(ref lossless), Some(ref symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_` [INFO] [stdout] help: remove the unnecessary binding modifiers [INFO] [stdout] | [INFO] [stdout] 564 - if let (Some(ref lossless), Some(ref symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] 564 + if let (Some(lossless), Some(symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern [INFO] [stdout] --> tests/mode_comparison.rs:699:22 [INFO] [stdout] | [INFO] [stdout] 699 | if let (Some(ref lossless), Some(ref symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] | ^^^ ^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [INFO] [stdout] | | [INFO] [stdout] | explicit `ref` binding modifier not allowed when implicitly borrowing [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents [INFO] [stdout] --> tests/mode_comparison.rs:699:37 [INFO] [stdout] | [INFO] [stdout] 699 | if let (Some(ref lossless), Some(ref symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_` [INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents [INFO] [stdout] --> tests/mode_comparison.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | if let (Some(ref lossless), Some(ref symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&_` [INFO] [stdout] help: remove the unnecessary binding modifiers [INFO] [stdout] | [INFO] [stdout] 699 - if let (Some(ref lossless), Some(ref symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] 699 + if let (Some(lossless), Some(symbol)) = (&results.lossless, &results.symbol) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jbig2enc-rust` (test "mode_comparison") due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "72819c00df7559322078bd1ecf4777d409f59eff1d66af13d8c3a2913cd44cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72819c00df7559322078bd1ecf4777d409f59eff1d66af13d8c3a2913cd44cf2", kill_on_drop: false }` [INFO] [stdout] 72819c00df7559322078bd1ecf4777d409f59eff1d66af13d8c3a2913cd44cf2