[INFO] cloning repository https://github.com/ThomasdenH/pdf.js-wasm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThomasdenH/pdf.js-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasdenH%2Fpdf.js-wasm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasdenH%2Fpdf.js-wasm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dcd6d1a541828ed149534ca35a5dda2f62b4e766
[INFO] checking ThomasdenH/pdf.js-wasm against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasdenH%2Fpdf.js-wasm" "/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/ThomasdenH/pdf.js-wasm on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ThomasdenH/pdf.js-wasm
[INFO] finished tweaking git repo https://github.com/ThomasdenH/pdf.js-wasm
[INFO] tweaked toml for git repo https://github.com/ThomasdenH/pdf.js-wasm written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ThomasdenH/pdf.js-wasm 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wee_alloc v0.4.4
[INFO] [stderr]   Downloaded scoped-tls v1.0.0
[INFO] [stderr]   Downloaded md5 v0.6.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.47
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.2.47
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.2.47
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.47
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.3.24
[INFO] [stderr]   Downloaded js-sys v0.3.24
[INFO] [stderr]   Downloaded syn v0.15.38
[INFO] [stderr]   Downloaded bumpalo v2.4.3
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.47
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.47
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.47
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d233de6cbf40c30808dc17b6c775dd41e3498a85e99e791b39078f6b5249d6f9
[INFO] running `Command { std: "docker" "start" "-a" "d233de6cbf40c30808dc17b6c775dd41e3498a85e99e791b39078f6b5249d6f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d233de6cbf40c30808dc17b6c775dd41e3498a85e99e791b39078f6b5249d6f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d233de6cbf40c30808dc17b6c775dd41e3498a85e99e791b39078f6b5249d6f9", kill_on_drop: false }`
[INFO] [stdout] d233de6cbf40c30808dc17b6c775dd41e3498a85e99e791b39078f6b5249d6f9
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a931ef4a8abc17ef223d995e535ea16e30debef456ca2ffa88d2630a4452fed
[INFO] running `Command { std: "docker" "start" "-a" "1a931ef4a8abc17ef223d995e535ea16e30debef456ca2ffa88d2630a4452fed", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.38
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.47
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling bumpalo v2.4.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.47
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking futures v0.1.27
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking md5 v0.6.1
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.2.47
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.47
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.47
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.47
[INFO] [stderr]     Checking pdfjs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `arc_four_cipher::ArcFourCipher`
[INFO] [stdout]  --> src/core/crypto.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use arc_four_cipher::ArcFourCipher;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Upper` and `Lower` are never constructed
[INFO] [stdout]  --> src/core/core_utils.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Casing {
[INFO] [stdout]   |          ------ variants in this enum
[INFO] [stdout] 3 |     Upper,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     Lower,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Casing` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROMAN_NUMBER_MAP_HUNDREDS` is never used
[INFO] [stdout]  --> src/core/core_utils.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const ROMAN_NUMBER_MAP_HUNDREDS: [&str; 10] =
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROMAN_NUMBER_MAP_TENS` is never used
[INFO] [stdout]   --> src/core/core_utils.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const ROMAN_NUMBER_MAP_TENS: [&str; 10] =
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROMAN_NUMBER_MAP_ONES` is never used
[INFO] [stdout]   --> src/core/core_utils.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const ROMAN_NUMBER_MAP_ONES: [&str; 10] =
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_roman_numerals` is never used
[INFO] [stdout]   --> src/core/core_utils.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn to_roman_numerals(number: u32, casing: Casing) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_md5` is never used
[INFO] [stdout]   --> src/core/crypto.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn calculate_md5(data: &[u8], offset: usize, length: usize) -> [u8; 16] {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_md5_wasm` is never used
[INFO] [stdout]   --> src/core/crypto.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn calculate_md5_wasm(data: &[u8], offset: usize, length: usize) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `encrypt_block`, and `decrypt_block` are never used
[INFO] [stdout]   --> src/core/crypto/arc_four_cipher.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ArcFourCipher {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 14 |     #[cfg_attr(target_arch = "wasm32", wasm_bindgen(constructor))]
[INFO] [stdout] 15 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn encrypt_block(&mut self, data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn decrypt_block(&mut self, data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_ADLER32_LENGTH` is never used
[INFO] [stdout]  --> src/core/parser.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const MAX_ADLER32_LENGTH: usize = 5552;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_adler_32` is never used
[INFO] [stdout]  --> src/core/parser.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn compute_adler_32(bytes: &[u8]) -> u32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_verbosity_level` is never used
[INFO] [stdout]   --> src/shared/util.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn set_verbosity_level(level: VerbosityLevel) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verbosity_level` is never used
[INFO] [stdout]   --> src/shared/util.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn verbosity_level() -> VerbosityLevel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `info` is never used
[INFO] [stdout]   --> src/shared/util.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn info(msg: &str) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `warn` is never used
[INFO] [stdout]   --> src/shared/util.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn warn(msg: &str) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_space` is never used
[INFO] [stdout]   --> src/shared/util.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn is_space(ch: char) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking js-sys v0.3.24
[INFO] [stderr]     Checking console_error_panic_hook v0.1.6
[INFO] [stderr]     Checking wasm-bindgen-futures v0.3.24
[INFO] [stderr]     Checking wasm-bindgen-test v0.2.47
[INFO] [stdout] warning: unused import: `arc_four_cipher::ArcFourCipher`
[INFO] [stdout]  --> src/core/crypto.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use arc_four_cipher::ArcFourCipher;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_md5` is never used
[INFO] [stdout]   --> src/core/crypto.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn calculate_md5(data: &[u8], offset: usize, length: usize) -> [u8; 16] {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_md5_wasm` is never used
[INFO] [stdout]   --> src/core/crypto.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn calculate_md5_wasm(data: &[u8], offset: usize, length: usize) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `encrypt_block`, and `decrypt_block` are never used
[INFO] [stdout]   --> src/core/crypto/arc_four_cipher.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ArcFourCipher {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 14 |     #[cfg_attr(target_arch = "wasm32", wasm_bindgen(constructor))]
[INFO] [stdout] 15 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn encrypt_block(&mut self, data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn decrypt_block(&mut self, data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_verbosity_level` is never used
[INFO] [stdout]   --> src/shared/util.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn set_verbosity_level(level: VerbosityLevel) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verbosity_level` is never used
[INFO] [stdout]   --> src/shared/util.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn verbosity_level() -> VerbosityLevel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `info` is never used
[INFO] [stdout]   --> src/shared/util.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn info(msg: &str) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `warn` is never used
[INFO] [stdout]   --> src/shared/util.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn warn(msg: &str) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_space` is never used
[INFO] [stdout]   --> src/shared/util.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn is_space(ch: char) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 14.96s
[INFO] running `Command { std: "docker" "inspect" "1a931ef4a8abc17ef223d995e535ea16e30debef456ca2ffa88d2630a4452fed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a931ef4a8abc17ef223d995e535ea16e30debef456ca2ffa88d2630a4452fed", kill_on_drop: false }`
[INFO] [stdout] 1a931ef4a8abc17ef223d995e535ea16e30debef456ca2ffa88d2630a4452fed
[INFO] checking ThomasdenH/pdf.js-wasm against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasdenH%2Fpdf.js-wasm" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ThomasdenH/pdf.js-wasm on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ThomasdenH/pdf.js-wasm
[INFO] finished tweaking git repo https://github.com/ThomasdenH/pdf.js-wasm
[INFO] tweaked toml for git repo https://github.com/ThomasdenH/pdf.js-wasm written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ThomasdenH/pdf.js-wasm 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 685fbcdb75ca2173f8b43b6b2c09943030d778cd6b24fc722c5660c577d6d85f
[INFO] running `Command { std: "docker" "start" "-a" "685fbcdb75ca2173f8b43b6b2c09943030d778cd6b24fc722c5660c577d6d85f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "685fbcdb75ca2173f8b43b6b2c09943030d778cd6b24fc722c5660c577d6d85f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "685fbcdb75ca2173f8b43b6b2c09943030d778cd6b24fc722c5660c577d6d85f", kill_on_drop: false }`
[INFO] [stdout] 685fbcdb75ca2173f8b43b6b2c09943030d778cd6b24fc722c5660c577d6d85f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8f6b13bc785a9ca968d41bfbc55c96a5847fe5fc8bcdfa44f5e4cd21131a185e
[INFO] running `Command { std: "docker" "start" "-a" "8f6b13bc785a9ca968d41bfbc55c96a5847fe5fc8bcdfa44f5e4cd21131a185e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.38
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.47
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling bumpalo v2.4.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.47
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking futures v0.1.27
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking md5 v0.6.1
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.2.47
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.47
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.47
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.47
[INFO] [stderr]     Checking pdfjs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `arc_four_cipher::ArcFourCipher`
[INFO] [stdout]  --> src/core/crypto.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use arc_four_cipher::ArcFourCipher;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Upper` and `Lower` are never constructed
[INFO] [stdout]  --> src/core/core_utils.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Casing {
[INFO] [stdout]   |          ------ variants in this enum
[INFO] [stdout] 3 |     Upper,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     Lower,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Casing` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROMAN_NUMBER_MAP_HUNDREDS` is never used
[INFO] [stdout]  --> src/core/core_utils.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const ROMAN_NUMBER_MAP_HUNDREDS: [&str; 10] =
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROMAN_NUMBER_MAP_TENS` is never used
[INFO] [stdout]   --> src/core/core_utils.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const ROMAN_NUMBER_MAP_TENS: [&str; 10] =
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROMAN_NUMBER_MAP_ONES` is never used
[INFO] [stdout]   --> src/core/core_utils.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const ROMAN_NUMBER_MAP_ONES: [&str; 10] =
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_roman_numerals` is never used
[INFO] [stdout]   --> src/core/core_utils.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn to_roman_numerals(number: u32, casing: Casing) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_md5` is never used
[INFO] [stdout]   --> src/core/crypto.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn calculate_md5(data: &[u8], offset: usize, length: usize) -> [u8; 16] {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_md5_wasm` is never used
[INFO] [stdout]   --> src/core/crypto.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn calculate_md5_wasm(data: &[u8], offset: usize, length: usize) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `encrypt_block`, and `decrypt_block` are never used
[INFO] [stdout]   --> src/core/crypto/arc_four_cipher.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ArcFourCipher {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 14 |     #[cfg_attr(target_arch = "wasm32", wasm_bindgen(constructor))]
[INFO] [stdout] 15 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn encrypt_block(&mut self, data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn decrypt_block(&mut self, data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_ADLER32_LENGTH` is never used
[INFO] [stdout]  --> src/core/parser.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const MAX_ADLER32_LENGTH: usize = 5552;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_adler_32` is never used
[INFO] [stdout]  --> src/core/parser.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn compute_adler_32(bytes: &[u8]) -> u32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_verbosity_level` is never used
[INFO] [stdout]   --> src/shared/util.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn set_verbosity_level(level: VerbosityLevel) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verbosity_level` is never used
[INFO] [stdout]   --> src/shared/util.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn verbosity_level() -> VerbosityLevel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `info` is never used
[INFO] [stdout]   --> src/shared/util.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn info(msg: &str) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `warn` is never used
[INFO] [stdout]   --> src/shared/util.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn warn(msg: &str) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_space` is never used
[INFO] [stdout]   --> src/shared/util.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn is_space(ch: char) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/shared/util.rs:5:51
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Hash, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_VerbosityLevel`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/shared/util.rs:5:66
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Hash, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                                  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_VerbosityLevel`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pdfjs` (lib) due to 3 previous errors; 16 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "8f6b13bc785a9ca968d41bfbc55c96a5847fe5fc8bcdfa44f5e4cd21131a185e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f6b13bc785a9ca968d41bfbc55c96a5847fe5fc8bcdfa44f5e4cd21131a185e", kill_on_drop: false }`
[INFO] [stdout] 8f6b13bc785a9ca968d41bfbc55c96a5847fe5fc8bcdfa44f5e4cd21131a185e
