[INFO] cloning repository https://github.com/TianLiangZhou/ffi-pinyin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TianLiangZhou/ffi-pinyin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTianLiangZhou%2Fffi-pinyin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTianLiangZhou%2Fffi-pinyin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f50a03689e00b42e72709d04f63494deca89cfd [INFO] testing TianLiangZhou/ffi-pinyin against master#2fe50cd72c476ebacdedb14893e9632b4de961c2 for pr-116088-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTianLiangZhou%2Fffi-pinyin" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TianLiangZhou/ffi-pinyin on toolchain 2fe50cd72c476ebacdedb14893e9632b4de961c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TianLiangZhou/ffi-pinyin [INFO] finished tweaking git repo https://github.com/TianLiangZhou/ffi-pinyin [INFO] tweaked toml for git repo https://github.com/TianLiangZhou/ffi-pinyin written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TianLiangZhou/ffi-pinyin 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" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "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 clap_lex v0.2.4 [INFO] [stderr] Downloaded hermit-abi v0.3.1 [INFO] [stderr] Downloaded ryu v1.0.13 [INFO] [stderr] Downloaded windows-targets v0.48.0 [INFO] [stderr] Downloaded itoa v1.0.6 [INFO] [stderr] Downloaded cbindgen v0.24.5 [INFO] [stderr] Downloaded io-lifetimes v1.0.11 [INFO] [stderr] Downloaded textwrap v0.16.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] [stderr] Downloaded syn v2.0.18 [INFO] [stderr] Downloaded rustix v0.37.20 [INFO] [stderr] Downloaded libc v0.2.146 [INFO] [stderr] Downloaded pinyin v0.10.0 [INFO] [stderr] Downloaded linux-raw-sys v0.3.8 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded unicode-ident v1.0.9 [INFO] [stderr] Downloaded toml v0.5.11 [INFO] [stderr] Downloaded fastrand v1.9.0 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded tempfile v3.6.0 [INFO] [stderr] Downloaded quote v1.0.28 [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded serde_json v1.0.97 [INFO] [stderr] Downloaded os_str_bytes v6.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d31ec75dbc0dff0c546b7affbc7c169ac76e9e1c77352e529dd5472d45881044 [INFO] running `Command { std: "docker" "start" "-a" "d31ec75dbc0dff0c546b7affbc7c169ac76e9e1c77352e529dd5472d45881044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d31ec75dbc0dff0c546b7affbc7c169ac76e9e1c77352e529dd5472d45881044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d31ec75dbc0dff0c546b7affbc7c169ac76e9e1c77352e529dd5472d45881044", kill_on_drop: false }` [INFO] [stdout] d31ec75dbc0dff0c546b7affbc7c169ac76e9e1c77352e529dd5472d45881044 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 260bfb390e00c1457ab382da74b4f44ffc78add7688f6153e1fbeb4dcc3bb179 [INFO] running `Command { std: "docker" "start" "-a" "260bfb390e00c1457ab382da74b4f44ffc78add7688f6153e1fbeb4dcc3bb179", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling cbindgen v0.24.5 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pinyin v0.10.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ffi_pinyin v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.98s [INFO] running `Command { std: "docker" "inspect" "260bfb390e00c1457ab382da74b4f44ffc78add7688f6153e1fbeb4dcc3bb179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260bfb390e00c1457ab382da74b4f44ffc78add7688f6153e1fbeb4dcc3bb179", kill_on_drop: false }` [INFO] [stdout] 260bfb390e00c1457ab382da74b4f44ffc78add7688f6153e1fbeb4dcc3bb179 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ace4f9ab74353ab5f1591f1ecea193128faa6f2e21412861eafd9642daf9c10 [INFO] running `Command { std: "docker" "start" "-a" "9ace4f9ab74353ab5f1591f1ecea193128faa6f2e21412861eafd9642daf9c10", kill_on_drop: false }` [INFO] [stderr] Compiling ffi_pinyin v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `match_mode` [INFO] [stdout] --> src/lib.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | use crate::{match_mode, to_convert, to_convert_array, to_convert_multi, Mode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinyin::ToPinyin` [INFO] [stdout] --> src/lib.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | use pinyin::ToPinyin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_char` [INFO] [stdout] --> src/lib.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | use std::os::raw::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "9ace4f9ab74353ab5f1591f1ecea193128faa6f2e21412861eafd9642daf9c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ace4f9ab74353ab5f1591f1ecea193128faa6f2e21412861eafd9642daf9c10", kill_on_drop: false }` [INFO] [stdout] 9ace4f9ab74353ab5f1591f1ecea193128faa6f2e21412861eafd9642daf9c10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c678b23b6227b4ea19b4d5ea857a4ad99950a79128e9cdbfb632098b702787c [INFO] running `Command { std: "docker" "start" "-a" "1c678b23b6227b4ea19b4d5ea857a4ad99950a79128e9cdbfb632098b702787c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `match_mode` [INFO] [stderr] --> src/lib.rs:338:17 [INFO] [stderr] | [INFO] [stderr] 338 | use crate::{match_mode, to_convert, to_convert_array, to_convert_multi, Mode}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `pinyin::ToPinyin` [INFO] [stderr] --> src/lib.rs:339:9 [INFO] [stderr] | [INFO] [stderr] 339 | use pinyin::ToPinyin; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::raw::c_char` [INFO] [stderr] --> src/lib.rs:341:9 [INFO] [stderr] | [INFO] [stderr] 341 | use std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ffi_pinyin` (lib test) generated 3 warnings (run `cargo fix --lib -p ffi_pinyin --tests` to apply 3 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ffi_pinyin-8595408f35a67491) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::it_works stdout ---- [INFO] [stdout] slug: slug-biao-ti-lei-xing-ce-shi-test-test-tong-guo [INFO] [stdout] plain: ce-shi-zhong-wen-han-zi-zhuan-pin-yin-。😊,rust yyds-jia-shang-bu-neng-shi-bie-de-jie-wei-。。。 [INFO] [stdout] plain: cè-shì-zhōng:zhòng-wén-hàn-zì-zhuǎn:zhuàn:zhuǎi-pīn:bìng-yīn-jiā-shàng:shǎng-bù:fǒu:fōu:fū:bú-néng:tái:nái:nài:xióng-shí:shì:zhì-bié:biè-de:dī:dí:dì-jié:jiē-wěi:yǐ [INFO] [stdout] char : zui4:cuo1 [INFO] [stdout] char : kuai4 [INFO] [stdout] char : de:di1:di2:di4 [INFO] [stdout] thread 'tests::it_works' panicked at src/lib.rs:362:60: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Utf8Error { valid_up_to: 3, error_len: Some(1) } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5562cf007456 - std::backtrace_rs::backtrace::libunwind::trace::hd7a456af414d63de [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x5562cf007456 - std::backtrace_rs::backtrace::trace_unsynchronized::h64867240ea973bd5 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5562cf007456 - std::sys_common::backtrace::_print_fmt::h2808b222ea4d26d0 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x5562cf007456 - ::fmt::h03f74bc036e21c80 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x5562cf0303a0 - core::fmt::rt::Argument::fmt::h8121cad32ccb67f1 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x5562cf0303a0 - core::fmt::write::hba6738a49cae548f [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x5562cf004fef - std::io::Write::write_fmt::h998dc49ddc9bbda8 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/io/mod.rs:1810:15 [INFO] [stdout] 7: 0x5562cf007234 - std::sys_common::backtrace::_print::h12e2732351687df5 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x5562cf007234 - std::sys_common::backtrace::print::h3977ff4fa70d37c3 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x5562cf008fa7 - std::panicking::default_hook::{{closure}}::h3649b42de801f190 [INFO] [stdout] 10: 0x5562cf008c8d - std::panicking::default_hook::h3fb7ccab350417f5 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x5562cefd5197 - as core::ops::function::Fn>::call::hcac2ee49c7d5205e [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 12: 0x5562cefd5197 - test::test_main::{{closure}}::ha6dc19c93a11f2d1 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x5562cf0095c6 - as core::ops::function::Fn>::call::h29b8e785b856bb23 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 14: 0x5562cf0095c6 - std::panicking::rust_panic_with_hook::h5efc89ef996de810 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x5562cf009312 - std::panicking::begin_panic_handler::{{closure}}::h6289f51ae1ae9efc [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:657:13 [INFO] [stdout] 16: 0x5562cf007956 - std::sys_common::backtrace::__rust_end_short_backtrace::h9f143e0a9d826e65 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x5562cf009070 - rust_begin_unwind [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x5562cef93cd5 - core::panicking::panic_fmt::h5b9d04f36fd68862 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x5562cef94183 - core::result::unwrap_failed::h51ff08a68f0aec4a [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/result.rs:1649:5 [INFO] [stdout] 20: 0x5562cef9e8c1 - core::result::Result::unwrap::hef596a703902620c [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/result.rs:1073:23 [INFO] [stdout] 21: 0x5562cef9a965 - ffi_pinyin::tests::it_works::he3cbc7f9bd4a300b [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:362:17 [INFO] [stdout] 22: 0x5562cef9a407 - ffi_pinyin::tests::it_works::{{closure}}::ha4d661dd82bce7d6 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:344:18 [INFO] [stdout] 23: 0x5562cef94bb6 - core::ops::function::FnOnce::call_once::h786dcb4019e2ad2e [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5562cefda99f - core::ops::function::FnOnce::call_once::h547df4cc4781c42c [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5562cefda99f - test::__rust_begin_short_backtrace::h0751f8da0df8afc9 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:627:18 [INFO] [stdout] 26: 0x5562cefd97f1 - test::run_test_in_process::{{closure}}::h08b7e2b944f5d3bf [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:650:60 [INFO] [stdout] 27: 0x5562cefd97f1 - as core::ops::function::FnOnce<()>>::call_once::h4eabe934da23f6d3 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5562cefd97f1 - std::panicking::try::do_call::h8bce2a819a83d75f [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:552:40 [INFO] [stdout] 29: 0x5562cefd97f1 - std::panicking::try::h8d0ad43ca1e9dfe4 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:516:19 [INFO] [stdout] 30: 0x5562cefd97f1 - std::panic::catch_unwind::h80c407981483a27f [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x5562cefd97f1 - test::run_test_in_process::h34f4f1cf26878dcc [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:650:27 [INFO] [stdout] 32: 0x5562cefd97f1 - test::run_test::{{closure}}::hf98423759bd4e4de [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:573:43 [INFO] [stdout] 33: 0x5562cefa0b86 - test::run_test::{{closure}}::h31f9214a9865a468 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/test/src/lib.rs:601:41 [INFO] [stdout] 34: 0x5562cefa0b86 - std::sys_common::backtrace::__rust_begin_short_backtrace::h97eebf57e64e4a3e [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x5562cefa5c87 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h10343cc6e645d5a7 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x5562cefa5c87 - as core::ops::function::FnOnce<()>>::call_once::h7676f5746d51f304 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5562cefa5c87 - std::panicking::try::do_call::h76c69ddb47b6692d [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:552:40 [INFO] [stdout] 38: 0x5562cefa5c87 - std::panicking::try::h231004126786543e [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panicking.rs:516:19 [INFO] [stdout] 39: 0x5562cefa5c87 - std::panic::catch_unwind::h519133dc1360745e [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x5562cefa5c87 - std::thread::Builder::spawn_unchecked_::{{closure}}::h7c96b1538d88533f [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x5562cefa5c87 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90e3a916fbad66da [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5562cf00e075 - as core::ops::function::FnOnce>::call_once::h12c26c313019b755 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 43: 0x5562cf00e075 - as core::ops::function::FnOnce>::call_once::h3a7c22937eaa10d1 [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 44: 0x5562cf00e075 - std::sys::unix::thread::Thread::new::thread_start::h1ce303acc71f2e7d [INFO] [stdout] at /rustc/2fe50cd72c476ebacdedb14893e9632b4de961c2/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7ff05cebfac3 - [INFO] [stdout] 46: 0x7ff05cf50bf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::it_works [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1c678b23b6227b4ea19b4d5ea857a4ad99950a79128e9cdbfb632098b702787c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c678b23b6227b4ea19b4d5ea857a4ad99950a79128e9cdbfb632098b702787c", kill_on_drop: false }` [INFO] [stdout] 1c678b23b6227b4ea19b4d5ea857a4ad99950a79128e9cdbfb632098b702787c [INFO] testing TianLiangZhou/ffi-pinyin against try#9c1665de5d324fe858dc15371578d6f928bfc123 for pr-116088-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTianLiangZhou%2Fffi-pinyin" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TianLiangZhou/ffi-pinyin on toolchain 9c1665de5d324fe858dc15371578d6f928bfc123 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TianLiangZhou/ffi-pinyin [INFO] finished tweaking git repo https://github.com/TianLiangZhou/ffi-pinyin [INFO] tweaked toml for git repo https://github.com/TianLiangZhou/ffi-pinyin written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TianLiangZhou/ffi-pinyin 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" "+9c1665de5d324fe858dc15371578d6f928bfc123" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cbadce324c0e4191874a18f9f4db14b4b3decc272ba7ee294fa23e7de86802c [INFO] running `Command { std: "docker" "start" "-a" "3cbadce324c0e4191874a18f9f4db14b4b3decc272ba7ee294fa23e7de86802c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cbadce324c0e4191874a18f9f4db14b4b3decc272ba7ee294fa23e7de86802c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cbadce324c0e4191874a18f9f4db14b4b3decc272ba7ee294fa23e7de86802c", kill_on_drop: false }` [INFO] [stdout] 3cbadce324c0e4191874a18f9f4db14b4b3decc272ba7ee294fa23e7de86802c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dfc6081858532c99c3cfe861e29f02c2b45a1f5691b3a912f10f8247486f922 [INFO] running `Command { std: "docker" "start" "-a" "1dfc6081858532c99c3cfe861e29f02c2b45a1f5691b3a912f10f8247486f922", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling cbindgen v0.24.5 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pinyin v0.10.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ffi_pinyin v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.33s [INFO] running `Command { std: "docker" "inspect" "1dfc6081858532c99c3cfe861e29f02c2b45a1f5691b3a912f10f8247486f922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dfc6081858532c99c3cfe861e29f02c2b45a1f5691b3a912f10f8247486f922", kill_on_drop: false }` [INFO] [stdout] 1dfc6081858532c99c3cfe861e29f02c2b45a1f5691b3a912f10f8247486f922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91c54240b22e34b666c3eae03698c817eb61eb3a80bf88b59b3ffba7509c0465 [INFO] running `Command { std: "docker" "start" "-a" "91c54240b22e34b666c3eae03698c817eb61eb3a80bf88b59b3ffba7509c0465", kill_on_drop: false }` [INFO] [stderr] Compiling ffi_pinyin v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `match_mode` [INFO] [stdout] --> src/lib.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | use crate::{match_mode, to_convert, to_convert_array, to_convert_multi, Mode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinyin::ToPinyin` [INFO] [stdout] --> src/lib.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | use pinyin::ToPinyin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_char` [INFO] [stdout] --> src/lib.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | use std::os::raw::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "91c54240b22e34b666c3eae03698c817eb61eb3a80bf88b59b3ffba7509c0465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c54240b22e34b666c3eae03698c817eb61eb3a80bf88b59b3ffba7509c0465", kill_on_drop: false }` [INFO] [stdout] 91c54240b22e34b666c3eae03698c817eb61eb3a80bf88b59b3ffba7509c0465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7fe385b63d2d5359bb70cc9d5746e3bcfee81699f7583cebef667cd4c7692ea7 [INFO] running `Command { std: "docker" "start" "-a" "7fe385b63d2d5359bb70cc9d5746e3bcfee81699f7583cebef667cd4c7692ea7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `match_mode` [INFO] [stderr] --> src/lib.rs:338:17 [INFO] [stderr] | [INFO] [stderr] 338 | use crate::{match_mode, to_convert, to_convert_array, to_convert_multi, Mode}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `pinyin::ToPinyin` [INFO] [stderr] --> src/lib.rs:339:9 [INFO] [stderr] | [INFO] [stderr] 339 | use pinyin::ToPinyin; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::raw::c_char` [INFO] [stderr] --> src/lib.rs:341:9 [INFO] [stderr] | [INFO] [stderr] 341 | use std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ffi_pinyin` (lib test) generated 3 warnings (run `cargo fix --lib -p ffi_pinyin --tests` to apply 3 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ffi_pinyin-8595408f35a67491) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7fe385b63d2d5359bb70cc9d5746e3bcfee81699f7583cebef667cd4c7692ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe385b63d2d5359bb70cc9d5746e3bcfee81699f7583cebef667cd4c7692ea7", kill_on_drop: false }` [INFO] [stdout] 7fe385b63d2d5359bb70cc9d5746e3bcfee81699f7583cebef667cd4c7692ea7