[INFO] fetching crate jimaku 0.2.1... [INFO] checking jimaku-0.2.1 against master#fc5af1813307d25a84d633f21e2e53c9376eb547 for pr-144386 [INFO] extracting crate jimaku 0.2.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate jimaku 0.2.1 [INFO] finished tweaking crates.io crate jimaku 0.2.1 [INFO] tweaked toml for crates.io crate jimaku 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jimaku 0.2.1 on toolchain fc5af1813307d25a84d633f21e2e53c9376eb547 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jimaku 0.2.1 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" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ureq v2.10.1 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cbc9923678dc376f04fa57a1d921d3006fc728a50ac048ca15fce3e1af43ff6 [INFO] running `Command { std: "docker" "start" "-a" "5cbc9923678dc376f04fa57a1d921d3006fc728a50ac048ca15fce3e1af43ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cbc9923678dc376f04fa57a1d921d3006fc728a50ac048ca15fce3e1af43ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbc9923678dc376f04fa57a1d921d3006fc728a50ac048ca15fce3e1af43ff6", kill_on_drop: false }` [INFO] [stdout] 5cbc9923678dc376f04fa57a1d921d3006fc728a50ac048ca15fce3e1af43ff6 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e7b22f15efbf9a142f30925e140fdcf450a321cb1d91e0d09edb1e1e4e06f44 [INFO] running `Command { std: "docker" "start" "-a" "6e7b22f15efbf9a142f30925e140fdcf450a321cb1d91e0d09edb1e1e4e06f44", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling libc v0.2.165 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking querystring v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking jimaku v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/utils/file.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_filename`, `get_hash`, and `download` are never used [INFO] [stdout] --> src/utils/file.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl File { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(filepath: PathBuf, lang: Lang, mode: Mode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_filename(&self) -> &OsStr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_hash(&self) -> (String, u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn download(&self, contents: String) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checksum_64k` is never used [INFO] [stdout] --> src/utils/hash.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn checksum_64k(file: &mut fs::File, position: io::SeekFrom, buffer: &mut [u8; 64 * 1024]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_u64` is never used [INFO] [stdout] --> src/utils/hash.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn to_u64(bytes: &[u8]) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> src/utils/hash.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn compute(file_path: &String) -> (String, u64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subtitle` is never constructed [INFO] [stdout] --> src/utils/subtitle.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Subtitle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/utils/file.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_filename`, `get_subtitle_filename`, `get_hash`, and `download` are never used [INFO] [stdout] --> src/utils/file.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl File { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(filepath: PathBuf, lang: Lang, mode: Mode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_filename(&self) -> &OsStr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_subtitle_filename(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_hash(&self) -> (String, u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn download(&self, contents: String) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checksum_64k` is never used [INFO] [stdout] --> src/utils/hash.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn checksum_64k(file: &mut fs::File, position: io::SeekFrom, buffer: &mut [u8; 64 * 1024]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_u64` is never used [INFO] [stdout] --> src/utils/hash.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn to_u64(bytes: &[u8]) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> src/utils/hash.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn compute(file_path: &String) -> (String, u64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lang` is never constructed [INFO] [stdout] --> src/utils/lang.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Lang { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subtitle` is never constructed [INFO] [stdout] --> src/utils/subtitle.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Subtitle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.58s [INFO] running `Command { std: "docker" "inspect" "6e7b22f15efbf9a142f30925e140fdcf450a321cb1d91e0d09edb1e1e4e06f44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7b22f15efbf9a142f30925e140fdcf450a321cb1d91e0d09edb1e1e4e06f44", kill_on_drop: false }` [INFO] [stdout] 6e7b22f15efbf9a142f30925e140fdcf450a321cb1d91e0d09edb1e1e4e06f44