[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasdenH%2Fpdf.js-wasm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasdenH/pdf.js-wasm on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-1-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.47 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.47 [INFO] [stderr] Downloaded wasm-bindgen v0.2.47 [INFO] [stderr] Downloaded futures v0.1.27 [INFO] [stderr] Downloaded js-sys v0.3.24 [INFO] [stderr] Downloaded syn v0.15.38 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.47 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.47 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.47 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.3.24 [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.47 [INFO] [stderr] Downloaded wee_alloc v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 798abb92c19d824a5c55404b4cb89facd81d79a8840634240f9c2ee506c7440d [INFO] running `Command { std: "docker" "start" "-a" "798abb92c19d824a5c55404b4cb89facd81d79a8840634240f9c2ee506c7440d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "798abb92c19d824a5c55404b4cb89facd81d79a8840634240f9c2ee506c7440d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "798abb92c19d824a5c55404b4cb89facd81d79a8840634240f9c2ee506c7440d", kill_on_drop: false }` [INFO] [stdout] 798abb92c19d824a5c55404b4cb89facd81d79a8840634240f9c2ee506c7440d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e5640fcfab84dae1dcca86535f724d91d65cb2f59acbc2dc3d3210cc7d6489a [INFO] running `Command { std: "docker" "start" "-a" "2e5640fcfab84dae1dcca86535f724d91d65cb2f59acbc2dc3d3210cc7d6489a", 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 autocfg v0.1.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking futures v0.1.27 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [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] Checking pdfjs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `md5` is imported redundantly [INFO] [stdout] --> src/core/crypto.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use md5; [INFO] [stdout] | ^^^ the item `md5` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn decrypt_block(&mut self, data: &[u8]) -> Vec { [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] [stderr] Compiling wasm-bindgen-macro v0.2.47 [INFO] [stdout] warning: 17 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: the item `md5` is imported redundantly [INFO] [stdout] --> src/core/crypto.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use md5; [INFO] [stdout] | ^^^ the item `md5` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn decrypt_block(&mut self, data: &[u8]) -> Vec { [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.47 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "2e5640fcfab84dae1dcca86535f724d91d65cb2f59acbc2dc3d3210cc7d6489a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5640fcfab84dae1dcca86535f724d91d65cb2f59acbc2dc3d3210cc7d6489a", kill_on_drop: false }` [INFO] [stdout] 2e5640fcfab84dae1dcca86535f724d91d65cb2f59acbc2dc3d3210cc7d6489a [INFO] checking ThomasdenH/pdf.js-wasm against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasdenH%2Fpdf.js-wasm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasdenH/pdf.js-wasm on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-1-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f43535665874f2a8a83b9241a4c6bb64d7285eab410af2e02c5be5dcb1985a06 [INFO] running `Command { std: "docker" "start" "-a" "f43535665874f2a8a83b9241a4c6bb64d7285eab410af2e02c5be5dcb1985a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f43535665874f2a8a83b9241a4c6bb64d7285eab410af2e02c5be5dcb1985a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f43535665874f2a8a83b9241a4c6bb64d7285eab410af2e02c5be5dcb1985a06", kill_on_drop: false }` [INFO] [stdout] f43535665874f2a8a83b9241a4c6bb64d7285eab410af2e02c5be5dcb1985a06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a74f012f1b9740c597fbd8c066b332d93c00ea624de7b75981ea0da83065e0ec [INFO] running `Command { std: "docker" "start" "-a" "a74f012f1b9740c597fbd8c066b332d93c00ea624de7b75981ea0da83065e0ec", 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 bumpalo v2.4.3 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.47 [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 log v0.4.6 [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: the item `md5` is imported redundantly [INFO] [stdout] --> src/core/crypto.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use md5; [INFO] [stdout] | ^^^ the item `md5` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn decrypt_block(&mut self, data: &[u8]) -> Vec { [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: 17 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: the item `md5` is imported redundantly [INFO] [stdout] --> src/core/crypto.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use md5; [INFO] [stdout] | ^^^ the item `md5` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn decrypt_block(&mut self, data: &[u8]) -> Vec { [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.47 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "a74f012f1b9740c597fbd8c066b332d93c00ea624de7b75981ea0da83065e0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a74f012f1b9740c597fbd8c066b332d93c00ea624de7b75981ea0da83065e0ec", kill_on_drop: false }` [INFO] [stdout] a74f012f1b9740c597fbd8c066b332d93c00ea624de7b75981ea0da83065e0ec