[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#d3515155216e98c23440ea92c3f49c6a0d7101fc for pr-113843 [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 d3515155216e98c23440ea92c3f49c6a0d7101fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "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" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d871616dd68ac0dccf77d38e1f523c6a3eadeb3bab04a4fb31e3e7689003104 [INFO] running `Command { std: "docker" "start" "-a" "1d871616dd68ac0dccf77d38e1f523c6a3eadeb3bab04a4fb31e3e7689003104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d871616dd68ac0dccf77d38e1f523c6a3eadeb3bab04a4fb31e3e7689003104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d871616dd68ac0dccf77d38e1f523c6a3eadeb3bab04a4fb31e3e7689003104", kill_on_drop: false }` [INFO] [stdout] 1d871616dd68ac0dccf77d38e1f523c6a3eadeb3bab04a4fb31e3e7689003104 [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 442c9c904ca07c6c3485b45110da1f8b906bca7f2e021a79cb447680150afe98 [INFO] running `Command { std: "docker" "start" "-a" "442c9c904ca07c6c3485b45110da1f8b906bca7f2e021a79cb447680150afe98", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [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 linux-raw-sys v0.3.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling cbindgen v0.24.5 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling log v0.4.19 [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 16.28s [INFO] running `Command { std: "docker" "inspect" "442c9c904ca07c6c3485b45110da1f8b906bca7f2e021a79cb447680150afe98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "442c9c904ca07c6c3485b45110da1f8b906bca7f2e021a79cb447680150afe98", kill_on_drop: false }` [INFO] [stdout] 442c9c904ca07c6c3485b45110da1f8b906bca7f2e021a79cb447680150afe98 [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42addae4ad1f6506acc2ce58c5258d12067f3e3dbdc0a46e0dfbf972df2d74fe [INFO] running `Command { std: "docker" "start" "-a" "42addae4ad1f6506acc2ce58c5258d12067f3e3dbdc0a46e0dfbf972df2d74fe", 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.70s [INFO] running `Command { std: "docker" "inspect" "42addae4ad1f6506acc2ce58c5258d12067f3e3dbdc0a46e0dfbf972df2d74fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42addae4ad1f6506acc2ce58c5258d12067f3e3dbdc0a46e0dfbf972df2d74fe", kill_on_drop: false }` [INFO] [stdout] 42addae4ad1f6506acc2ce58c5258d12067f3e3dbdc0a46e0dfbf972df2d74fe [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3004b6bdcdc5621017c575579924ba22e62d409a70108129e1ba2bda7f0bbe6e [INFO] running `Command { std: "docker" "start" "-a" "3004b6bdcdc5621017c575579924ba22e62d409a70108129e1ba2bda7f0bbe6e", 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ffi_pinyin-86cbe7e9fba1cea6) [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" "3004b6bdcdc5621017c575579924ba22e62d409a70108129e1ba2bda7f0bbe6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3004b6bdcdc5621017c575579924ba22e62d409a70108129e1ba2bda7f0bbe6e", kill_on_drop: false }` [INFO] [stdout] 3004b6bdcdc5621017c575579924ba22e62d409a70108129e1ba2bda7f0bbe6e