[INFO] cloning repository https://github.com/Dolores18/jp-dict [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dolores18/jp-dict" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDolores18%2Fjp-dict", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDolores18%2Fjp-dict'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b73a4ee34a268c5cd33d9f47901b2364e1f2012 [INFO] building Dolores18/jp-dict against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDolores18%2Fjp-dict" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Dolores18/jp-dict [INFO] finished tweaking git repo https://github.com/Dolores18/jp-dict [INFO] tweaked toml for git repo https://github.com/Dolores18/jp-dict written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Dolores18/jp-dict on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Dolores18/jp-dict 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slab v0.4.10 [INFO] [stderr] Downloaded scraper v0.18.1 [INFO] [stderr] Downloaded precomputed-hash v0.1.1 [INFO] [stderr] Downloaded phf_codegen v0.10.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.25 [INFO] [stderr] Downloaded mdict-parser v0.1.1 [INFO] [stderr] Downloaded string_cache_codegen v0.5.4 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded async-trait v0.1.88 [INFO] [stderr] Downloaded ego-tree v0.6.3 [INFO] [stderr] Downloaded serde_json v1.0.141 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded hyper-util v0.1.15 [INFO] [stderr] Downloaded cc v1.2.29 [INFO] [stderr] Downloaded hyper v1.6.0 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded unicode-width v0.2.1 [INFO] [stderr] Downloaded minilzo-rs v0.6.1 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded rusqlite v0.30.0 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded syn v2.0.104 [INFO] [stderr] Downloaded html5ever v0.26.0 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded num-rational v0.3.2 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded cssparser-macros v0.6.1 [INFO] [stderr] Downloaded libc v0.2.174 [INFO] [stderr] Downloaded phf_macros v0.11.3 [INFO] [stderr] Downloaded selectors v0.25.0 [INFO] [stderr] Downloaded futf v0.1.5 [INFO] [stderr] Downloaded tendril v0.4.3 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded tokio v1.46.1 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded ripemd v0.1.3 [INFO] [stderr] Downloaded salsa20 v0.10.2 [INFO] [stderr] Downloaded xxhash-rust v0.8.15 [INFO] [stderr] Downloaded string_cache v0.8.9 [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded io-uring v0.7.8 [INFO] [stderr] Downloaded markup5ever v0.11.0 [INFO] [stderr] Downloaded phf v0.11.3 [INFO] [stderr] Downloaded cssparser v0.31.2 [INFO] [stderr] Downloaded phf_shared v0.10.0 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.6 [INFO] [stderr] Downloaded mac v0.1.1 [INFO] [stderr] Downloaded dtoa v1.0.10 [INFO] [stderr] Downloaded dtoa-short v0.3.5 [INFO] [stderr] Downloaded phf_generator v0.11.3 [INFO] [stderr] Downloaded siphasher v1.0.1 [INFO] [stderr] Downloaded phf v0.10.1 [INFO] [stderr] Downloaded phf_generator v0.10.0 [INFO] [stderr] Downloaded servo_arc v0.3.0 [INFO] [stderr] Downloaded redox_syscall v0.5.13 [INFO] [stderr] Downloaded compress v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01510c49feed60bfa8a5bf94164b9d004fad3f498b7cb6e0d864b3164b4d4b5d [INFO] running `Command { std: "docker" "start" "-a" "01510c49feed60bfa8a5bf94164b9d004fad3f498b7cb6e0d864b3164b4d4b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01510c49feed60bfa8a5bf94164b9d004fad3f498b7cb6e0d864b3164b4d4b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01510c49feed60bfa8a5bf94164b9d004fad3f498b7cb6e0d864b3164b4d4b5d", kill_on_drop: false }` [INFO] [stdout] 01510c49feed60bfa8a5bf94164b9d004fad3f498b7cb6e0d864b3164b4d4b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75239cb1a1efd9c159d1c5b9e1854f6e5d3c0705339847776995f318b1ac7db0 [INFO] running `Command { std: "docker" "start" "-a" "75239cb1a1efd9c159d1c5b9e1854f6e5d3c0705339847776995f318b1ac7db0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling minilzo-rs v0.6.1 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling rusqlite v0.30.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling compress v0.2.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling mdict-parser v0.1.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling scraper v0.18.1 [INFO] [stderr] Compiling dict v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/obunsha_dict.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 501 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 502 | // 保留片假名长音符号 [INFO] [stdout] 503 | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/obunsha_dict.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 527 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 528 | // 保留一些基本符号 [INFO] [stdout] 529 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/obunsha_dict.rs:529:41 [INFO] [stdout] | [INFO] [stdout] 527 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 528 | // 保留一些基本符号 [INFO] [stdout] 529 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/data_cleaner.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let target = line.strip_prefix("@@@LINK=").unwrap().trim().to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 130 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 131 | // 保留更多基本符号 [INFO] [stdout] 132 | '・' | '‧' | '·' | '-' | 'ー' | '〔' | '〕' | '(' | ')' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 130 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 131 | // 保留更多基本符号 [INFO] [stdout] 132 | '・' | '‧' | '·' | '-' | 'ー' | '〔' | '〕' | '(' | ')' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 213 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 214 | // 保留一些基本符号 [INFO] [stdout] 215 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:215:41 [INFO] [stdout] | [INFO] [stdout] 213 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 214 | // 保留一些基本符号 [INFO] [stdout] 215 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 248 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 249 | // 保留一些基本符号 [INFO] [stdout] 250 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 248 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 249 | // 保留一些基本符号 [INFO] [stdout] 250 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_database_structure` is never used [INFO] [stdout] --> src/main.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn test_database_structure() -> Result<(), Box> { [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 `insert_entry` is never used [INFO] [stdout] --> src/database.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn insert_entry(&self, entry: &DictionaryEntry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_entry` is never used [INFO] [stdout] --> src/obunsha_dict.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ObunshaDictDatabase { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn insert_entry(&self, entry: &ObunshaDictEntry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `boundary_reached` is never read [INFO] [stdout] --> src/data_cleaner.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataCleaner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | boundary_reached: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clean_kanji_text_for_title`, `clean_html_tags`, `is_kanji_redirect_start`, `is_boundary_reached`, and `extract_data_id` are never used [INFO] [stdout] --> src/data_cleaner.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl DataCleaner { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn clean_kanji_text_for_title(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn clean_html_tags(&self, html: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn is_kanji_redirect_start(&self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn is_boundary_reached(&self, current_line: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn extract_data_id(&self, line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResponse` is never constructed [INFO] [stdout] --> src/web_server.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryInfo` is never constructed [INFO] [stdout] --> src/web_server.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct QueryInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "75239cb1a1efd9c159d1c5b9e1854f6e5d3c0705339847776995f318b1ac7db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75239cb1a1efd9c159d1c5b9e1854f6e5d3c0705339847776995f318b1ac7db0", kill_on_drop: false }` [INFO] [stdout] 75239cb1a1efd9c159d1c5b9e1854f6e5d3c0705339847776995f318b1ac7db0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72c056227cec4656804d17ae374e60420c7b14a230b3a9ed699792e9f607f33b [INFO] running `Command { std: "docker" "start" "-a" "72c056227cec4656804d17ae374e60420c7b14a230b3a9ed699792e9f607f33b", kill_on_drop: false }` [INFO] [stderr] Compiling dict v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/obunsha_dict.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 501 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 502 | // 保留片假名长音符号 [INFO] [stdout] 503 | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/obunsha_dict.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 527 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 528 | // 保留一些基本符号 [INFO] [stdout] 529 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/obunsha_dict.rs:529:41 [INFO] [stdout] | [INFO] [stdout] 527 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 528 | // 保留一些基本符号 [INFO] [stdout] 529 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/data_cleaner.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let target = line.strip_prefix("@@@LINK=").unwrap().trim().to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 130 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 131 | // 保留更多基本符号 [INFO] [stdout] 132 | '・' | '‧' | '·' | '-' | 'ー' | '〔' | '〕' | '(' | ')' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 130 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 131 | // 保留更多基本符号 [INFO] [stdout] 132 | '・' | '‧' | '·' | '-' | 'ー' | '〔' | '〕' | '(' | ')' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 213 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 214 | // 保留一些基本符号 [INFO] [stdout] 215 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:215:41 [INFO] [stdout] | [INFO] [stdout] 213 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 214 | // 保留一些基本符号 [INFO] [stdout] 215 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 248 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 249 | // 保留一些基本符号 [INFO] [stdout] 250 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data_cleaner.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 248 | '\u{30a0}'..='\u{30ff}' => result.push(ch), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] 249 | // 保留一些基本符号 [INFO] [stdout] 250 | '・' | '‧' | '·' | '-' | 'ー' => result.push(ch), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_database_structure` is never used [INFO] [stdout] --> src/main.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn test_database_structure() -> Result<(), Box> { [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 `insert_entry` is never used [INFO] [stdout] --> src/obunsha_dict.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ObunshaDictDatabase { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn insert_entry(&self, entry: &ObunshaDictEntry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `boundary_reached` is never read [INFO] [stdout] --> src/data_cleaner.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataCleaner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | boundary_reached: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clean_kanji_text_for_title`, `clean_html_tags`, `is_kanji_redirect_start`, `is_boundary_reached`, and `extract_data_id` are never used [INFO] [stdout] --> src/data_cleaner.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl DataCleaner { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn clean_kanji_text_for_title(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn clean_html_tags(&self, html: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn is_kanji_redirect_start(&self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn is_boundary_reached(&self, current_line: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn extract_data_id(&self, line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResponse` is never constructed [INFO] [stdout] --> src/web_server.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryInfo` is never constructed [INFO] [stdout] --> src/web_server.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct QueryInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "72c056227cec4656804d17ae374e60420c7b14a230b3a9ed699792e9f607f33b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c056227cec4656804d17ae374e60420c7b14a230b3a9ed699792e9f607f33b", kill_on_drop: false }` [INFO] [stdout] 72c056227cec4656804d17ae374e60420c7b14a230b3a9ed699792e9f607f33b