[INFO] fetching crate readmdict 0.1.0... [INFO] checking readmdict-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate readmdict 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate readmdict 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate readmdict 0.1.0 [INFO] tweaked toml for crates.io crate readmdict 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate readmdict 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate readmdict 0.1.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c34f81a8c8c97dc43a9e0dfcde30dad504fc47a063ad9648f361ca7b68b0d56 [INFO] running `Command { std: "docker" "start" "-a" "3c34f81a8c8c97dc43a9e0dfcde30dad504fc47a063ad9648f361ca7b68b0d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c34f81a8c8c97dc43a9e0dfcde30dad504fc47a063ad9648f361ca7b68b0d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c34f81a8c8c97dc43a9e0dfcde30dad504fc47a063ad9648f361ca7b68b0d56", kill_on_drop: false }` [INFO] [stdout] 3c34f81a8c8c97dc43a9e0dfcde30dad504fc47a063ad9648f361ca7b68b0d56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02fe71b9bc2605f3e3f5c2ad6be4953541f9c44e044e7936b58f15e0a3bd821c [INFO] running `Command { std: "docker" "start" "-a" "02fe71b9bc2605f3e3f5c2ad6be4953541f9c44e044e7936b58f15e0a3bd821c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking clap_builder v4.5.43 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.43 [INFO] [stderr] Checking readmdict v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_readmdict` [INFO] [stdout] --> examples/play_audio.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rust_readmdict::readmdict::Mdd; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_readmdict` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_readmdict`, use `cargo add rust_readmdict` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_readmdict` [INFO] [stdout] --> examples/show_mdd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_readmdict::readmdict::Mdd; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_readmdict` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_readmdict`, use `cargo add rust_readmdict` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `readmdict` (example "show_mdd") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/play_audio.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | for (filename, content) in mdd_items { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/play_audio.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | for (filename, content) in mdd_items { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&[(String, _)]` [INFO] [stdout] --> examples/play_audio.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let files_to_play = &audio_files[..audio_files.len().min(10)]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | println!("\n[{}/{}] {} ({} bytes)", i + 1, files_to_play.len(), filename, content.len()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `files_to_play` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 70 | let files_to_play: &[(_, _)] = &audio_files[..audio_files.len().min(10)]; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `readmdict` (example "play_audio") due to 4 previous errors [INFO] [stdout] warning: variant `Encoding` is never constructed [INFO] [stdout] --> src/readmdict.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Encoding(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, 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: method `is_empty` is never used [INFO] [stdout] --> src/readmdict.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl MDict { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/readmdict.rs:1004:12 [INFO] [stdout] | [INFO] [stdout] 802 | impl Mdx { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1004 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `keys` are never used [INFO] [stdout] --> src/readmdict.rs:1151:12 [INFO] [stdout] | [INFO] [stdout] 1024 | impl Mdd { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1151 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1155 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Encoding` is never constructed [INFO] [stdout] --> src/readmdict.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Encoding(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, 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: method `is_empty` is never used [INFO] [stdout] --> src/readmdict.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl MDict { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/readmdict.rs:1004:12 [INFO] [stdout] | [INFO] [stdout] 802 | impl Mdx { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1004 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `keys` are never used [INFO] [stdout] --> src/readmdict.rs:1151:12 [INFO] [stdout] | [INFO] [stdout] 1024 | impl Mdd { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1151 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1155 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02fe71b9bc2605f3e3f5c2ad6be4953541f9c44e044e7936b58f15e0a3bd821c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02fe71b9bc2605f3e3f5c2ad6be4953541f9c44e044e7936b58f15e0a3bd821c", kill_on_drop: false }` [INFO] [stdout] 02fe71b9bc2605f3e3f5c2ad6be4953541f9c44e044e7936b58f15e0a3bd821c