[INFO] fetching crate readmdict 0.1.0... [INFO] testing readmdict-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate readmdict 0.1.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate readmdict 0.1.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 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded salsa20 v0.10.2 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b519b080423915bf3bd97aad1adf9bad25251f30436d49ef8fe8de9deb93e5d7 [INFO] running `Command { std: "docker" "start" "-a" "b519b080423915bf3bd97aad1adf9bad25251f30436d49ef8fe8de9deb93e5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b519b080423915bf3bd97aad1adf9bad25251f30436d49ef8fe8de9deb93e5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b519b080423915bf3bd97aad1adf9bad25251f30436d49ef8fe8de9deb93e5d7", kill_on_drop: false }` [INFO] [stdout] b519b080423915bf3bd97aad1adf9bad25251f30436d49ef8fe8de9deb93e5d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 35d4542d5ecaca959572f3eb1d46106f7ceff2cd163ab3159891d64a5d71e1ce [INFO] running `Command { std: "docker" "start" "-a" "35d4542d5ecaca959572f3eb1d46106f7ceff2cd163ab3159891d64a5d71e1ce", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling readmdict v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.66s [INFO] running `Command { std: "docker" "inspect" "35d4542d5ecaca959572f3eb1d46106f7ceff2cd163ab3159891d64a5d71e1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d4542d5ecaca959572f3eb1d46106f7ceff2cd163ab3159891d64a5d71e1ce", kill_on_drop: false }` [INFO] [stdout] 35d4542d5ecaca959572f3eb1d46106f7ceff2cd163ab3159891d64a5d71e1ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c80e984ac061312fee6f976077b3d1808defa9f8bcb90abe5d930b3c8969b404 [INFO] running `Command { std: "docker" "start" "-a" "c80e984ac061312fee6f976077b3d1808defa9f8bcb90abe5d930b3c8969b404", kill_on_drop: false }` [INFO] [stderr] Compiling readmdict v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `rust_readmdict` in this scope [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] [stderr] error: could not compile `readmdict` (example "show_mdd") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find module or crate `rust_readmdict` in this scope [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[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] 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)]` (part of `#[warn(unused)]`) 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] Some errors have detailed explanations: E0277, 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 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c80e984ac061312fee6f976077b3d1808defa9f8bcb90abe5d930b3c8969b404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80e984ac061312fee6f976077b3d1808defa9f8bcb90abe5d930b3c8969b404", kill_on_drop: false }` [INFO] [stdout] c80e984ac061312fee6f976077b3d1808defa9f8bcb90abe5d930b3c8969b404