[INFO] cloning repository https://github.com/zhnxin/text4kindlegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhnxin/text4kindlegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhnxin%2Ftext4kindlegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhnxin%2Ftext4kindlegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 912b107064e63c241bf0be67150b32c7a5ea2956 [INFO] testing zhnxin/text4kindlegen against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhnxin%2Ftext4kindlegen" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zhnxin/text4kindlegen [INFO] finished tweaking git repo https://github.com/zhnxin/text4kindlegen [INFO] tweaked toml for git repo https://github.com/zhnxin/text4kindlegen written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zhnxin/text4kindlegen on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zhnxin/text4kindlegen 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 582e070d12b39c89fe6b0db0f5fe356f3ce019c0d48398ddc356168068861e66 [INFO] running `Command { std: "docker" "start" "-a" "582e070d12b39c89fe6b0db0f5fe356f3ce019c0d48398ddc356168068861e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "582e070d12b39c89fe6b0db0f5fe356f3ce019c0d48398ddc356168068861e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582e070d12b39c89fe6b0db0f5fe356f3ce019c0d48398ddc356168068861e66", kill_on_drop: false }` [INFO] [stdout] 582e070d12b39c89fe6b0db0f5fe356f3ce019c0d48398ddc356168068861e66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab1980f7596f30f3b1347c7c208c5fbdc3f24a8a89ab355c7b35742de86c5dac [INFO] running `Command { std: "docker" "start" "-a" "ab1980f7596f30f3b1347c7c208c5fbdc3f24a8a89ab355c7b35742de86c5dac", kill_on_drop: false }` [INFO] [stderr] Compiling cpufeatures v0.2.3 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling ucd-trie v0.1.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling html-escape v0.2.11 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling rust-embed-utils v7.2.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling clap v3.2.17 [INFO] [stderr] Compiling encodingbufreader v0.1.1 [INFO] [stderr] Compiling time v0.3.13 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling pest v2.2.1 [INFO] [stderr] Compiling rust-embed v6.4.0 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling pest_meta v2.2.1 [INFO] [stderr] Compiling pest_generator v2.2.1 [INFO] [stderr] Compiling pest_derive v2.2.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling handlebars v4.3.3 [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.2 [INFO] [stderr] Compiling txt2ebook v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `set_id` is never used [INFO] [stdout] --> src/chapter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ChapterMeta{ [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn set_id(&mut self,id:usize){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear` and `get_is_sub_cha` are never used [INFO] [stdout] --> src/chapter.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl ChapterContent { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_is_sub_cha(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.07s [INFO] running `Command { std: "docker" "inspect" "ab1980f7596f30f3b1347c7c208c5fbdc3f24a8a89ab355c7b35742de86c5dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab1980f7596f30f3b1347c7c208c5fbdc3f24a8a89ab355c7b35742de86c5dac", kill_on_drop: false }` [INFO] [stdout] ab1980f7596f30f3b1347c7c208c5fbdc3f24a8a89ab355c7b35742de86c5dac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e451f4b42a72b6f8178496fa71930004a413d602364cd0d4854ba18f3d1832c [INFO] running `Command { std: "docker" "start" "-a" "4e451f4b42a72b6f8178496fa71930004a413d602364cd0d4854ba18f3d1832c", kill_on_drop: false }` [INFO] [stdout] warning: method `set_id` is never used [INFO] [stdout] --> src/chapter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ChapterMeta{ [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn set_id(&mut self,id:usize){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear` and `get_is_sub_cha` are never used [INFO] [stdout] --> src/chapter.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl ChapterContent { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_is_sub_cha(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling txt2ebook v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `set_id` is never used [INFO] [stdout] --> src/chapter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ChapterMeta{ [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn set_id(&mut self,id:usize){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear` and `get_is_sub_cha` are never used [INFO] [stdout] --> src/chapter.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl ChapterContent { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_is_sub_cha(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "4e451f4b42a72b6f8178496fa71930004a413d602364cd0d4854ba18f3d1832c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e451f4b42a72b6f8178496fa71930004a413d602364cd0d4854ba18f3d1832c", kill_on_drop: false }` [INFO] [stdout] 4e451f4b42a72b6f8178496fa71930004a413d602364cd0d4854ba18f3d1832c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 157a7fad4abd8378ae693e7523b51df6e47101cfd61fb641e531f9cf245b845c [INFO] running `Command { std: "docker" "start" "-a" "157a7fad4abd8378ae693e7523b51df6e47101cfd61fb641e531f9cf245b845c", kill_on_drop: false }` [INFO] [stderr] warning: method `set_id` is never used [INFO] [stderr] --> src/chapter.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl ChapterMeta{ [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn set_id(&mut self,id:usize){ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `clear` and `get_is_sub_cha` are never used [INFO] [stderr] --> src/chapter.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 67 | impl ChapterContent { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn get_is_sub_cha(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `txt2ebook` (lib) generated 2 warnings [INFO] [stderr] warning: `txt2ebook` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/txt2ebook-919c726ab02f0339) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/txt2ebook-da7555ae9e682cef) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests txt2ebook [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "157a7fad4abd8378ae693e7523b51df6e47101cfd61fb641e531f9cf245b845c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "157a7fad4abd8378ae693e7523b51df6e47101cfd61fb641e531f9cf245b845c", kill_on_drop: false }` [INFO] [stdout] 157a7fad4abd8378ae693e7523b51df6e47101cfd61fb641e531f9cf245b845c