[INFO] fetching crate pinyinchch 0.3.0... [INFO] testing pinyinchch-0.3.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate pinyinchch 0.3.0 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate pinyinchch 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pinyinchch 0.3.0 [INFO] tweaked toml for crates.io crate pinyinchch 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pinyinchch 0.3.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 pinyinchch 0.3.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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pinyinchch-type v0.3.0 [INFO] [stderr] Downloaded pinyinchch-model-hmm v0.3.0 [INFO] [stderr] Downloaded pinyinchch-model-dag v0.3.0 [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] c6b049885bbb5cda38b1a96ff64c6a41dd72c0e386efab4afabfd51545439be0 [INFO] running `Command { std: "docker" "start" "-a" "c6b049885bbb5cda38b1a96ff64c6a41dd72c0e386efab4afabfd51545439be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6b049885bbb5cda38b1a96ff64c6a41dd72c0e386efab4afabfd51545439be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6b049885bbb5cda38b1a96ff64c6a41dd72c0e386efab4afabfd51545439be0", kill_on_drop: false }` [INFO] [stdout] c6b049885bbb5cda38b1a96ff64c6a41dd72c0e386efab4afabfd51545439be0 [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] 79f1fd2efc7ce6a86721cf846a4cf1aeab9c7dc4dc36b426b2d1b4cbb7bf4f13 [INFO] running `Command { std: "docker" "start" "-a" "79f1fd2efc7ce6a86721cf846a4cf1aeab9c7dc4dc36b426b2d1b4cbb7bf4f13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling ptr_meta_derive v0.3.1 [INFO] [stderr] Compiling bytecheck_derive v0.8.2 [INFO] [stderr] Compiling munge_macro v0.4.7 [INFO] [stderr] Compiling rkyv_derive v0.8.15 [INFO] [stderr] Compiling ptr_meta v0.3.1 [INFO] [stderr] Compiling rancor v0.1.1 [INFO] [stderr] Compiling bytecheck v0.8.2 [INFO] [stderr] Compiling munge v0.4.7 [INFO] [stderr] Compiling rend v0.5.3 [INFO] [stderr] Compiling rkyv v0.8.15 [INFO] [stderr] Compiling pinyinchch-type v0.3.0 [INFO] [stderr] Compiling pinyinchch v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/priority.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `score`, and `path` are never used [INFO] [stdout] --> src/priority.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Item { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(score: f64, path: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn score(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrioritySet` is never constructed [INFO] [stdout] --> src/priority.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct PrioritySet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `put`, `len`, `iter`, and `to_sorted_vec` are never used [INFO] [stdout] --> src/priority.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 66 | / impl PrioritySet [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | T: Debug + Clone, [INFO] [stdout] | |_____________________- associated items in this implementation [INFO] [stdout] 69 | { [INFO] [stdout] 70 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn put(&mut self, score: f64, path: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn iter(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn to_sorted_vec(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.18s [INFO] running `Command { std: "docker" "inspect" "79f1fd2efc7ce6a86721cf846a4cf1aeab9c7dc4dc36b426b2d1b4cbb7bf4f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f1fd2efc7ce6a86721cf846a4cf1aeab9c7dc4dc36b426b2d1b4cbb7bf4f13", kill_on_drop: false }` [INFO] [stdout] 79f1fd2efc7ce6a86721cf846a4cf1aeab9c7dc4dc36b426b2d1b4cbb7bf4f13 [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] 498e10be4d879de17b7c95a7e694e508d1f25faf8d1bf402a8fc5f8d351049dd [INFO] running `Command { std: "docker" "start" "-a" "498e10be4d879de17b7c95a7e694e508d1f25faf8d1bf402a8fc5f8d351049dd", kill_on_drop: false }` [INFO] [stderr] Compiling pinyinchch-model-hmm v0.3.0 [INFO] [stderr] Compiling pinyinchch-model-dag v0.3.0 [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/priority.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `score`, and `path` are never used [INFO] [stdout] --> src/priority.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Item { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(score: f64, path: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn score(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrioritySet` is never constructed [INFO] [stdout] --> src/priority.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct PrioritySet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `put`, `len`, `iter`, and `to_sorted_vec` are never used [INFO] [stdout] --> src/priority.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 66 | / impl PrioritySet [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | T: Debug + Clone, [INFO] [stdout] | |_____________________- associated items in this implementation [INFO] [stdout] 69 | { [INFO] [stdout] 70 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn put(&mut self, score: f64, path: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn iter(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn to_sorted_vec(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pinyinchch v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pinyinchch::hmm` [INFO] [stdout] --> examples/anthoer_hmm_example.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use pinyinchch::hmm::viterbi; [INFO] [stdout] | ^^^ could not find `hmm` in `pinyinchch` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "hmm")] [INFO] [stdout] | --------------- the item is gated behind the `hmm` feature [INFO] [stdout] 4 | pub mod hmm; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pinyinchch` (example "anthoer_hmm_example") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `pinyinchch::dag` [INFO] [stdout] --> examples/dag_example.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use pinyinchch::dag::dispatch; [INFO] [stdout] | ^^^ could not find `dag` in `pinyinchch` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "dag")] [INFO] [stdout] | --------------- the item is gated behind the `dag` feature [INFO] [stdout] 2 | pub mod dag; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pinyinchch::hmm` [INFO] [stdout] --> examples/hmm_example.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use pinyinchch::hmm::viterbi; [INFO] [stdout] | ^^^ could not find `hmm` in `pinyinchch` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "hmm")] [INFO] [stdout] | --------------- the item is gated behind the `hmm` feature [INFO] [stdout] 4 | pub mod hmm; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pinyinchch` (example "dag_example") due to 1 previous error [INFO] [stderr] error: could not compile `pinyinchch` (example "hmm_example") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: methods `score` and `path` are never used [INFO] [stdout] --> src/priority.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Item { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn score(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/priority.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 66 | / impl PrioritySet [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | T: Debug + Clone, [INFO] [stdout] | |_____________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn iter(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "498e10be4d879de17b7c95a7e694e508d1f25faf8d1bf402a8fc5f8d351049dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498e10be4d879de17b7c95a7e694e508d1f25faf8d1bf402a8fc5f8d351049dd", kill_on_drop: false }` [INFO] [stdout] 498e10be4d879de17b7c95a7e694e508d1f25faf8d1bf402a8fc5f8d351049dd