[INFO] fetching crate pinyinchch 0.3.0... [INFO] checking pinyinchch-0.3.0 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate pinyinchch 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pinyinchch 0.3.0 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.106 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.106 [INFO] [stderr] Downloaded uuid v1.19.0 [INFO] [stderr] Downloaded bytecheck_derive v0.8.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Downloaded pinyinchch-type v0.3.0 [INFO] [stderr] Downloaded munge_macro v0.4.7 [INFO] [stderr] Downloaded rend v0.5.3 [INFO] [stderr] Downloaded munge v0.4.7 [INFO] [stderr] Downloaded bytecheck v0.8.2 [INFO] [stderr] Downloaded rkyv_derive v0.8.15 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.104 [INFO] [stderr] Downloaded simdutf8 v0.1.5 [INFO] [stderr] Downloaded js-sys v0.3.83 [INFO] [stderr] Downloaded bytes v1.11.0 [INFO] [stderr] Downloaded bumpalo v3.19.1 [INFO] [stderr] Downloaded indexmap v2.12.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.106 [INFO] [stderr] Downloaded ptr_meta v0.3.1 [INFO] [stderr] Downloaded rkyv v0.8.15 [INFO] [stderr] Downloaded rancor v0.1.1 [INFO] [stderr] Downloaded syn v2.0.112 [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8108bea2e92ca4508e28717d80bdd353f1679b24f6067dd4da86a3e82a32640e [INFO] running `Command { std: "docker" "start" "-a" "8108bea2e92ca4508e28717d80bdd353f1679b24f6067dd4da86a3e82a32640e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8108bea2e92ca4508e28717d80bdd353f1679b24f6067dd4da86a3e82a32640e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8108bea2e92ca4508e28717d80bdd353f1679b24f6067dd4da86a3e82a32640e", kill_on_drop: false }` [INFO] [stdout] 8108bea2e92ca4508e28717d80bdd353f1679b24f6067dd4da86a3e82a32640e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b9217f5a9546ef93a88b7f9d8dba81316c5bdcb8539685ac90f3b9d3ce0ded0 [INFO] running `Command { std: "docker" "start" "-a" "6b9217f5a9546ef93a88b7f9d8dba81316c5bdcb8539685ac90f3b9d3ce0ded0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking 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] Checking ptr_meta v0.3.1 [INFO] [stderr] Checking munge v0.4.7 [INFO] [stderr] Checking rancor v0.1.1 [INFO] [stderr] Checking bytecheck v0.8.2 [INFO] [stderr] Checking rend v0.5.3 [INFO] [stderr] Checking rkyv v0.8.15 [INFO] [stderr] Checking pinyinchch-type v0.3.0 [INFO] [stderr] Checking pinyinchch-model-hmm v0.3.0 [INFO] [stderr] Checking pinyinchch-model-dag v0.3.0 [INFO] [stderr] Checking 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] [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] [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 "dag_example") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pinyinchch` (example "anthoer_hmm_example") due to 1 previous error [INFO] [stderr] error: could not compile `pinyinchch` (example "hmm_example") due to 1 previous error [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" "6b9217f5a9546ef93a88b7f9d8dba81316c5bdcb8539685ac90f3b9d3ce0ded0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9217f5a9546ef93a88b7f9d8dba81316c5bdcb8539685ac90f3b9d3ce0ded0", kill_on_drop: false }` [INFO] [stdout] 6b9217f5a9546ef93a88b7f9d8dba81316c5bdcb8539685ac90f3b9d3ce0ded0